Commit Graph
90 Commits
Author SHA1 Message Date
Adam Cooke 308372d3fd update nginx config as it will need to know the IPs it can listen on to avoid conflict with the fast server 2017-05-05 11:54:39 +01:00
Adam Cooke d4fd6b9925 By default, we will now listen directly on various ports [breaking]
This allows us to avoid messing around with changes to iptables and generally makes installation easier for everyone.

If you have an instance of postal before this, you will need to do a couple of things to ensure your installation continues to work.

1. You will need to specify a `fast_server.bind_address` in your postal.yml configuration file. This is the IP that you dedicated to the fast server.
2. You will need to allow Ruby to listen on privileged ports (sudo setcap 'cap_net_bind_service=+ep' /usr/bin/ruby2.3).
3. You will need to remove any iptables rules that you may have added previously to accomodate the older way of doing this.
2017-05-05 11:45:27 +01:00
Adam Cooke f9b6485f22 a little extra thing for iptables 2017-05-05 11:27:33 +01:00
Adam Cooke fa95a3a713 well obviously nginx can only happen after the app has been cloned 2017-05-05 11:24:12 +01:00
Adam Cooke bc65feff46 some tidying on ubuntu1604.sh 2017-05-05 11:18:16 +01:00
Adam Cooke 5d0b8eb16d add some docs to ubuntu install script 2017-05-05 11:15:10 +01:00
Adam Cooke 2a606320be add a script to install postal on ubuntu 16.04 2017-05-05 11:05:19 +01:00
Adam Cooke 608b73afd4 add an example password to postal.example.yml 2017-05-05 10:49:44 +01:00
Adam Cooke 010e8c0e58 add a default certificate for the fast server 2017-05-05 09:57:39 +01:00
Adam Cooke 913190bce4 rename AM_CONFIG_ROOT to POSTAL_CONFIG_ROOT 2017-05-05 09:50:49 +01:00
Adam Cooke a3fe4a548d add sender to the param list for the send/message API method 2017-05-04 13:10:00 +01:00
Adam Cooke 3e281b576e global domains aren't supported any longer 2017-05-04 13:04:48 +01:00
Adam Cooke 22e0dd27ae attempt to renew track certificates more frequently for a better experience 2017-05-04 12:38:06 +01:00
Adam Cooke 3ba0a72779 log errors from cert verification 2017-05-04 12:37:16 +01:00
Adam Cooke e7b88842ca logging on certificate verification & issuance
closes #94
2017-05-04 11:18:44 +01:00
Adam Cooke 7ca4e74bbe initial logging for LE registration
part of #94
2017-05-04 11:12:28 +01:00
Adam Cooke 49faf73e66 fixes bug on credentials list 2017-05-02 13:44:32 +01:00
Adam Cooke f6784238d3 a sad sad day in postal-land, no more puns. 2017-05-02 13:33:17 +01:00
Adam Cooke 73cca62b93 verify the initial user 2017-05-02 08:10:57 +01:00
Adam Cooke 6af6e58d88 remove wildcard validation on routes
closes #57
2017-04-30 19:26:10 +01:00
Adam Cooke 2be702fac3 make sure resolv is required before it is used everywhere
closes #67
2017-04-30 19:25:03 +01:00
Adam Cooke f779e45f45 move espect into Postal::MessageInspection 2017-04-29 12:38:40 +01:00
Adam Cooke 45fd472f76 configurable maximum delivery attempts
closes #59
2017-04-29 11:56:25 +01:00
Adam Cooke 3333a7baf3 add script for testing app SMTP connections 2017-04-28 17:09:39 +01:00
Adam Cooke 6fc82b2049 remove the initial seeds 2017-04-28 17:01:37 +01:00
Adam Cooke a1aa173c51 add script to create an initial admin user 2017-04-28 17:01:11 +01:00
Adam Cooke cc04a57cf7 upgrade moonrope 2017-04-28 16:50:33 +01:00
Adam Cooke ff4687c2f7 update favicon
closes #47
2017-04-28 16:46:42 +01:00
Adam Cooke 759c68a43d remove some image assets that aren't used 2017-04-28 16:46:40 +01:00
Adam Cooke 698b580db4 remove types from ip pools
closes #24
2017-04-28 16:40:53 +01:00
Adam Cooke 88974cee85 use standard config style for accessing relay properties 2017-04-28 16:27:51 +01:00
Adam Cooke 1adedc6343 support for smtp relay hosts 2017-04-28 16:26:59 +01:00
Adam Cooke 695bdf90f9 improvements to ip monitoring on worker 2017-04-28 16:09:39 +01:00
Adam Cooke 6d27787a2e don't bother looking up local IPs 2017-04-28 15:53:24 +01:00
Adam Cooke 1be135a5d9 fixes issue with ip addresses that don't have an ipv6 pair 2017-04-28 15:50:26 +01:00
Adam Cooke 0a25fe986d fixes header when server has no IP pools but ip pools are enabled 2017-04-28 15:40:48 +01:00
Adam Cooke 8d235fd569 remove unused helpers.coffee
fixes #46
2017-04-28 15:30:02 +01:00
Adam Cooke 488dffd04b don't generate self signed smtp certificates 2017-04-28 15:17:06 +01:00
Adam Cooke caacaa7f92 disable SMTP TLS by default and add custom paths for SMTP key/cert
TLS can be enabled by setting 'smtp_server.tls_enabled' to true.
2017-04-28 15:12:56 +01:00
Adam Cooke 1b58cb853b remove a stray new line 2017-04-27 22:16:42 +01:00
Adam Cooke dde2669110 keep using github wiki for now 2017-04-27 19:18:03 +01:00
Adam Cooke 396f0a3966 update readme 2017-04-27 19:14:42 +01:00
Adam Cooke 709e82c06e rename MyOps to Postal in auto upgrade
fixes #29
2017-04-27 18:05:03 +01:00
Adam Cooke 6af7f332bf hide IP rules & IPs when ip pools aren't available 2017-04-27 10:36:30 +01:00
Adam Cooke 3ed9438a00 fixes issue with creating new organizations when there are no ip pools 2017-04-27 10:34:22 +01:00
Adam Cooke 10794f8573 upgrade moonrope 2017-04-27 10:34:21 +01:00
Adam Cooke 4de6dc20e6 don't use localhost as the HELO on outgoing SMTP connections
It can be configured using `dns.helo_hostname` or will be set to `dns.smtp_server_hostname`

