Re: filter based on "From: " content

3 Dec
2020
3 Dec
'20
4:44 p.m.
I'd like to share that the recipe below is very effective to catch almost all the spam described in this thread (those caught are 100% spam) in the past few days: :0 * ^\/From:.* * MATCH ?? | formail -x"To:" TEXT_catchBOX I have a couple similar recipe variants also in tests. Cheers, ZL

3 Dec
3 Dec
5:40 p.m.
New subject: filter based on "From: " content
On 2020-12-03 16:44, Zhiliang Hu wrote:
I'd like to share that the recipe below is very effective to catch almost all the spam described in this thread (those caught are 100% spam) in the past few days:
:0 * ^\/From:.* * MATCH ?? | formail -x"To:" TEXT_catchBOX
I have a couple similar recipe variants also in tests. Cheers,
ZL
But it can easily catch too much. Example: From: ada@bickers.edu To: a@b.c Good regexen have anchors. -- Ruud
1606
Age (days ago)
1606
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ruud H.G. van Tol
-
Zhiliang Hu