Hi, I'm setting up a mail server with dovecot-1.0.13 and postfix-2.5.1 on freebsd 7.0. I'm a newbie to postfix, I almost have it running but have two questions:
I'm using dovecot auth-client for sasl authentication. I want it to reject mail from anonymous logins, but this isn't working. "postconf -a" says "dovecot" In main.cf I have: smtpd_sasl_path=/var/run/dovecot/auth-client smtpd_sasl_type=dovecot auth-client is rw by group postfix. The sasl_security options are the defaults from main.cf.default: lmtp_sasl_security_options = noplaintext, noanonymous smtp_sasl_security_options = noplaintext, noanonymous smtpd_sasl_security_options = noanonymous I'm testing this in a local network, so I temporarily removed "permit_mynetworks" from smtpd_sender_restrictions and smtpd_recipient_restrictions, so that they read: smtpd_sender_restrictions = permit_sasl_authenticated smtpd_recipient_restrictions = permit_sasl_authenticated,reject_unauth_destinati on But it still accepts anonymous logins: postfix/smtpd[29015]: Anonymous TLS connection established and the delivery goes through. The other question I had was regarding where to specify the dovecot delivery agent to postfix. There seem to be two ways: in main.cf: mailbox_command=/usr/local/libexec/dovecot/deliver or in master.cf: dovecot unix - n n - - pipe flags=DRhu user=root:mail argv=/usr/local/libexec/dovecot/deliver -d ${recipient} Could someone tell me the difference(s) ? Many thanks for any help!!! Rich