Re: How to restrict sending to certain local addresses except when sent from mail server

2017-12-24 Thread Wietse Venema
Justin Peavey: > Hi Wietse, > > The noted difference is for b...@trashcan.org, > smtpd_recipient_restrictions is never evaluated at all. For Show the smtpd logging. Wietse

Re: How to restrict sending to certain local addresses except when sent from mail server

2017-12-23 Thread Justin Peavey
Hi Wietse, The noted difference is for b...@trashcan.org, smtpd_recipient_restrictions is never evaluated at all. For b...@trashcan.org there is no ‘START Recipient address RESTRICTIONS’ or any of the related logs for smtpd_recipient_restrictions.For arling...@trashcan.org, smtp_recipien

Re: How to restrict sending to certain local addresses except when sent from mail server

2017-12-23 Thread Wietse Venema
Here is the start of evaluating smtpd_recipient_restrictions: > Dec 23 16:06:34 ip-172-31-54-95 postfix/smtpd[13472]: extract_addr: in: > , result: arling...@trashcan.org > Dec 23 16:06:34 ip-172-31-54-95 postfix/smtpd[13472]: >>> START Recipient > address RESTRICTIONS <<< > Dec 23 16:06:34 ip-

Re: How to restrict sending to certain local addresses except when sent from mail server

2017-12-23 Thread Justin Peavey
I’ve spent more time reviewing and while my observations may be flawed, they do seem to be consistent. What I continue to observe is that when an address is matched in /etc/alias, that the smtp_recipient_restrictions are not processed and therefore the suggested restrictions are not having any

Re: How to restrict sending to certain local addresses except when sent from mail server

2017-12-14 Thread Wietse Venema
Justin Peavey: > I appreciate that the filter does not distinguish between domains. > Nonetheless, I see different filtering behavior for email destined for the > domain listed in mydomain which also have entries in /etc/aliases vs. the > domains listed as virtual domains. > > Sent from my TI

Re: How to restrict sending to certain local addresses except when sent from mail server

2017-12-14 Thread Anvar Kuchkartaev
nding to certain local addresses except when sent from mail server I have a mail server receiving internet mail for my primary domain and for a few virtual domains. I'm having some spam issues with internet mail coming in for address@mydomain for addresses intended for use by local tools/scr

Re: How to restrict sending to certain local addresses except when sent from mail server

2017-12-14 Thread Justin Peavey
I appreciate that the filter does not distinguish between domains. Nonetheless, I see different filtering behavior for email destined for the domain listed in mydomain which also have entries in /etc/aliases vs. the domains listed as virtual domains. Sent from my TI-99/4A > On Dec 14, 2017,

Re: How to restrict sending to certain local addresses except when sent from mail server

2017-12-14 Thread Wietse Venema
Justin Peavey: > > Thanks for the reply, unfortunately the approach doesn?t seem to work for me. > It appears that that the regardless of the smtp_recipient_restrictions > setting, that any addresses listed in /etc/aliases addressed to $mydomain is > bypassing any blocking/filtering. Is this

Re: How to restrict sending to certain local addresses except when sent from mail server

2017-12-13 Thread Justin Peavey
Thanks for the reply, unfortunately the approach doesn’t seem to work for me. It appears that that the regardless of the smtp_recipient_restrictions setting, that any addresses listed in /etc/aliases addressed to $mydomain is bypassing any blocking/filtering. Is this expected behavior? > >

Re: How to restrict sending to certain local addresses except when sent from mail server

2017-12-10 Thread Wietse Venema
Omniver: > I have a mail server receiving internet mail for my primary domain and for a > few virtual domains. I'm having some spam issues with internet mail coming > in for address@mydomain for addresses intended for use by local > tools/scripts which are listed in /etc/aliases. Any ideas on how

How to restrict sending to certain local addresses except when sent from mail server

2017-12-10 Thread Omniver
I have a mail server receiving internet mail for my primary domain and for a few virtual domains. I'm having some spam issues with internet mail coming in for address@mydomain for addresses intended for use by local tools/scripts which are listed in /etc/aliases. Any ideas on how can I make it th