Adam Cooke
bf35d207d6
fixes build script
2017-05-18 10:58:51 +01:00
Adam Cooke
df72f5e2b9
upgrade nokogiri
2017-05-18 10:46:25 +01:00
Adam Cooke
734c8781c3
add a script to build & upload postal packages
2017-05-17 19:30:33 +01:00
Adam Cooke
fde35add28
update version to include revision & channel
2017-05-17 19:25:48 +01:00
Adam Cooke
cb0e3a4f4e
support for a null send limit for unlimited
...
part of #144
2017-05-16 15:52:43 +01:00
Adam Cooke
8b7bcd9a6a
remove some nbsp
2017-05-16 15:35:13 +01:00
Adam Cooke
36db40cfe7
fixes issue with query string parsing when a z exists
...
closes #127
2017-05-16 15:25:35 +01:00
Adam Cooke
4106ac6c7e
fixes bug with receiving messages to the return path
...
treats all messages sent to the return path and any domain with the return path prefix the same
2017-05-16 14:49:56 +01:00
Adam Cooke
9a76538f11
remove IP pool rules when deleting an IP pool
2017-05-15 10:43:44 +01:00
Adam Cooke
d33994ce0f
fixes bug with IP rules list
...
closes #136
2017-05-12 17:06:35 +01:00
Adam Cooke
5e13d7d052
hold incoming messages when in development mode
...
(not very dry but this unqueueing logic could do with some tidying)
2017-05-12 15:07:56 +01:00
Adam Cooke
9bea99e633
verify new users straight away
...
users who signup will have received a link to do so which means their address is already verified
2017-05-12 14:47:16 +01:00
Adam Cooke
e9b03987fe
only allow users with an invite to create accounts
2017-05-12 14:45:42 +01:00
Adam Cooke
5cd0e4dc04
add option to not provision databases for servers
2017-05-08 16:41:37 +01:00
Adam Cooke
87560c9edf
only remove the global database if we actually made one
2017-05-08 16:40:20 +01:00
Adam Cooke
eee01c9e15
a little more testing
2017-05-08 16:39:32 +01:00
Adam Cooke
61e3bad83f
add method for cleaning the message database
2017-05-08 16:39:13 +01:00
Adam Cooke
f023ff0bc1
don't check the dns on create if there already is a status
2017-05-08 16:38:29 +01:00
Adam Cooke
2bde75720c
initial test suite
2017-05-08 14:48:15 +01:00
Adam Cooke
1758dc466a
reset before pulling to avoid issues
2017-05-05 19:55:20 +01:00
Adam Cooke
88170af3cb
add script for generating and publishing the api docs to github
2017-05-05 19:54:56 +01:00
Adam Cooke
553aedf031
name the authenticator
2017-05-05 19:54:52 +01:00
Adam Cooke
dc44d1619a
support for multiple bind addresses on the fast server
2017-05-05 14:24:04 +01:00
Adam Cooke
bf2d26ca01
run an initial apt update to avoid potential issues
2017-05-05 12:59:33 +01:00
Adam Cooke
24048eda6b
don't need iptables any longer
2017-05-05 12:59:23 +01:00
Adam Cooke
67f89ea196
remove a bracket
2017-05-05 12:56:33 +01:00
Adam Cooke
527f659886
quick install guide
2017-05-05 12:50:28 +01:00
Adam Cooke
9c1349a844
remove iptables and use setcap in ubuntu install script
2017-05-05 12:07:41 +01:00
Adam Cooke
f75806b693
wording updates on the server limit page
2017-05-05 12:06:38 +01:00
Adam Cooke
0ee58b2b3e
send limit email wording updates
2017-05-05 12:05:52 +01:00
Adam Cooke
f7b1158199
leave nginx config as-is
2017-05-05 11:57:03 +01:00
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