Re: spam assassin rule to block a From address

2016-10-14 Thread Indunil Jayasooriya
y day. what a meritorious deed. > > -- > kai.ri...@arrak.fi GSM +358-40-767 8282 > Oy Arrak Software Ab http://www.arrak.fi > > > > -Original Message- > From: Indunil Jayasooriya [mailto:induni...@gmail.com] > Sent: Friday, October 14, 2016 11:56 AM > T

RE: spam assassin rule to block a From address

2016-10-14 Thread Kai Risku
ct: Re: spam assassin rule to block a From address > Appending the modifier “:addr” to a header name will remove everything from > that header except the first email address. If you are using an anchored > regexp on the email address, then the From:addr test should work, i.e. > > >

Re: spam assassin rule to block a From address

2016-10-14 Thread Indunil Jayasooriya
kai.ri...@arrak.fi GSM +358-40-767 8282 > Oy Arrak Software Ab http://www.arrak.fi > > > > > From: amavis-users > [mailto:amavis-users-bounces+kai.risku=arrak...@amavis.org] On Behalf Of > @lbutlr > Sent: Thursday, October 13, 2016 11:43 AM > To: ama

Re: spam assassin rule to block a From address

2016-10-14 Thread Indunil Jayasooriya
On Fri, Oct 14, 2016 at 2:21 AM, Tom Hendrikx wrote: > > > > On 13-10-16 10:12, Indunil Jayasooriya wrote: >>> >>> You should probably also match only the address, not the full From line, >>> especially when you're anchoring: >> >> >> what's the difference between From and

RE: spam assassin rule to block a From address

2016-10-14 Thread Kai Risku
-767 8282 Oy Arrak Software Ab http://www.arrak.fi From: amavis-users [mailto:amavis-users-bounces+kai.risku=arrak...@amavis.org] On Behalf Of @lbutlr Sent: Thursday, October 13, 2016 11:43 AM To: amavis-users@amavis.org Subject: Re: spam assassin rule to block a From address On Oct 13, 2016

Re: spam assassin rule to block a From address

2016-10-13 Thread Tom Hendrikx
On 13-10-16 10:12, Indunil Jayasooriya wrote: >> >> You should probably also match only the address, not the full From line, >> especially when you're anchoring: > > > what's the difference between From and From:addr ? > Considering the header: From: Indunil Jayasooriya

Re: spam assassin rule to block a From address

2016-10-13 Thread Maurizio Poli
have you test this regex?: header SPAM11OctF1 From =~ /.*airecom612\+97d7d60a91d9695c9a4240f92d5c3cae\@/i describe SPAM11OctF1 From address contains the word airecom612@ score SPAM11OctF1 10.0 it must work I think that the parenthesis are not necessary and the @ must be escaped I

Re: spam assassin rule to block a From address

2016-10-13 Thread Indunil Jayasooriya
> > You should probably also match only the address, not the full From line, > especially when you're anchoring: what's the difference between From and From:addr ? > > header SPAM11OctF1 From:addr =~ /^aireco Can you complete this ? anyway here I complete it. header SPAM11OctF1

Re: spam assassin rule to block a From address

2016-10-12 Thread Indunil Jayasooriya
> > I think that the parenthesis are not necessary and the @ must be escaped I sometimes use brackets to filter Subject (some times multiple Subjects). They work. see one rule I use below . It is for Subject with brackets. Not for From address file

Re: spam assassin rule to block a From address

2016-10-12 Thread Indunil Jayasooriya
> > are you for usage of '^' ? because the string not start with sender > address, you can try withou it. > ^ - start matching from the beginning of the string in regex anyway, without it, I can try. here's my new file ( without ^ ) my /etc/mail/spamassassin/SPAM_11Oct2016_From_1.cf file

Re: spam assassin rule to block a From address

2016-10-12 Thread Maurizio Poli
I think that the parenthesis are not necessary and the @ must be escaped ^.*airecom612\+97d7d60a91d9695c9a4240f92d5c3cae\@ for check on https://regex101.com you can try the regex on complete mail source code like this: .. .. X-Received: by 10.194.204.198 with SMTP id

Re: spam assassin rule to block a From address

2016-10-12 Thread Maurizio Poli
Hi I'm sorry for my poor english... are you for usage of '^' ? because the string not start with sender address, you can try withou it. Can you post to us a source code of spam mail? Maurizio Dear list, I get mails from below FROM address.

spam assassin rule to block a From address

2016-10-11 Thread Indunil Jayasooriya
Dear list, I get mails from below FROM address. airecom612+97d7d60a91d9695c9a4240f92d5c3...@holistictips.net airecom612+97d7d60a91d9695c9a4240f92d5c3...@lotushealthfix.com airecom612+97d7d60a91d9695c9a4240f92d5c3...@amazingwellness.net