Re: Using fuzzy patterns
Good question! One may write the regex backwards: if it matches "fedex" in the address, but does not match "FedEx" in the name, then... However, there are many cases where this will fail or return false positives. One may say that fedex is a brand name that only fedex can use, so if the pattern matches anywhere in the From string (comment and address), and the last Received from IP is not in fedex's spf, then it is spam. This will catch fishes like From: "FedEx invoices invoi...@fedex.com"Sent from ProtonMail Mobile On Sun, Jan 14, 2018 at 02:28, Alex wrote: > Hi, I don't think I fully understand how to use the fuzzy rules with a proper > regex: From: "F*e dE x" That address hardly resembles "Fed Ex", but how > general of a rule can we create and still catch variations such as this? I > thought something like this would work: header FUZZY_FEDEX From =~ > /(?!f.?e.?d.{0,3}e.?x) .? .? .{0,3} .? /i @speedpost.com>
Using fuzzy patterns
Hi, I don't think I fully understand how to use the fuzzy rules with a proper regex: From: "F*e dE x"That address hardly resembles "Fed Ex", but how general of a rule can we create and still catch variations such as this? I thought something like this would work: headerFUZZY_FEDEX From =~ /(?!f.?e.?d.{0,3}e.?x).?.?.{0,3}.?/i
Re: moving spam to junk folder
On 2018-01-13 09:42, Matus UHLAR - fantomas wrote: On 13.01.18 09:35, Matthew Broadhead wrote: i set my local.cf to use MySQL as a bayes store and it seems to work fine setting ham and spam in the database when a message is flagged. however it has had no impact on spam received to the inboxes. we are still receiving a large amount of junk email. i originally installed spamassassin according to this guide http://forums.sentora.org/showthread.php?tid=1118 and it does indeed filter the test message so it should be working ok? spamassassin detects and marks mail, it does not deliver it. the MDA (mail delivery agent) delivers the mail. you need to configure your MDA (procmail, maildrop, sieve etc) to deliver mail marked as spam to Junk folder. Or, if it is sufficient, he could have his MUA sort incoming marked as spam into his local spam bucket for examination before disposal. I make that easy by telling SA I want a header that looks like this: "*SPAM* 009.1 ** You have 3 missed Nigerian Spam Pill Adds". Sorting incoming based on the "*SPAM*" part is rather easy. {^_^}
Re: moving spam to junk folder
On 13.01.18 09:35, Matthew Broadhead wrote: i set my local.cf to use MySQL as a bayes store and it seems to work fine setting ham and spam in the database when a message is flagged. however it has had no impact on spam received to the inboxes. we are still receiving a large amount of junk email. i originally installed spamassassin according to this guide http://forums.sentora.org/showthread.php?tid=1118 and it does indeed filter the test message so it should be working ok? spamassassin detects and marks mail, it does not deliver it. the MDA (mail delivery agent) delivers the mail. you need to configure your MDA (procmail, maildrop, sieve etc) to deliver mail marked as spam to Junk folder. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. One OS to rule them all, One OS to find them, One OS to bring them all and into darkness bind them
Re: moving spam to junk folder
On Saturday 13 January 2018 at 09:35:47, Matthew Broadhead wrote: > i am using CentOS 7, spamassassin-3.4.0-2.el7.x86_64, > postfix-2.10.1-6.el7.x86_64, with amavisd. > > i set my local.cf to use MySQL as a bayes store and it seems to work > fine setting ham and spam in the database when a message is flagged. > however it has had no impact on spam received to the inboxes. we are > still receiving a large amount of junk email. What do you expect to happen to spam instead of it being delivered to inboxes? > i originally installed spamassassin according to this guide > http://forums.sentora.org/showthread.php?tid=1118 and it does indeed > filter the test message so it should be working ok? That set of steps is designed to do is to change the subject line of spam emails to contain (it's not clear to me whether it then becomes the only content, or whether the original content is also retained) the phrase "***SPAM***" Are the spam emails which are still arriving in your inbox/es labelled in this way? If they are, then what you have installed is working as expected. Also, you say you "originally installed spamassassin according to that guide" - what have you changed since then? How does your current setup differ from what those steps create? Antony. -- "I think both KDE and Gnome suck - I'm quite unbiased in that, because I use a Mac." - Jason Isitt Please reply to the list; please *don't* CC me.
moving spam to junk folder
i am using CentOS 7, spamassassin-3.4.0-2.el7.x86_64, postfix-2.10.1-6.el7.x86_64, with amavisd. i set my local.cf to use MySQL as a bayes store and it seems to work fine setting ham and spam in the database when a message is flagged. however it has had no impact on spam received to the inboxes. we are still receiving a large amount of junk email. i originally installed spamassassin according to this guide http://forums.sentora.org/showthread.php?tid=1118 and it does indeed filter the test message so it should be working ok?