Related to #19
2017-04-27 09:49:53 +01:00
Adam Cooke 2ad3eb92aa generate a 1024-bit key for the default DKIM signing key 2017-04-27 09:46:11 +01:00
Adam Cooke 61da4bf48c hide away IP pool things in the UI if not enabled 2017-04-27 09:41:21 +01:00
Adam Cooke 1f64c61105 add a defaults file containing all defaults for configuration options and tidy initial config 2017-04-27 09:35:57 +01:00
Adam Cooke c36b3f6f51 dhparam in default nginx can be optional for now 2017-04-26 23:22:18 +01:00
Adam Cooke 9b794f1b14 enable the public file server for static assets 2017-04-26 23:05:51 +01:00
Adam Cooke d98130123f add auto-upgrade to help text 2017-04-26 21:08:13 +01:00
Adam Cooke f7e83dfa6b add a quick script to handle auto upgrading 2017-04-26 21:07:36 +01:00
Adam Cooke 0f10481da0 ensure that we only try to log exceptions when raven is available 2017-04-26 20:54:50 +01:00
Adam Cooke 3d45a5d4f1 allow fast server to be disabled by removing it from the config file 2017-04-26 20:52:04 +01:00
Adam Cooke ff645a6677 add script to set process concurrency on start/restart/run from config 2017-04-26 20:48:04 +01:00
Adam Cooke 8da33ba58e ensure all logging goes to STDOUT when using postal run 2017-04-26 20:36:17 +01:00
Adam Cooke 2af46dbb6e improve defaults in the example config 2017-04-26 20:28:11 +01:00
Adam Cooke 945e7c2a06 add slash to vhost 2017-04-26 19:53:10 +01:00
Adam Cooke b171f0b5ea add example nginx config 2017-04-26 14:37:39 +01:00
Adam Cooke 0c5a32b6b5 update initial password to something a little less insane 2017-04-26 14:18:09 +01:00
Adam Cooke c7806cf376 create the config directory if it is missing 2017-04-26 14:13:06 +01:00
Adam Cooke 8c4fa7e169 add script to register let's encrypt keys and other useful bin/postal commands 2017-04-26 14:08:11 +01:00
Adam Cooke 2a029f94e5 add scirpt to return the default dkim record 2017-04-26 13:11:41 +01:00
Adam Cooke 4f8878d734 update README to include link to wiki 2017-04-26 13:02:12 +01:00
Adam Cooke 4386be237c add the other smtp options to the example config file 2017-04-26 13:00:12 +01:00
Adam Cooke a06e9b27cd can't shift those any more, config returns a frozen array 2017-04-26 12:51:53 +01:00
Adam Cooke 50609a77cc update references to old certificates on smtp & fast server 2017-04-26 12:44:01 +01:00
Adam Cooke d35d382cbd ignore assets & bunlded assets 2017-04-26 12:39:24 +01:00
Adam Cooke 33f7e912c7 allow the SMTP port to be configurable for outgoing email from the app itself 2017-04-26 12:30:37 +01:00
Adam Cooke b27e5ed1f5 escape usernames & passwords when setting the DATABASE_URL 2017-04-26 11:41:05 +01:00
Adam Cooke 78c9b0f4dc get the source configuration from the app rather than the config root 2017-04-26 11:29:22 +01:00
Adam Cooke 5115223728 add the licence 2017-04-26 11:05:36 +01:00
Adam Cooke 6f8b431ab5 upgrade authie to 3.0 2017-04-21 20:55:05 +01:00
Adam Cooke 2f0155747c allow the IP pool to be set when adding/editing a server 2017-04-21 11:29:27 +01:00
Adam Cooke 2def9c0fb9 UI for admins to assign ip pools to servers 2017-04-21 11:26:19 +01:00
Adam Cooke 79f7707d09 ip pools nav link 2017-04-21 11:11:06 +01:00
Adam Cooke c09c501ef4 admin UI for managing ip pools & ip addresses 2017-04-21 11:09:31 +01:00
Adam Cooke 6eb425eaed move org ip rules into their own controller 2017-04-21 10:32:22 +01:00
Adam Cooke ec73bffce0 admins don't need to verify domain ownership 2017-04-21 10:23:14 +01:00
Adam Cooke b4744da8c1 the default admin should be an admin 2017-04-21 10:18:50 +01:00
Adam Cooke 46daca9aa7 only allow organizations to be managed by admins 2017-04-21 10:18:24 +01:00
Adam Cooke 90b90577cf add version script 2017-04-21 09:59:54 +01:00
Adam Cooke e6528663c6 when a new user is added with a verified timestamp, don't just clear it 2017-04-21 09:58:06 +01:00
Adam Cooke 7e598d350d add bin file for running postal actions 2017-04-21 09:55:38 +01:00
Adam Cooke ed04f795c2 add screenshot 2017-04-19 14:30:34 +01:00
Adam Cooke a8ecb502fa improve config file generation 2017-04-19 14:30:00 +01:00
Adam Cooke 2fdba0ceb5 initial commit from appmail 2017-04-19 13:07:25 +01:00
Adam Cooke a3eff53792 initial 2017-04-19 13:07:22 +01:00