mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-20 02:52:11 +00:00
Merge branch 'postgrey-whitelist'
This commit is contained in:
commit
a451c35151
@ -1,6 +1,12 @@
|
||||
CHANGELOG
|
||||
=========
|
||||
|
||||
In Development
|
||||
--------------
|
||||
|
||||
Postgrey:
|
||||
* Fetch an updated whitelist for Postgrey on a monthly basis
|
||||
|
||||
v0.42 (July 4, 2019)
|
||||
--------------------
|
||||
|
||||
|
@ -210,6 +210,16 @@ tools/editconf.py /etc/postfix/main.cf \
|
||||
tools/editconf.py /etc/default/postgrey \
|
||||
POSTGREY_OPTS=\"'--inet=127.0.0.1:10023 --delay=180'\"
|
||||
|
||||
|
||||
# We are going to setup a newer whitelist for postgrey, the version included in the distribution is old
|
||||
cat > /etc/cron.monthly/mailinabox-postgrey-whitelist << EOF;
|
||||
#!/bin/bash
|
||||
# Mail-in-a-Box
|
||||
curl http://postgrey.schweikert.ch/pub/postgrey_whitelist_clients --output /etc/postgrey/whitelist_clients -ss
|
||||
EOF
|
||||
chmod +x /etc/cron.monthly/mailinabox-postgrey-whitelist
|
||||
/etc/cron.monthly/mailinabox-postgrey-whitelist
|
||||
|
||||
# Increase the message size limit from 10MB to 128MB.
|
||||
# The same limit is specified in nginx.conf for mail submitted via webmail and Z-Push.
|
||||
tools/editconf.py /etc/postfix/main.cf \
|
||||
|
Loading…
Reference in New Issue
Block a user