mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2026-04-15 22:56:54 +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
|
master.cf
|
||||||
|
|
||||||
# Deleting Email Headers For Outgoing Emails
|
# 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
|
/^X-Spam-Checker-Version:/ IGNORE
|
||||||
/^Received:.*/ IGNORE
|
/^Received:.*/ IGNORE
|
||||||
/^User-Agent:.*/ IGNORE' | tee /etc/postfix/smtp_header_checks >/dev/null
|
/^User-Agent:.*/ IGNORE
|
||||||
|
postfix
|
||||||
|
|
||||||
# Header checks
|
# Header checks
|
||||||
echo "/free mortgage quote/ DISCARD
|
cat >>/etc/postfix/header_checks <<- 'postfix'
|
||||||
/repair your credit/ DISCARD
|
/free mortgage quote/ DISCARD
|
||||||
/lose weight/ DISCARD
|
/repair your credit/ DISCARD
|
||||||
/To:.*<>/ DISCARD
|
/lose weight/ DISCARD
|
||||||
/From:.*<>/ DISCARD" | tee -a /etc/postfix/header_checks >/dev/null
|
/To:.*<>/ DISCARD
|
||||||
|
/From:.*<>/ DISCARD
|
||||||
|
postfix
|
||||||
|
|
||||||
# Body checks
|
# Body checks
|
||||||
echo "/free mortgage quote/ DISCARD
|
cat >>/etc/postfix/body_checks <<- 'postfix'
|
||||||
|
/free mortgage quote/ DISCARD
|
||||||
/repair your credit/ DISCARD
|
/repair your credit/ DISCARD
|
||||||
/lose weight/ DISCARD" | tee -a /etc/postfix/body_checks >/dev/null
|
/lose weight/ DISCARD
|
||||||
|
postfix
|
||||||
|
|
||||||
# Touch aliases db
|
# Touch aliases db
|
||||||
newaliases
|
newaliases
|
||||||
|
|
@ -170,8 +176,8 @@ mkdir -p /etc/dovecot/ /etc/ssl/dovecot/
|
||||||
|
|
||||||
# dovecot.conf
|
# dovecot.conf
|
||||||
cat >/etc/dovecot/dovecot.conf <<- dovecot.conf
|
cat >/etc/dovecot/dovecot.conf <<- dovecot.conf
|
||||||
dovecot_config_version = 2.4.2
|
dovecot_config_version = 2.4.3
|
||||||
dovecot_storage_version = 2.4.2
|
dovecot_storage_version = 2.4.3
|
||||||
|
|
||||||
sql_driver = mysql
|
sql_driver = mysql
|
||||||
mysql /run/mysqld/mysqld.sock {
|
mysql /run/mysqld/mysqld.sock {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue