Hello everyone,
I am trying to put in place a Postfix+amavisd maia solution
but I am
having an issue with postfix. I have followed the guidelines
for
setting up a content filter amavisd on postfix by reading
the
README.postfix .
My test domain has the lowest MX pointing to the maia box
but at the
time of reinjection, postfix seems to dns lookup again and
will not
forward the e-mail to the final destination box which is
informed with
an IP address, thus bouncing it with the following:
Jul 26 16:12:12 mail postfix/smtp[5824]: B92D33BE9C:
to=<someone mydomain.com>, relay=none, delay=0,
status=bounced (mail
for mydomain.com loops back to myself)
I have the following to control relaying on postfix:
relay_domains = /etc/postfix/relay_domains
smtpd_recipient_restrictions = check_relay_domains
Since this is only hapenning at the time of reinjection,
here is the
master.cf I am using:
smtp-amavis unix - - y - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20
localhost:10025 inet n - y - 2
smtpd
-o content_filter=
-o myhostname=localhost.myhost.com
-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,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o
receive_override_options=no_unknown_recipient_checks,no_head
er_body_checks
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
I had this working perfectly with qmail, btw.
Thank you in advance,
Cass Surek
_______________________________________________
Maia-users mailing list
Maia-users renaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
|