I configured amavis-new to work with postfix but squirrelmail keeps rejecting all emails sent
Quote:
|
X-Postfix; unable to look up host localhost: Name or service not known
|
I am not sure if it is a firewall issue or a pipe issue. If I disable the firewall ´service iptables stop´ the problem still persists. A test message from external give the same unknown host error.
If I disable Amavis everything works and I get about 7 spam emails a day.
# Postfix Configuration main.cf
Quote:
|
content_filter = smtp-amavis:[localhost]:10024
|
# Postfix Configuration master.cf
# spam/virus section
Quote:
smtp-amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
localhost:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_chec ks,no_header_body_checks
|
If I omment these out everything works fine and yes this package has been installed using ¨yum install amavis¨