mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2026-04-15 23:16:55 +00:00
Dovecot 2.4.3
This commit is contained in:
parent
3c1a846b3f
commit
63e98e4910
1 changed files with 17 additions and 11 deletions
|
|
@ -140,22 +140,28 @@ policyd-spf unix - n n - - spawn
|
|||
master.cf
|
||||
|
||||
# Deleting Email Headers For Outgoing Emails
|
||||
echo -e '/^X-Spam-Status:/ IGNORE
|
||||
cat >>/etc/postfix/smtp_header_checks <<- 'postfix'
|
||||
/^X-Spam-Status:/ IGNORE
|
||||
/^X-Spam-Checker-Version:/ IGNORE
|
||||
/^Received:.*/ IGNORE
|
||||
/^User-Agent:.*/ IGNORE' | tee /etc/postfix/smtp_header_checks >/dev/null
|
||||
/^User-Agent:.*/ IGNORE
|
||||
postfix
|
||||
|
||||
# Header checks
|
||||
echo "/free mortgage quote/ DISCARD
|
||||
/repair your credit/ DISCARD
|
||||
/lose weight/ DISCARD
|
||||
/To:.*<>/ DISCARD
|
||||
/From:.*<>/ DISCARD" | tee -a /etc/postfix/header_checks >/dev/null
|
||||
cat >>/etc/postfix/header_checks <<- 'postfix'
|
||||
/free mortgage quote/ DISCARD
|
||||
/repair your credit/ DISCARD
|
||||
/lose weight/ DISCARD
|
||||
/To:.*<>/ DISCARD
|
||||
/From:.*<>/ DISCARD
|
||||
postfix
|
||||
|
||||
# Body checks
|
||||
echo "/free mortgage quote/ DISCARD
|
||||
cat >>/etc/postfix/body_checks <<- 'postfix'
|
||||
/free mortgage quote/ DISCARD
|
||||
/repair your credit/ DISCARD
|
||||
/lose weight/ DISCARD" | tee -a /etc/postfix/body_checks >/dev/null
|
||||
/lose weight/ DISCARD
|
||||
postfix
|
||||
|
||||
# Touch aliases db
|
||||
newaliases
|
||||
|
|
@ -170,8 +176,8 @@ mkdir -p /etc/dovecot/ /etc/ssl/dovecot/
|
|||
|
||||
# dovecot.conf
|
||||
cat >/etc/dovecot/dovecot.conf <<- dovecot.conf
|
||||
dovecot_config_version = 2.4.2
|
||||
dovecot_storage_version = 2.4.2
|
||||
dovecot_config_version = 2.4.3
|
||||
dovecot_storage_version = 2.4.3
|
||||
|
||||
sql_driver = mysql
|
||||
mysql /run/mysqld/mysqld.sock {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue