Re: Restriction classes with null sender

2008-08-21 Thread Brian Evans - Postfix List
mouss wrote: > Brian Evans - Postfix List wrote: >> [snip] >> >> ndr_only = check_recipient_access hash:/etc/postfix/ndr_senders,reject >> > > if you want to check the recipient, rename your map. > if you want to check the sender, rename your check. > >> $ cat /etc/postfix/ndr_senders >> <> OK

Re: Restriction classes with null sender

2008-08-21 Thread mouss
Brian Evans - Postfix List wrote: [snip] ndr_only = check_recipient_access hash:/etc/postfix/ndr_senders,reject if you want to check the recipient, rename your map. if you want to check the sender, rename your check. $ cat /etc/postfix/ndr_senders <> OK This will never match a recipi

Re: Restriction classes with null sender

2008-08-21 Thread Noel Jones
Brian Evans - Postfix List wrote: Noel Jones wrote: Brian Evans - Postfix List wrote: I want a single account to only accept NDRs. Other email should be rejected. Would the following work correctly? smtpd_recipient_restrictions: ... check_recipient_access hash:/etc/postfix/receieve_only ...

Re: Restriction classes with null sender

2008-08-21 Thread Brian Evans - Postfix List
Noel Jones wrote: > Brian Evans - Postfix List wrote: >> I want a single account to only accept NDRs. Other email should be >> rejected. >> >> Would the following work correctly? >> >> smtpd_recipient_restrictions: >> ... >> check_recipient_access hash:/etc/postfix/receieve_only >> ... >> >> /etc/p

Re: Restriction classes with null sender

2008-08-19 Thread Noel Jones
Brian Evans - Postfix List wrote: I want a single account to only accept NDRs. Other email should be rejected. Would the following work correctly? smtpd_recipient_restrictions: ... check_recipient_access hash:/etc/postfix/receieve_only ... /etc/postfix/receieve_only: [EMAIL PROTECTED] check