Hi Jacques,
This works for me:
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes
127.0.0.1:10025 inet n - 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,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
dbmail unix - n n - - pipe
flags= user=dbmail:dbmail argv=/usr/local/sbin/dbmail-smtp -d
${recipient}
Of course, you also need a main.cf entry for amavis-new (and dbmail
transport) -
content_filter = smtp-amavis:[127.0.0.1]:10024
transport_maps = hash:/etc/postfix/transport
Richard.
Jacques Beaudoin wrote:
Can somebody show me a postfix master.cf file
to have dbmail , amavis-new and postfix to work together
Thanks
Jacques
il