Postfix receives the message and gives it via "check_recipient_access" over lmtp to amavis, amavis is giving clean messages back on smtp 127.0.0.1:10025 or rejects
dovecot has nothing to do here amavisfeed unix - - n - 10 lmtp -o disable_dns_lookups=yes -o lmtp_data_done_timeout=1200 -o lmtp_send_xforward_command=yes 127.0.0.1:10025 inet n - n - - smtpd -o content_filter= -o smtpd_delay_reject=no -o smtpd_client_restrictions=permit_mynetworks,reject -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions=reject_unauth_pipelining -o smtpd_end_of_data_restrictions= -o smtpd_restriction_classes= -o mynetworks=127.0.0.0/8 -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_header_body_checks,no_unknown_recipient_checks,no_milters -o local_header_rewrite_clients= Am 03.03.2011 16:33, schrieb Islam, Towhid: > I am trying to set up a mail system with postfix being the core (smtp) and > dovecot for imap/pop3 for end-user mail > delivery/retrieval. While I have configured spam and virus scanning for my > postfix based mail relay hosts, I’m not > sure how to incorporate amavisd (for clamav and spamassassin) in this new > system. My question is how does it work > in theory and where to put the necessary configuration parameters in main.cf > and/or master.cf in postfix? The way > it should work, as I believe it should, would be: mail is received by > postfix then sent to amavisd for virus/spam > checking then it is returned to postfix when postfix sends it to dovecot. Am > I correct? > > Thanks.
signature.asc
Description: OpenPGP digital signature
