| |||||||||||||||||||||||||||||||
|
> Ken Morley wrote: > > I've added reject_unlisted_recipient before postgrey as suggested above: > > I've tested and this does configure Postfix to consult relay_recipients > for valid email addresses before involving Postgrey. I'm guessing that > Postfix checks local_recipients (if defined) and then relay_recipients. > It looks like valid recipients have to exist in one place or the other. Postfix uses the recipient_map that belongs to the address class of the domain. Recipients of domains in mydestination are checked against local_recipient_maps, recipients of domains in relay_domains have to exist in relay_recipient_maps. If a domain is entered in more than one address class Postfix will log a warning. > As Berny pointed out, Postfix's smtpd_reject_unlisted_recipient > defaults to "true". You shouldn't have to change or otherwise define > smtpd_reject_unlisted_recipient. Per default Postfix will check for valid recipients at the end of smtpd_recipient_restrictions. The check "reject_unlisted_recipient" allows you to place the check where you need it to happen. -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com