On 10/28/2009 8:11 AM, Harakiri wrote:
--- On Wed, 10/28/09, Noel Jones<[email protected]>  wrote:


The proper solution is to use postfix's built-in recipient

validation.  Valid recipients should be listed in the
proper
table for the address class of the recipient domain, then
you
can reject all unknown recipients with a simple
"reject_unlisted_recipient" at whatever point you

Thanks, so i should use

relay_recipient_maps = ldap:/myconfig.cf

and in smtpd_recipient_restrictions i add reject_unlisted_recipient before 
greylisting and rbl right?

Furthermore, if i just have relay_recipient_maps = ldap:/myconfig.cf  - and NO 
reject_unlisted_recipient - nothing will happend ? (i.e. its easy to switch it 
on and off without outcommenting the maps each time)


To turn off the built-in recipient validation, you would also need to set in main.cf
smtpd_reject_unlisted_recipient = no

http://www.postfix.org/postconf.5.html#smtpd_reject_unlisted_recipient

  -- Noel Jones

Reply via email to