X-Rspamd-* headers missing from scanned emails

66 zobrazení
Preskočiť na prvú neprečítanú správu

Sophie Loe

neprečítané,
5. 12. 2017, 7:44:065. 12. 2017
komu: rsp...@googlegroups.com
Hi,

I’ve been trying to get rspamd to add headers to mail.
It adds DKIM and ARC headers.

I added this into local.d/milter_headers.conf :
extended_spam_headers = true;
skip_local = false;
skip_authenticated = false;

No emails have X-Rspamd-Queue-Id, X-Spamd-Result or X-Rspamd-Server headers added to scanned messages, regardless where they originate from.

Below is the scanning recorded in rspamd.log
2017-12-05 12:16:02 #23263(normal) <9302b5>; lua; dmarc.lua:241: skip DMARC checks for local networks and authorized users
2017-12-05 12:16:07 #23263(normal) <9302b5>; task; rspamd_task_write_log: id: <b5f17c99-9863-4791...@email.android.com>, qid: <99439100A9F>, ip: 178.50.73.36, user: te...@example.co.uk, from: <te...@example.co.uk>, (default: F (add header): [8.12/15.00] [R_SUSPICIOUS_URL(5.00){0.0.0.0;},MISSING_MIMEOLE(2.00){},URI_HIDDEN_PATH(1.00){},MIME_HTML_ONLY(0.20){},BAYES_HAM(-0.18){70.51%;},MIME_BASE64_TEXT(0.10){},ARC_NA(0.00){},ARC_SIGNED(0.00){i=1;},ASN(0.00){asn:47377, ipnet:178.50.0.0/15, country:BE;},DKIM_SIGNED(0.00){},FROM_EQ_ENVFROM(0.00){},FROM_HAS_DN(0.00){},HAS_X_PRIO_THREE(0.00){3;},RCPT_COUNT_ONE(0.00){1;},RCVD_COUNT_ZERO(0.00){0;},RCVD_TLS_ALL(0.00){},TO_DN_ALL(0.00){},TO_DOM_EQ_FROM_DOM(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){}]), len: 135147, time: 5779.853ms real, 55.585ms virtual, dns req: 14, digest: <8802b8243f04cb097dd737e5002afd84>, rcpts: <sop...@example.co.uk>, mime_rcpt: <sop...@example.co.uk>
2017-12-05 12:16:07 #23263(normal) <9302b5>; task; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 5 regexps matched, 163 regexps total, 78 regexps cached, 0B bytes scanned using pcre, 114.09k bytes scanned total
2017-12-05 12:26:07 #23261(rspamd_proxy) <df59fa>; proxy; proxy_milter_finish_handler: finished milter connection


Anybody know how this should work. I’ve been trying on and off since April 2017 :(



Bill Pye

neprečítané,
5. 12. 2017, 9:32:365. 12. 2017
komu: rspamd


On Tuesday, 5 December 2017 13:44:06 UTC+1, Sophie Loe wrote:
Hi,

I’ve been trying to get rspamd to add headers to mail.
It adds DKIM and ARC headers.

I added this into local.d/milter_headers.conf :
extended_spam_headers = true;
skip_local = false;
skip_authenticated = false;

No emails have X-Rspamd-Queue-Id, X-Spamd-Result or X-Rspamd-Server headers added to scanned messages, regardless where they originate from.

Below is the scanning recorded in rspamd.log
2017-12-05 12:16:02 #23263(normal) <9302b5>; lua; dmarc.lua:241: skip DMARC checks for local networks and authorized users
2017-12-05 12:16:07 #23263(normal) <9302b5>; task; rspamd_task_write_log: id: <b5f17c99-9863-4791-9667-65e3b1...@email.android.com>, qid: <99439100A9F>, ip: 178.50.73.36, user: te...@example.co.uk, from: <te...@example.co.uk>, (default: F (add header): [8.12/15.00] [R_SUSPICIOUS_URL(5.00){0.0.0.0;},MISSING_MIMEOLE(2.00){},URI_HIDDEN_PATH(1.00){},MIME_HTML_ONLY(0.20){},BAYES_HAM(-0.18){70.51%;},MIME_BASE64_TEXT(0.10){},ARC_NA(0.00){},ARC_SIGNED(0.00){i=1;},ASN(0.00){asn:47377, ipnet:178.50.0.0/15, country:BE;},DKIM_SIGNED(0.00){},FROM_EQ_ENVFROM(0.00){},FROM_HAS_DN(0.00){},HAS_X_PRIO_THREE(0.00){3;},RCPT_COUNT_ONE(0.00){1;},RCVD_COUNT_ZERO(0.00){0;},RCVD_TLS_ALL(0.00){},TO_DN_ALL(0.00){},TO_DOM_EQ_FROM_DOM(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){}]), len: 135147, time: 5779.853ms real, 55.585ms virtual, dns req: 14, digest: <8802b8243f04cb097dd737e5002afd84>, rcpts: <sop...@example.co.uk>, mime_rcpt: <sop...@example.co.uk>
2017-12-05 12:16:07 #23263(normal) <9302b5>; task; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 5 regexps matched, 163 regexps total, 78 regexps cached, 0B bytes scanned using pcre, 114.09k bytes scanned total
2017-12-05 12:26:07 #23261(rspamd_proxy) <df59fa>; proxy; proxy_milter_finish_handler: finished milter connection


Anybody know how this should work. I’ve been trying on and off since April 2017 :(

Hi

I'm a novice with rspamd but it works for me with just the "extended_spam"headers" in that file, have you tried with the "skip" lines?

Bill Pye

neprečítané,
5. 12. 2017, 10:12:155. 12. 2017
komu: rspamd
Sorry, I should obviously have said "without those lines".
Odpovedať všetkým
Odpovedať autorovi
Poslať ďalej
0 nových správ