mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-18 07:46:18 +00:00
Fixed perl policy and at syntax
This commit is contained in:
parent
08aa129f30
commit
afb613e32d
4 changed files with 8 additions and 6 deletions
|
|
@ -6,19 +6,19 @@ atd
|
|||
# Roundcube cleanup (daily)
|
||||
while true
|
||||
do
|
||||
at midnight -f /usr/share/webapps/roundcube/bin/cleandb.sh
|
||||
at -f /usr/share/webapps/roundcube/bin/cleandb.sh midnight
|
||||
done &
|
||||
|
||||
# Update Postscreen Whitelists (daily)
|
||||
while true
|
||||
do
|
||||
at midnight -f /usr/local/bin/postwhite/postwhite
|
||||
at -f /usr/local/bin/postwhite/postwhite midnight
|
||||
done &
|
||||
|
||||
# Update Yahoo! IPs for Postscreen Whitelists (weekly)
|
||||
while true
|
||||
do
|
||||
at midnight sunday -f /usr/local/bin/postwhite/scrape_yahoo
|
||||
at -f /usr/local/bin/postwhite/scrape_yahoo midnight sunday
|
||||
done &
|
||||
|
||||
# # Refresh ssl keys daily
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ postconf -e "body_checks = pcre:/etc/postfix/body_checks"
|
|||
# master.cf
|
||||
sed -e 's/^smtp .*smtpd$/# &/' \
|
||||
-e '/#smtp\|#smtpd\|#dnsblog\|#tlsproxy/ s/^#//' -i /etc/postfix/master.cf
|
||||
tee -a /etc/postfix/master.cf >/dev/null <<- 'master.cf'
|
||||
tee -a /etc/postfix/master.cf >/dev/null <<- master.cf
|
||||
|
||||
# Enable submission
|
||||
submission inet n - y - - smtpd
|
||||
|
|
@ -136,7 +136,7 @@ submission inet n - y - - smtpd
|
|||
|
||||
# SPF Policy
|
||||
policy unix - n n - 0 spawn
|
||||
user=nobody argv=/usr/bin/postfix-policyd-spf-perl
|
||||
user=nobody argv=${MYVEMAIL_POLICYD}
|
||||
master.cf
|
||||
|
||||
# Deleting Email Headers For Outgoing Emails
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue