[Rspamd-Users] Multimap filter from wrong match

Emanuel Gonzalez emanuel_gonzalez at live.com.ar
Tue Dec 10 17:46:05 UTC 2019


Hi,

I create this filter:

DONWEB_FROM_RJT {
       type = "from";
       map = "${LOCAL_CONFDIR}/local.d/local_rjt_from.map.inc";
       action = "reject";
       prefilter = true;
       regexp = true;
   }

In the file local_rjt_from.map.inc i add this rule:

/.*\@rp\.landings.info/

i send an email with the header from suite14 at rp.runtastic.com the filter discards the mail.

2019-12-10 14:38:13 #5091(normal) <306fbb>; task; rspamd_task_write_log: id: <20191210143813.007546 at egonzalez.dat>, qid: <1iejSf-000084-Ii>, ip: 200.58.11
2.191, from: <suite14 at rp.runtastic.com>, (default: T (reject): [0.00/30.00] [ASN(0.00){asn:27823, ipnet:200.58.112.0/24, country:AR;},DONWEB_FROM_RJT(0.00
){suite14 at rp.runtastic.com;}]), len: 536, time: 1.724ms, dns req: 1, digest: <76bbe627505a4f020e9180843023c1e2>, rcpts: <emanuel at emadns.tk>, mime_rcpts: <
emanuel at emadns.tk>, forced: reject "Matched map: DONWEB_FROM_RJT"; score=nan (set by multimap)

I think regex is working incorrectly

Any idea?

Regards,




More information about the Users mailing list