Fwd: Fwd: Can Amavisd block based on Message-ID ?

2016-09-22 Thread Indunil Jayasooriya
add the regex to spamassassin I have alreday added in this way cat /etc/mail/spamassassin/SPAM_19Sep2016_Message_ID_1.cf header SPAM19SepMID1 Message-ID =~ /(fanex-us\.local)\b/i describe SPAM19SepMID1 Message-ID header matches the above pattern score SPAM19SepMID1 5 -- cat /etc/motd

Re: Fwd: Can Amavisd block based on Message-ID ?

2016-09-20 Thread Benny Pedersen
On 2016-09-15 05:11, Indunil Jayasooriya wrote: Message-ID: c4aaf04e-24c231f0-12bb-1f68-clmthigeer-PC-EXC02.Fanex-us.local Now we can see every mail shares the string clmthigeer-PC-EXC02.Fanex-us.local and ? Can I have a Regex to block it in amavisd-new? sure, define the invalid part

Re: Fwd: Can Amavisd block based on Message-ID ?

2016-09-17 Thread Dino
Well, you can create rules in spamassassin not amavis as far as I know. However, creating rules based on Message-ID is generally a bad idea because you will might get false pasitives. If you are still insisting to filter on Message-ID, insert something like below in your spamassassin local.cf

Fwd: Can Amavisd block based on Message-ID ?

2016-09-15 Thread Indunil Jayasooriya
Hi list, I want to know if amavisd-new can bock mails based on Message-ID:, when it has a particular PATTERN? I get mails whose Message-ID s are like these? Message-ID: 861dfa65-7e64a83d-4434-525d-clmthigeer-PC-EXC02.Fanex-us.local Message-ID: