Re: check_recipient_access not working

2013-04-11 Thread pifoot
> > > > On 11 April 2013 15:54, Brian Evans <[hidden > email]<http://user/SendEmail.jtp?type=node&node=56963&i=2> > > wrote: > >> On 4/11/2013 10:49 AM, pifoot wrote: >> >>> Many thanks for your reply. >>> >>> Apolog

Re: check_recipient_access not working

2013-04-11 Thread pifoot
Many thanks for your reply. Apologies. The command DOES return OK for the whitelisted e-mail address. It returns nothing at all for an e-mail address not in the whitelist. However, e-mail addresses not in the hash file are still sent and not rejected. Thanks, Stephen -- View this message in c

Re: check_recipient_access not working

2013-04-11 Thread pifoot
Thank you for your reply. No, the * aren't included. It was because I put the commands and files in bold on the original posting. Running that command doesn't produce any output. Have you any idea why that should be? Many thanks, Stephen -- View this message in context: http://postfix.107166

check_recipient_access not working

2013-04-11 Thread pifoot
Dear all, I'm trying to allow our Postfix server to only send e-mails to a few specified e-mail addresses, i.e., a whitelist. I've added the following to main.cf *smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/recipient_access, reject* /etc/postfix/recipient_access c