On 10/30/2009 2:28 PM, Stan Hoeppner wrote:
Stan Hoeppner put forth on 10/30/2009 2:23 PM:
I don't have reject_unauth_destination. I guess which parameter one
needs to implement depends on whether one uses local deliver?
Should have proofread that... I meant I do not have
reject_unlisted_recipient defined. However, the docs say it's turned on
by default, which would explain why my rejections work properly.
http://www.postfix.org/postconf.5.html#reject_unlisted_recipient
smtpd_reject_unlisted_recipient (default: yes)
Request that the Postfix SMTP server rejects mail for unknown
recipient addresses, even when no explicit reject_unlisted_recipient
access restriction is specified. This prevents the Postfix queue from
filling up with undeliverable MAILER-DAEMON messages.
--
Stan
You can use reject_unlisted_recipient in your
smtpd_*_restrictions to ask postfix to reject unknown
recipients earlier in the process, eg. before RBL or greylist
checks.
The default smtpd_reject_unlisted_recipient basically tacks
reject_unlisted_recipient at the very end of
smtpd_recipient_restrictions.
-- Noel Jones