Re: Antispamming with header checks and regexp

2017-02-06 Thread Noel Jones
On 2/6/2017 3:23 PM, Istvan Prosinger wrote: > Hi All, and Happy New Year with a little delay :) > > Comming to spam, header checks are one tool that I use frequently to > prevent it. > > So, amongst all, I have this: > > if !/^Subject: (.*)[Aa]liexpress/ > /^Subject:(.*)% [Oo][Ff][Ff]/ REJECT

Re: Antispamming with header checks and regexp

2017-02-06 Thread Dominic Raferd
On 6 February 2017 at 21:23, Istvan Prosinger wrote: > Hi All, and Happy New Year with a little delay :) > > Comming to spam, header checks are one tool that I use frequently to > prevent it. > > So, amongst all, I have this: > > if !/^Subject: (.*)[Aa]liexpress/ >

Antispamming with header checks and regexp

2017-02-06 Thread Istvan Prosinger
Hi All, and Happy New Year with a little delay :) Comming to spam, header checks are one tool that I use frequently to prevent it. So, amongst all, I have this: if !/^Subject: (.*)[Aa]liexpress/ /^Subject:(.*)% [Oo][Ff][Ff]/ REJECT Go away spammer endif And this worked fine until _today_,

Re: Postfix redirects emails to postmaster for non-existent users

2017-02-06 Thread Viktor Dukhovni
On Mon, Feb 06, 2017 at 05:37:27PM +0300, Süleyman Düzdaban wrote: > > Be specific, what type of domain is "mydomain": > > > > Please be very clear whether you're trying to reject mail *to* > > non-existent recipients, or *from* non-existent senders. I am > > assuming "recipients" for now based

Re: Postfix redirects emails to postmaster for non-existent users

2017-02-06 Thread Süleyman Düzdaban
On 02/02/2017 06:41 PM, Viktor Dukhovni wrote: > On Thu, Feb 02, 2017 at 04:21:41PM +0300, S�leyman D�zdaban wrote: > >> When I send an email from existent-address@mydomain to >> non-existent-address@mydomain postfix redirects email to postmaster. >> I want to reject email to addresses that do not