Re: Blacklisting googlegroups

2016-10-24 Thread Nikolaos Milas
On 24/10/2016 6:46 μμ, Noel Jones wrote: header_checks can't be used there. Use a second check_sender_access instead. Thank you Noel, Your suggestion worked fine! The only change I did was to escape the + sign: /^oursuperclub-members\+bnc(.*)@googlegroups\.com$/ REJECT All the best, Nick

Re: Blacklisting googlegroups

2016-10-24 Thread Noel Jones
On 10/24/2016 9:24 AM, Nikolaos Milas wrote: > On 24/10/2016 5:15 μμ, Fazzina, Angelo wrote: > >> Can't you use REGEX to write a rule to catch them, and then decide >> what you want to do with those emails ? > > Would the following be valid? > > smtpd_recipient_restrictions = > ... > che

RE: Blacklisting googlegroups

2016-10-24 Thread Fazzina, Angelo
ostfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Nikolaos Milas Sent: Monday, October 24, 2016 10:25 AM To: postfix users Subject: Re: Blacklisting googlegroups On 24/10/2016 5:15 μμ, Fazzina, Angelo wrote: > Can't you use REGEX to write a rule to catch them, and

Re: Blacklisting googlegroups

2016-10-24 Thread Nikolaos Milas
On 24/10/2016 5:15 μμ, Fazzina, Angelo wrote: Can't you use REGEX to write a rule to catch them, and then decide what you want to do with those emails ? Would the following be valid? smtpd_recipient_restrictions = ... check_sender_access hash:/etc/postfix/blacklisted_senders head

Re: Blacklisting googlegroups

2016-10-24 Thread Ralf Hildebrandt
* Nikolaos Milas : > On 24/10/2016 5:15 μμ, Fazzina, Angelo wrote: > > > Can't you use REGEX to write a rule to catch them, and then decide what you > > want to do with those emails ? > > Would the following be valid? > > smtpd_recipient_restrictions = > ... > check_sender_access hash

RE: Blacklisting googlegroups

2016-10-24 Thread Fazzina, Angelo
Hi, Can't you use REGEX to write a rule to catch them, and then decide what you want to do with those emails ? Maybe: /etc/postfix/catch_spammer file has this: /^oursuperclub-members(.*)@googlegroups.com ${1}@spammer.google.bad Not sure where you add the file to do the rejection, maybe mynetw