Skip to content
Snippets Groups Projects
Commit 0f3a92f6 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Fixes greylisting

parent 0fe9e2a8
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,8 @@ cat >> /opt/postfix.sh <<EOF
service postfix start
touch /var/log/mail.log
tail -f /var/log/mail.log
postmap /etc/postfix/virtual
service postfix restart
EOF
chmod +x /opt/postfix.sh
......@@ -40,4 +42,3 @@ cp /data/hostname /etc/mailname
#put your forwarding addresses in /data/forwards.
cp /data/forwards /etc/postfix/virtual
/usr/sbin/postconf -e "virtual_alias_maps = hash:/etc/postfix/virtual"
postmap /etc/postfix/virtual
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment