Re: check_recipient_access not working

2013-04-11 Thread pifoot
Ah. I see. Thank you very much for that. On 11 April 2013 17:05, Brian Evans - Postfix List [via Postfix] < ml-node+s1071664n56963...@n5.nabble.com> wrote: > On 4/11/2013 11:52 AM, Stephen West wrote: > > Thank you for your reply. > > The messages are sent from /usr/sbin/sendmail > > > Any mail

Re: check_recipient_access not working

2013-04-11 Thread Brian Evans
On 4/11/2013 11:52 AM, Stephen West wrote: Thank you for your reply. The messages are sent from /usr/sbin/sendmail Any mail sent through the sendmail(1) command is not subject to smtpd_* rules. The only option on restriction is which users can send mail through the authorized_submit_users

Re: check_recipient_access not working

2013-04-11 Thread Stephen West
Thank you for your reply. The messages are sent from /usr/sbin/sendmail The log contains: Apr 11 16:50:26 hilljaa5 postfix/qmgr[2563]: 0B60181F0: from=< h...@removed.com>, size=310, nrcpt=1 (queue active) Apr 11 16:50:26 hilljaa5 postfix/smtp[2569]: 0B60181F0: to=, relay=test.test2.com[31.222.14

Re: check_recipient_access not working

2013-04-11 Thread Brian Evans
On 4/11/2013 10:49 AM, pifoot wrote: 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. You h

Re: check_recipient_access not working

2013-04-11 Thread Wietse Venema
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? Update the Berkeley DB file with: $ postmap hash:/path/to/fil

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

Re: check_recipient_access not working

2013-04-11 Thread Wietse Venema
pifoot: > *smtpd_recipient_restrictions = check_recipient_access > hash:/etc/postfix/recipient_access, reject* > > /etc/postfix/recipient_access contains: > > *t...@test.com OK* Hopefully the "*" are not included. You can test the access table with: $ postmap -q t...@test.com hash:/etc/po