On Fri, 27 Apr 2018, Joëlle Pfeffer wrote:
I have progressed.
If my rule is
header REGLE_HF002 From:name =~ /@A/i
e-mails containing
From: @A <jopfef...@free.fr>
or
From: "@AB" <jopfef...@free.fr>
or
From: "@Ab" <jopfef...@free.fr>
are not blocked
but if my rule is
header REGLE_HF002 From:name =~ /@.b/i
e-mails containing
From: "@Ab" <jopfef...@free.fr>
or
From: "@ABc" < jopfef...@free.fr >
are blocked
[snip..]
If you want to match a literal '@' in a SA regex you need to escape it.
Try:
header REGLE_HF002 From:name =~ /\@a/i
(note the trailing 'i' makes the regex be case-insenstive so /\@A/i doesn't make
sense).
--
Dave Funk University of Iowa
<dbfunk (at) engineering.uiowa.edu> College of Engineering
319/335-5751 FAX: 319/384-0549 1256 Seamans Center
Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{