Skip to content

Instantly share code, notes, and snippets.

@stephdl
Created December 6, 2019 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephdl/c8eeb58f2e11ed66847e9cb6cb6b6cce to your computer and use it in GitHub Desktop.
Save stephdl/c8eeb58f2e11ed66847e9cb6cb6b6cce to your computer and use it in GitHub Desktop.
- test case 0.1 email bl OK
Dec 6 16:59:09 ns7loc13 postfix/smtpd[18330]: connect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 16:59:09 ns7loc13 rspamd[18254]: <391443>; proxy; proxy_accept_socket: accepted milter connection from /var/run/rspamd/worker-proxy port 0
Dec 6 16:59:10 ns7loc13 postfix/smtpd[18330]: 0FDD960D9290: client=ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 16:59:10 ns7loc13 rspamd[18254]: <391443>; milter; rspamd_milter_process_command: got connection from 192.168.56.14:48266
Dec 6 16:59:10 ns7loc13 postfix/cleanup[18334]: 0FDD960D9290: message-id=<1.1575647949@nethservertest.org>
Dec 6 16:59:10 ns7loc13 rspamd[18254]: <391443>; proxy; rspamd_mime_parse_message: cannot find content-type for a message, assume text/plain
Dec 6 16:59:10 ns7loc13 rspamd[18254]: <391443>; proxy; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit
Dec 6 16:59:10 ns7loc13 rspamd[18254]: <391443>; proxy; rspamd_message_parse: loaded message; id: <1.1575647949@nethservertest.org>; queue-id: <0FDD960D9290>; size: 491; checksum: <f3d2ab8fbb77056d5e6582bda1e3dafe>
Dec 6 16:59:10 ns7loc13 rspamd[18254]: <391443>; lua; ratelimit.lua:549: skip ratelimit for whitelisted recipient
Dec 6 16:59:10 ns7loc13 rspamd[18254]: <391443>; lua; asn.lua:72: cannot query ip 14.56.168.192.asn.rspamd.com on 127.0.0.1: no results
Dec 6 16:59:10 ns7loc13 rspamd[18254]: <391443>; proxy; rspamd_mime_part_detect_language: detected part language: en
Dec 6 16:59:10 ns7loc13 rspamd[18254]: <391443>; surbl; surbl_test_url: disable surbl public.sarbl.org as it is reported to be offline
Dec 6 16:59:10 ns7loc13 rspamd[18254]: <391443>; proxy; rspamd_add_passthrough_result: <1.1575647949@nethservertest.org>: set pre-result to 'reject' (no score): 'Sender email address rejected' from force_actions(1)
Dec 6 16:59:11 ns7loc13 rspamd[18254]: <391443>; proxy; rspamd_task_write_log: id: <1.1575647949@nethservertest.org>, qid: <0FDD960D9290>, ip: 192.168.56.14, from: <stephane@de-labrusse.fr>, (default: T (reject): [2.30/20.00] [HFILTER_HELO_IP_A(1.00){ns7loc13.nethservertest.org;},MV_CASE(0.50){},MX_INVALID(0.50){},HFILTER_HELO_NORES_A_OR_MX(0.30){ns7loc13.nethservertest.org;},DMARC_POLICY_SOFTFAIL(0.10){de-labrusse.fr : No valid SPF, No valid DKIM;none;},MIME_GOOD(-0.10){text/plain;},FORCE_ACTION_REJECT_FROM_BLACKLIST(0.00){reject;},FROM_BLACKLIST(0.00){stephane@de-labrusse.fr;},FROM_EQ_ENVFROM(0.00){},FROM_NO_DN(0.00){},MIME_TRACE(0.00){0:+;},RCPT_COUNT_ONE(0.00){1;},RCVD_COUNT_ZERO(0.00){0;},R_DKIM_NA(0.00){},R_SPF_NA(0.00){},TO_DN_NONE(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){}]), len: 491, time: 1463.999ms real, 49.371ms virtual, dns req: 20, digest: <f3d2ab8fbb77056d5e6582bda1e3dafe>, rcpts: <postmaster@dpnet.nethesis.it>, mime_rcpts: <postmaster@dpnet.nethesis.it>, forced: reject "Sender email address rejected"; score=nan (set by force_actions)
Dec 6 16:59:11 ns7loc13 rspamd[18254]: <391443>; proxy; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 1 regexps matched, 185 regexps total, 95 regexps cached, 0B scanned using pcre, 1.30KiB scanned total
Dec 6 16:59:11 ns7loc13 postfix/cleanup[18334]: 0FDD960D9290: milter-reject: END-OF-MESSAGE from ns7loc13.nethservertest.org[192.168.56.14]: 5.7.1 Sender email address rejected; from=<stephane@de-labrusse.fr> to=<postmaster@dpnet.nethesis.it> proto=ESMTP helo=<ns7loc13.nethservertest.org>
Dec 6 16:59:11 ns7loc13 postfix/smtpd[18330]: disconnect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 16:59:11 ns7loc13 rspamd[18254]: <3d056e>; proxy; proxy_milter_finish_handler: finished milter connection
- test case 0.2 subdomain bl ok
Dec 6 17:02:58 ns7loc13 postfix/smtpd[18780]: connect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:02:58 ns7loc13 rspamd[18768]: <7a1df2>; proxy; proxy_accept_socket: accepted milter connection from /var/run/rspamd/worker-proxy port 0
Dec 6 17:02:58 ns7loc13 postfix/smtpd[18780]: 6BF1C6045CEF: client=ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:02:58 ns7loc13 rspamd[18768]: <7a1df2>; milter; rspamd_milter_process_command: got connection from 192.168.56.14:48286
Dec 6 17:02:58 ns7loc13 postfix/cleanup[18784]: 6BF1C6045CEF: message-id=<3.1575648178@nethservertest.org>
Dec 6 17:02:58 ns7loc13 rspamd[18768]: <7a1df2>; proxy; rspamd_mime_parse_message: cannot find content-type for a message, assume text/plain
Dec 6 17:02:58 ns7loc13 rspamd[18768]: <7a1df2>; proxy; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit
Dec 6 17:02:58 ns7loc13 rspamd[18768]: <7a1df2>; proxy; rspamd_message_parse: loaded message; id: <3.1575648178@nethservertest.org>; queue-id: <6BF1C6045CEF>; size: 502; checksum: <f3c180664cabc90400c004cbc25347e0>
Dec 6 17:02:58 ns7loc13 rspamd[18768]: <7a1df2>; lua; ratelimit.lua:549: skip ratelimit for whitelisted recipient
Dec 6 17:02:58 ns7loc13 rspamd[18768]: <7a1df2>; lua; asn.lua:72: cannot query ip 14.56.168.192.asn.rspamd.com on 127.0.0.1: no results
Dec 6 17:02:58 ns7loc13 rspamd[18768]: <7a1df2>; proxy; rspamd_mime_part_detect_language: detected part language: en
Dec 6 17:02:58 ns7loc13 rspamd[18768]: <7a1df2>; proxy; rspamd_add_passthrough_result: <3.1575648178@nethservertest.org>: set pre-result to 'reject' (no score): 'Sender email address rejected' from force_actions(1)
Dec 6 17:02:58 ns7loc13 rspamd[18768]: <7a1df2>; proxy; rspamd_task_write_log: id: <3.1575648178@nethservertest.org>, qid: <6BF1C6045CEF>, ip: 192.168.56.14, from: <stephane@prometheus.de-labrusse.fr>, (default: T (reject): [2.30/20.00] [HFILTER_HELO_IP_A(1.00){ns7loc13.nethservertest.org;},MV_CASE(0.50){},MX_INVALID(0.50){cached;},HFILTER_HELO_NORES_A_OR_MX(0.30){ns7loc13.nethservertest.org;},DMARC_POLICY_SOFTFAIL(0.10){de-labrusse.fr : No valid SPF, No valid DKIM;none;},MIME_GOOD(-0.10){text/plain;},FORCE_ACTION_REJECT_FROM_BLACKLIST(0.00){reject;},FROM_EQ_ENVFROM(0.00){},FROM_NO_DN(0.00){},FROM_SUBDOMAINS_BLACKLIST(0.00){prometheus.de-labrusse.fr;},MIME_TRACE(0.00){0:+;},RCPT_COUNT_ONE(0.00){1;},RCVD_COUNT_ZERO(0.00){0;},R_DKIM_NA(0.00){},R_SPF_NA(0.00){},TO_DN_NONE(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){}]), len: 502, time: 492.107ms real, 23.505ms virtual, dns req: 17, digest: <f3c180664cabc90400c004cbc25347e0>, rcpts: <postmaster@dpnet.nethesis.it>, mime_rcpts: <postmaster@dpnet.nethesis.it>, forced: reject "Sender email address rejected"; score=nan (set by force_actions)
Dec 6 17:02:59 ns7loc13 rspamd[18768]: <7a1df2>; proxy; rspamd_protocol_http_reply: regexp statistics: 78 pcre regexps scanned, 1 regexps matched, 185 regexps total, 12 regexps cached, 2.32KiB scanned using pcre, 2.32KiB scanned total
Dec 6 17:02:59 ns7loc13 postfix/cleanup[18784]: 6BF1C6045CEF: milter-reject: END-OF-MESSAGE from ns7loc13.nethservertest.org[192.168.56.14]: 5.7.1 Sender email address rejected; from=<stephane@prometheus.de-labrusse.fr> to=<postmaster@dpnet.nethesis.it> proto=ESMTP helo=<ns7loc13.nethservertest.org>
Dec 6 17:02:59 ns7loc13 postfix/smtpd[18780]: disconnect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:02:59 ns7loc13 rspamd[18768]: <fa9ece>; proxy; proxy_milter_finish_handler: finished milter connection
Dec 6 17:03:01 ns7loc13 rspamd[18768]: <>; ; rspamd_worker_hyperscan_ready: loading hyperscan expressions after receiving compilation notice: new db
Dec 6 17:03:01 ns7loc13 rspamd[18768]: <3202d6>; re_cache; rspamd_re_cache_load_hyperscan: hyperscan database of 185 regexps has been loaded
- test case 0.3 doamin bl NOK
two symbols
Dec 6 17:05:25 ns7loc13 postfix/smtpd[19013]: connect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:05:25 ns7loc13 rspamd[18919]: <6789b5>; proxy; proxy_accept_socket: accepted milter connection from /var/run/rspamd/worker-proxy port 0
Dec 6 17:05:25 ns7loc13 postfix/smtpd[19013]: 873846045CEF: client=ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:05:25 ns7loc13 rspamd[18919]: <6789b5>; milter; rspamd_milter_process_command: got connection from 192.168.56.14:48288
Dec 6 17:05:25 ns7loc13 postfix/cleanup[19017]: 873846045CEF: message-id=<4.1575648325@nethservertest.org>
Dec 6 17:05:25 ns7loc13 rspamd[18919]: <6789b5>; proxy; rspamd_mime_parse_message: cannot find content-type for a message, assume text/plain
Dec 6 17:05:25 ns7loc13 rspamd[18919]: <6789b5>; proxy; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit
Dec 6 17:05:25 ns7loc13 rspamd[18919]: <6789b5>; proxy; rspamd_message_parse: loaded message; id: <4.1575648325@nethservertest.org>; queue-id: <873846045CEF>; size: 492; checksum: <8ed824eec65cd26eea9295438d2314e8>
Dec 6 17:05:25 ns7loc13 rspamd[18919]: <6789b5>; lua; ratelimit.lua:549: skip ratelimit for whitelisted recipient
Dec 6 17:05:25 ns7loc13 rspamd[18919]: <6789b5>; lua; asn.lua:72: cannot query ip 14.56.168.192.asn.rspamd.com on 127.0.0.1: no results
Dec 6 17:05:25 ns7loc13 rspamd[18919]: <6789b5>; proxy; rspamd_mime_part_detect_language: detected part language: en
Dec 6 17:05:25 ns7loc13 rspamd[18919]: <6789b5>; surbl; surbl_test_url: disable surbl public.sarbl.org as it is reported to be offline
Dec 6 17:05:26 ns7loc13 rspamd[18919]: <6789b5>; proxy; rspamd_add_passthrough_result: <4.1575648325@nethservertest.org>: set pre-result to 'reject' (no score): 'Sender email address rejected' from force_actions(1)
Dec 6 17:05:26 ns7loc13 rspamd[18919]: <6789b5>; proxy; rspamd_task_write_log: id: <4.1575648325@nethservertest.org>, qid: <873846045CEF>, ip: 192.168.56.14, from: <stephanie@de-labrusse.fr>, (default: T (reject): [2.30/20.00] [HFILTER_HELO_IP_A(1.00){ns7loc13.nethservertest.org;},MV_CASE(0.50){},MX_INVALID(0.50){cached;},HFILTER_HELO_NORES_A_OR_MX(0.30){ns7loc13.nethservertest.org;},DMARC_POLICY_SOFTFAIL(0.10){de-labrusse.fr : No valid SPF, No valid DKIM;none;},MIME_GOOD(-0.10){text/plain;},FORCE_ACTION_REJECT_FROM_BLACKLIST(0.00){reject;},FROM_DOMAINS_BLACKLIST(0.00){de-labrusse.fr;},FROM_EQ_ENVFROM(0.00){},FROM_NO_DN(0.00){},FROM_SUBDOMAINS_BLACKLIST(0.00){de-labrusse.fr;},MIME_TRACE(0.00){0:+;},RCPT_COUNT_ONE(0.00){1;},RCVD_COUNT_ZERO(0.00){0;},R_DKIM_NA(0.00){},R_SPF_NA(0.00){},TO_DN_NONE(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){}]), len: 492, time: 903.887ms real, 27.880ms virtual, dns req: 16, digest: <8ed824eec65cd26eea9295438d2314e8>, rcpts: <postmaster@dpnet.nethesis.it>, mime_rcpts: <postmaster@dpnet.nethesis.it>, forced: reject "Sender email address rejected"; score=nan (set by force_actions)
Dec 6 17:05:26 ns7loc13 rspamd[18919]: <6789b5>; proxy; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 1 regexps matched, 185 regexps total, 95 regexps cached, 0B scanned using pcre, 1.30KiB scanned total
Dec 6 17:05:26 ns7loc13 postfix/cleanup[19017]: 873846045CEF: milter-reject: END-OF-MESSAGE from ns7loc13.nethservertest.org[192.168.56.14]: 5.7.1 Sender email address rejected; from=<stephanie@de-labrusse.fr> to=<postmaster@dpnet.nethesis.it> proto=ESMTP helo=<ns7loc13.nethservertest.org>
Dec 6 17:05:26 ns7loc13 postfix/smtpd[19013]: disconnect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:05:26 ns7loc13 rspamd[18919]: <c132e4>; proxy; proxy_milter_finish_handler: finished milter connection
when use subdomain it bl by the domain
- test case 1.1 stephanie@prometheus.de-labrusse.fr wins even domain bl
Dec 6 17:09:59 ns7loc13 postfix/smtpd[19459]: connect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:09:59 ns7loc13 rspamd[19431]: <c1f97e>; proxy; proxy_accept_socket: accepted milter connection from /var/run/rspamd/worker-proxy port 0
Dec 6 17:09:59 ns7loc13 postfix/smtpd[19459]: 1CBF76045CEF: client=ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:09:59 ns7loc13 rspamd[19431]: <c1f97e>; milter; rspamd_milter_process_command: got connection from 192.168.56.14:48290
Dec 6 17:09:59 ns7loc13 postfix/cleanup[19463]: 1CBF76045CEF: message-id=<5.1575648599@nethservertest.org>
Dec 6 17:09:59 ns7loc13 rspamd[19431]: <c1f97e>; proxy; rspamd_mime_parse_message: cannot find content-type for a message, assume text/plain
Dec 6 17:09:59 ns7loc13 rspamd[19431]: <c1f97e>; proxy; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit
Dec 6 17:09:59 ns7loc13 rspamd[19431]: <c1f97e>; proxy; rspamd_message_parse: loaded message; id: <5.1575648599@nethservertest.org>; queue-id: <1CBF76045CEF>; size: 492; checksum: <46ab2a9313f08c7d1a7f904ee702a40c>
Dec 6 17:09:59 ns7loc13 rspamd[19431]: <c1f97e>; lua; ratelimit.lua:549: skip ratelimit for whitelisted recipient
Dec 6 17:09:59 ns7loc13 rspamd[19431]: <c1f97e>; lua; asn.lua:72: cannot query ip 14.56.168.192.asn.rspamd.com on 127.0.0.1: no results
Dec 6 17:09:59 ns7loc13 rspamd[19431]: <c1f97e>; proxy; rspamd_add_passthrough_result: <5.1575648599@nethservertest.org>: set pre-result to 'no action' (no score): 'Matched map: FROM_WHITELIST' from multimap(1)
Dec 6 17:09:59 ns7loc13 rspamd[19431]: <c1f97e>; proxy; rspamd_task_write_log: id: <5.1575648599@nethservertest.org>, qid: <1CBF76045CEF>, ip: 192.168.56.14, from: <stephanie@de-labrusse.fr>, (default: F (no action): [0.00/20.00] [FROM_WHITELIST(0.00){stephanie@de-labrusse.fr;}]), len: 492, time: 27.239ms real, 3.325ms virtual, dns req: 1, digest: <46ab2a9313f08c7d1a7f904ee702a40c>, rcpts: <postmaster@dpnet.nethesis.it>, mime_rcpts: <postmaster@dpnet.nethesis.it>, forced: no action "Matched map: FROM_WHITELIST"; score=nan (set by multimap)
Dec 6 17:09:59 ns7loc13 rspamd[19431]: <c1f97e>; proxy; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 0 regexps matched, 185 regexps total, 0 regexps cached, 0B scanned using pcre, 0B scanned total
Dec 6 17:09:59 ns7loc13 postfix/qmgr[19422]: 1CBF76045CEF: from=<stephanie@de-labrusse.fr>, size=762, nrcpt=1 (queue active)
Dec 6 17:09:59 ns7loc13 postfix/smtpd[19459]: disconnect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:09:59 ns7loc13 rspamd[19431]: <61bd76>; proxy; proxy_milter_finish_handler: finished milter connection
Dec 6 17:09:59 ns7loc13 postfix/smtp[19464]: 1CBF76045CEF: to=<postmaster@dpnet.nethesis.it>, relay=none, delay=0.49, delays=0.1/0.02/0.37/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=dpnet.nethesis.it type=AAAA: Host not found)
Dec 6 17:09:59 ns7loc13 postfix/cleanup[19463]: 9C95B60D9290: message-id=<20191206160959.9C95B60D9290@ns7loc13.nethservertest.org>
Dec 6 17:09:59 ns7loc13 postfix/qmgr[19422]: 9C95B60D9290: from=<>, size=3049, nrcpt=1 (queue active)
Dec 6 17:09:59 ns7loc13 postfix/bounce[19465]: 1CBF76045CEF: sender non-delivery notification: 9C95B60D9290
Dec 6 17:09:59 ns7loc13 postfix/qmgr[19422]: 1CBF76045CEF: removed
Dec 6 17:12:40 ns7loc13 postfix/smtpd[19627]: 34DD760D929B: client=ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:12:40 ns7loc13 rspamd[19431]: <3c3e0d>; milter; rspamd_milter_process_command: got connection from 192.168.56.14:48298
Dec 6 17:12:40 ns7loc13 postfix/cleanup[19630]: 34DD760D929B: message-id=<6.1575648760@nethservertest.org>
Dec 6 17:12:40 ns7loc13 rspamd[19431]: <3c3e0d>; proxy; rspamd_mime_parse_message: cannot find content-type for a message, assume text/plain
Dec 6 17:12:40 ns7loc13 rspamd[19431]: <3c3e0d>; proxy; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit
Dec 6 17:12:40 ns7loc13 rspamd[19431]: <3c3e0d>; proxy; rspamd_message_parse: loaded message; id: <6.1575648760@nethservertest.org>; queue-id: <34DD760D929B>; size: 503; checksum: <dbaed8d4750117b4c3fd993497969cc1>
Dec 6 17:12:40 ns7loc13 rspamd[19431]: <3c3e0d>; lua; ratelimit.lua:549: skip ratelimit for whitelisted recipient
Dec 6 17:12:40 ns7loc13 rspamd[19431]: <3c3e0d>; lua; asn.lua:72: cannot query ip 14.56.168.192.asn.rspamd.com on 127.0.0.1: no results
Dec 6 17:12:40 ns7loc13 rspamd[19431]: <3c3e0d>; proxy; rspamd_add_passthrough_result: <6.1575648760@nethservertest.org>: set pre-result to 'no action' (no score): 'Matched map: FROM_WHITELIST' from multimap(1)
Dec 6 17:12:40 ns7loc13 rspamd[19431]: <3c3e0d>; proxy; rspamd_task_write_log: id: <6.1575648760@nethservertest.org>, qid: <34DD760D929B>, ip: 192.168.56.14, from: <stephanie@prometheus.de-labrusse.fr>, (default: F (no action): [0.00/20.00] [FROM_WHITELIST(0.00){stephanie@prometheus.de-labrusse.fr;}]), len: 503, time: 0.990ms real, 0.915ms virtual, dns req: 1, digest: <dbaed8d4750117b4c3fd993497969cc1>, rcpts: <postmaster@dpnet.nethesis.it>, mime_rcpts: <postmaster@dpnet.nethesis.it>, forced: no action "Matched map: FROM_WHITELIST"; score=nan (set by multimap)
Dec 6 17:12:40 ns7loc13 rspamd[19431]: <3c3e0d>; proxy; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 0 regexps matched, 185 regexps total, 0 regexps cached, 0B scanned using pcre, 0B scanned total
Dec 6 17:12:40 ns7loc13 postfix/qmgr[19422]: 34DD760D929B: from=<stephanie@prometheus.de-labrusse.fr>, size=773, nrcpt=1 (queue active)
Dec 6 17:12:40 ns7loc13 postfix/smtpd[19627]: disconnect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:12:40 ns7loc13 rspamd[19431]: <c9cbee>; proxy; proxy_milter_finish_handler: finished milter connection
Dec 6 17:12:40 ns7loc13 postfix/smtp[19464]: 34DD760D929B: to=<postmaster@dpnet.nethesis.it>, relay=none, delay=0.15, delays=0.07/0/0.08/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=dpnet.nethesis.it type=AAAA: Host not found)
Dec 6 17:12:40 ns7loc13 postfix/cleanup[19630]: 62A906045CEF: message-id=<20191206161240.62A906045CEF@ns7loc13.nethservertest.org>
Dec 6 17:12:40 ns7loc13 postfix/qmgr[19422]: 62A906045CEF: from=<>, size=3104, nrcpt=1 (queue active)
Dec 6 17:12:40 ns7loc13 postfix/bounce[19631]: 34DD760D929B: sender non-delivery notification: 62A906045CEF
Dec 6 17:12:40 ns7loc13 postfix/qmgr[19422]: 34DD760D929B: removed
- test case 1.1 prometheus.de-labrusse.fr wins even domain bl
Dec 6 17:14:37 ns7loc13 postfix/smtpd[19982]: connect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:14:37 ns7loc13 rspamd[19958]: <5020dc>; proxy; proxy_accept_socket: accepted milter connection from /var/run/rspamd/worker-proxy port 0
Dec 6 17:14:37 ns7loc13 postfix/smtpd[19982]: E822F60D929E: client=ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:14:37 ns7loc13 rspamd[19958]: <5020dc>; milter; rspamd_milter_process_command: got connection from 192.168.56.14:48312
Dec 6 17:14:37 ns7loc13 postfix/cleanup[19986]: E822F60D929E: message-id=<7.1575648877@nethservertest.org>
Dec 6 17:14:38 ns7loc13 rspamd[19958]: <5020dc>; proxy; rspamd_mime_parse_message: cannot find content-type for a message, assume text/plain
Dec 6 17:14:38 ns7loc13 rspamd[19958]: <5020dc>; proxy; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit
Dec 6 17:14:38 ns7loc13 rspamd[19958]: <5020dc>; proxy; rspamd_message_parse: loaded message; id: <7.1575648877@nethservertest.org>; queue-id: <E822F60D929E>; size: 503; checksum: <751ff0eb92b6a4b22014042541f46070>
Dec 6 17:14:38 ns7loc13 rspamd[19958]: <5020dc>; lua; ratelimit.lua:549: skip ratelimit for whitelisted recipient
Dec 6 17:14:38 ns7loc13 rspamd[19958]: <5020dc>; lua; asn.lua:72: cannot query ip 14.56.168.192.asn.rspamd.com on 127.0.0.1: no results
Dec 6 17:14:38 ns7loc13 rspamd[19958]: <5020dc>; proxy; rspamd_add_passthrough_result: <7.1575648877@nethservertest.org>: set pre-result to 'no action' (no score): 'Matched map: FROM_SUBDOMAINS_WHITELIST' from multimap(1)
Dec 6 17:14:38 ns7loc13 rspamd[19958]: <5020dc>; proxy; rspamd_task_write_log: id: <7.1575648877@nethservertest.org>, qid: <E822F60D929E>, ip: 192.168.56.14, from: <stephanie@prometheus.de-labrusse.fr>, (default: F (no action): [0.00/20.00] [FROM_SUBDOMAINS_WHITELIST(0.00){prometheus.de-labrusse.fr;}]), len: 503, time: 18.131ms real, 2.387ms virtual, dns req: 1, digest: <751ff0eb92b6a4b22014042541f46070>, rcpts: <postmaster@dpnet.nethesis.it>, mime_rcpts: <postmaster@dpnet.nethesis.it>, forced: no action "Matched map: FROM_SUBDOMAINS_WHITELIST"; score=nan (set by multimap)
Dec 6 17:14:38 ns7loc13 rspamd[19958]: <5020dc>; proxy; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 0 regexps matched, 185 regexps total, 0 regexps cached, 0B scanned using pcre, 0B scanned total
Dec 6 17:14:38 ns7loc13 postfix/qmgr[19935]: E822F60D929E: from=<stephanie@prometheus.de-labrusse.fr>, size=773, nrcpt=1 (queue active)
Dec 6 17:14:38 ns7loc13 postfix/smtpd[19982]: disconnect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:14:38 ns7loc13 rspamd[19958]: <e56e5a>; proxy; proxy_milter_finish_handler: finished milter connection
Dec 6 17:14:38 ns7loc13 postfix/smtp[19987]: E822F60D929E: to=<postmaster@dpnet.nethesis.it>, relay=none, delay=0.16, delays=0.08/0.02/0.06/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=dpnet.nethesis.it type=AAAA: Host not found)
Dec 6 17:14:38 ns7loc13 postfix/cleanup[19986]: 1D81260D929F: message-id=<20191206161438.1D81260D929F@ns7loc13.nethservertest.org>
Dec 6 17:14:38 ns7loc13 postfix/qmgr[19935]: 1D81260D929F: from=<>, size=3105, nrcpt=1 (queue active)
Dec 6 17:14:38 ns7loc13 postfix/bounce[19988]: E822F60D929E: sender non-delivery notification: 1D81260D929F
Dec 6 17:14:38 ns7loc13 postfix/qmgr[19935]: E822F60D929E: removed
(END)
- test case 1.2 domain wins even domain bl
not good the symbol is 'Matched map: FROM_SUBDOMAINS_WHITELIST'
Dec 6 17:17:31 ns7loc13 postfix/smtpd[20089]: connect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:17:31 ns7loc13 rspamd[19958]: <eeadd8>; proxy; proxy_accept_socket: accepted milter connection from /var/run/rspamd/worker-proxy port 0
Dec 6 17:17:31 ns7loc13 postfix/smtpd[20089]: 884BA602ED9D: client=ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:17:31 ns7loc13 rspamd[19958]: <eeadd8>; milter; rspamd_milter_process_command: got connection from 192.168.56.14:48332
Dec 6 17:17:31 ns7loc13 postfix/cleanup[20092]: 884BA602ED9D: message-id=<10.1575649051@nethservertest.org>
Dec 6 17:17:31 ns7loc13 rspamd[19958]: <eeadd8>; proxy; rspamd_mime_parse_message: cannot find content-type for a message, assume text/plain
Dec 6 17:17:31 ns7loc13 rspamd[19958]: <eeadd8>; proxy; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit
Dec 6 17:17:31 ns7loc13 rspamd[19958]: <eeadd8>; proxy; rspamd_message_parse: loaded message; id: <10.1575649051@nethservertest.org>; queue-id: <884BA602ED9D>; size: 495; checksum: <cdea4676eb87b4beab416370dda325e2>
Dec 6 17:17:31 ns7loc13 rspamd[19958]: <eeadd8>; lua; ratelimit.lua:549: skip ratelimit for whitelisted recipient
Dec 6 17:17:31 ns7loc13 rspamd[19958]: <eeadd8>; lua; asn.lua:72: cannot query ip 14.56.168.192.asn.rspamd.com on 127.0.0.1: no results
Dec 6 17:17:31 ns7loc13 rspamd[19958]: <eeadd8>; proxy; rspamd_add_passthrough_result: <10.1575649051@nethservertest.org>: set pre-result to 'no action' (no score): 'Matched map: FROM_SUBDOMAINS_WHITELIST' from multimap(1)
Dec 6 17:17:31 ns7loc13 rspamd[19958]: <eeadd8>; proxy; rspamd_task_write_log: id: <10.1575649051@nethservertest.org>, qid: <884BA602ED9D>, ip: 192.168.56.14, from: <stephanie@de-labrusse.fr>, (default: F (no action): [0.00/20.00] [FROM_SUBDOMAINS_WHITELIST(0.00){de-labrusse.fr;}]), len: 495, time: 2.074ms real, 1.862ms virtual, dns req: 1, digest: <cdea4676eb87b4beab416370dda325e2>, rcpts: <postmaster@dpnet.nethesis.it>, mime_rcpts: <postmaster@dpnet.nethesis.it>, forced: no action "Matched map: FROM_SUBDOMAINS_WHITELIST"; score=nan (set by multimap)
Dec 6 17:17:31 ns7loc13 rspamd[19958]: <eeadd8>; proxy; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 0 regexps matched, 185 regexps total, 0 regexps cached, 0B scanned using pcre, 0B scanned total
Dec 6 17:17:31 ns7loc13 postfix/qmgr[19935]: 884BA602ED9D: from=<stephanie@de-labrusse.fr>, size=765, nrcpt=1 (queue active)
Dec 6 17:17:31 ns7loc13 postfix/smtpd[20089]: disconnect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:17:31 ns7loc13 rspamd[19958]: <1765f0>; proxy; proxy_milter_finish_handler: finished milter connection
Dec 6 17:17:31 ns7loc13 postfix/smtp[20184]: 884BA602ED9D: to=<postmaster@dpnet.nethesis.it>, relay=none, delay=0.22, delays=0.06/0.02/0.14/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=dpnet.nethesis.it type=AAAA: Host not found)
Dec 6 17:17:31 ns7loc13 postfix/cleanup[20092]: C3C5F602EDA1: message-id=<20191206161731.C3C5F602EDA1@ns7loc13.nethservertest.org>
Dec 6 17:17:31 ns7loc13 postfix/qmgr[19935]: C3C5F602EDA1: from=<>, size=3053, nrcpt=1 (queue active)
Dec 6 17:17:31 ns7loc13 postfix/bounce[20093]: 884BA602ED9D: sender non-delivery notification: C3C5F602EDA1
Dec 6 17:17:31 ns7loc13 postfix/qmgr[19935]: 884BA602ED9D: removed
Dec 6 17:17:38 ns7loc13 postfix/smtp[20134]: connect to mail.de-labrusse.fr[164.132.77.216]:25: Connection timed out
(END)
- test case 1.3 domain bl wins even subdomain wl
same domain symbol is written two times
Dec 6 17:33:46 ns7loc13 postfix/smtpd[21754]: 185A1602ED9D: client=ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:33:46 ns7loc13 rspamd[21736]: <2030c1>; milter; rspamd_milter_process_command: got connection from 192.168.56.14:48412
Dec 6 17:33:46 ns7loc13 postfix/cleanup[21758]: 185A1602ED9D: message-id=<12.1575650025@nethservertest.org>
Dec 6 17:33:46 ns7loc13 rspamd[21736]: <2030c1>; proxy; rspamd_mime_parse_message: cannot find content-type for a message, assume text/plain
Dec 6 17:33:46 ns7loc13 rspamd[21736]: <2030c1>; proxy; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit
Dec 6 17:33:46 ns7loc13 rspamd[21736]: <2030c1>; proxy; rspamd_message_parse: loaded message; id: <12.1575650025@nethservertest.org>; queue-id: <185A1602ED9D>; size: 495; checksum: <710223427627416fbcfe4b7f16abc289>
Dec 6 17:33:46 ns7loc13 rspamd[21736]: <2030c1>; lua; ratelimit.lua:549: skip ratelimit for whitelisted recipient
Dec 6 17:33:46 ns7loc13 rspamd[21736]: <2030c1>; lua; asn.lua:72: cannot query ip 14.56.168.192.asn.rspamd.com on 127.0.0.1: no results
Dec 6 17:33:46 ns7loc13 rspamd[21736]: <2030c1>; proxy; rspamd_mime_part_detect_language: detected part language: en
Dec 6 17:33:46 ns7loc13 rspamd[21736]: <2030c1>; proxy; rspamd_add_passthrough_result: <12.1575650025@nethservertest.org>: set pre-result to 'reject' (no score): 'Sender email address rejected' from force_actions(1)
Dec 6 17:33:46 ns7loc13 rspamd[21736]: <2030c1>; proxy; rspamd_task_write_log: id: <12.1575650025@nethservertest.org>, qid: <185A1602ED9D>, ip: 192.168.56.14, from: <stephanie@de-labrusse.fr>, (default: T (reject): [2.30/20.00] [HFILTER_HELO_IP_A(1.00){ns7loc13.nethservertest.org;},MV_CASE(0.50){},MX_INVALID(0.50){cached;},HFILTER_HELO_NORES_A_OR_MX(0.30){ns7loc13.nethservertest.org;},DMARC_POLICY_SOFTFAIL(0.10){de-labrusse.fr : No valid SPF, No valid DKIM;none;},MIME_GOOD(-0.10){text/plain;},FORCE_ACTION_REJECT_FROM_BLACKLIST(0.00){reject;},FROM_DOMAINS_BLACKLIST(0.00){de-labrusse.fr;},FROM_EQ_ENVFROM(0.00){},FROM_NO_DN(0.00){},FROM_SUBDOMAINS_BLACKLIST(0.00){de-labrusse.fr;},MIME_TRACE(0.00){0:+;},RCPT_COUNT_ONE(0.00){1;},RCVD_COUNT_ZERO(0.00){0;},R_DKIM_NA(0.00){},R_SPF_NA(0.00){},TO_DN_NONE(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){}]), len: 495, time: 227.510ms real, 19.991ms virtual, dns req: 16, digest: <710223427627416fbcfe4b7f16abc289>, rcpts: <postmaster@dpnet.nethesis.it>, mime_rcpts: <postmaster@dpnet.nethesis.it>, forced: reject "Sender email address rejected"; score=nan (set by force_actions)
Dec 6 17:33:46 ns7loc13 rspamd[21736]: <2030c1>; proxy; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 1 regexps matched, 185 regexps total, 95 regexps cached, 0B scanned using pcre, 1.31KiB scanned total
Dec 6 17:33:46 ns7loc13 postfix/cleanup[21758]: 185A1602ED9D: milter-reject: END-OF-MESSAGE from ns7loc13.nethservertest.org[192.168.56.14]: 5.7.1 Sender email address rejected; from=<stephanie@de-labrusse.fr> to=<postmaster@dpnet.nethesis.it> proto=ESMTP helo=<ns7loc13.nethservertest.org>
Dec 6 17:33:46 ns7loc13 postfix/smtpd[21754]: disconnect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:33:46 ns7loc13 rspamd[21736]: <dd8938>; proxy; proxy_milter_finish_handler: finished milter connection
test2 wlTO wins OK
Dec 6 17:58:17 ns7loc13 postfix/smtpd[25091]: connect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:58:17 ns7loc13 rspamd[25074]: <f7d05d>; proxy; proxy_accept_socket: accepted milter connection from /var/run/rspamd/worker-proxy port 0
Dec 6 17:58:17 ns7loc13 postfix/smtpd[25091]: 4CB7E60D92BB: client=ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 17:58:17 ns7loc13 rspamd[25074]: <f7d05d>; milter; rspamd_milter_process_command: got connection from 192.168.56.14:48480
Dec 6 17:58:17 ns7loc13 postfix/cleanup[25095]: 4CB7E60D92BB: message-id=<20.1575651497@nethservertest.org>
Dec 6 17:58:17 ns7loc13 rspamd[25074]: <f7d05d>; proxy; rspamd_mime_parse_message: cannot find content-type for a message, assume text/plain
Dec 6 17:58:17 ns7loc13 rspamd[25074]: <f7d05d>; proxy; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit
Dec 6 17:58:17 ns7loc13 rspamd[25074]: <f7d05d>; proxy; rspamd_message_parse: loaded message; id: <20.1575651497@nethservertest.org>; queue-id: <4CB7E60D92BB>; size: 491; checksum: <0d5dfbeea4e1dd21f15a229fa512faeb>
Dec 6 17:58:17 ns7loc13 rspamd[25074]: <f7d05d>; lua; asn.lua:72: cannot query ip 14.56.168.192.asn.rspamd.com on 127.0.0.1: no results
Dec 6 17:58:17 ns7loc13 rspamd[25074]: <f7d05d>; proxy; rspamd_add_passthrough_result: <20.1575651497@nethservertest.org>: set pre-result to 'no action' (no score): 'Matched map: TO_WHITELIST' from multimap(1)
Dec 6 17:58:17 ns7loc13 rspamd[25074]: <f7d05d>; proxy; rspamd_task_write_log: id: <20.1575651497@nethservertest.org>, qid: <4CB7E60D92BB>, ip: 192.168.56.14, from: <stephanie@de-labrusse.fr>, (default: F (no action): [0.00/20.00] [TO_WHITELIST(0.00){stephane@de-labrusse.fr;}]), len: 491, time: 26.647ms real, 11.107ms virtual, dns req: 1, digest: <0d5dfbeea4e1dd21f15a229fa512faeb>, rcpts: <stephane@de-labrusse.fr>, mime_rcpts: <stephane@de-labrusse.fr>, forced: no action "Matched map: TO_WHITELIST"; score=nan (set by multimap)
Dec 6 17:58:17 ns7loc13 rspamd[25074]: <f7d05d>; proxy; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 0 regexps matched, 185 regexps total, 0 regexps cached, 0B scanned using pcre, 0B scanned total
Dec 6 17:58:17 ns7loc13 postfix/qmgr[25052]: 4CB7E60D92BB: from=<stephanie@de-labrusse.fr>, size=756, nrcpt=1 (queue active)
Dec 6 17:58:17 ns7loc13 postfix/smtpd[25091]: disconnect from ns7loc13.nethservertest.org[192.168.56.14]
test 3 address bl but IP wl OK
Dec 6 18:13:02 ns7loc13 postfix/smtpd[26178]: connect from ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 18:13:02 ns7loc13 rspamd[26100]: <159c70>; proxy; proxy_accept_socket: accepted milter connection from /var/run/rspamd/worker-proxy port 0
Dec 6 18:13:02 ns7loc13 postfix/smtpd[26178]: 3FCBF60D929A: client=ns7loc13.nethservertest.org[192.168.56.14]
Dec 6 18:13:02 ns7loc13 rspamd[26100]: <159c70>; milter; rspamd_milter_process_command: got connection from 192.168.56.14:48534
Dec 6 18:13:02 ns7loc13 postfix/cleanup[26180]: 3FCBF60D929A: message-id=<21.1575652382@nethservertest.org>
Dec 6 18:13:02 ns7loc13 rspamd[26100]: <159c70>; proxy; rspamd_mime_parse_message: cannot find content-type for a message, assume text/plain
Dec 6 18:13:02 ns7loc13 rspamd[26100]: <159c70>; proxy; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit
Dec 6 18:13:02 ns7loc13 rspamd[26100]: <159c70>; proxy; rspamd_message_parse: loaded message; id: <21.1575652382@nethservertest.org>; queue-id: <3FCBF60D929A>; size: 490; checksum: <4a5fb4449930acdb609cb9b6acafc793>
Dec 6 18:13:02 ns7loc13 rspamd[26100]: <159c70>; lua; asn.lua:72: cannot query ip 14.56.168.192.asn.rspamd.com on 127.0.0.1: no results
Dec 6 18:13:02 ns7loc13 rspamd[26100]: <159c70>; proxy; rspamd_add_passthrough_result: <21.1575652382@nethservertest.org>: set pre-result to 'no action' (no score): 'Matched map: IP_WHITELIST' from multimap(1)
Dec 6 18:13:02 ns7loc13 rspamd[26100]: <159c70>; proxy; rspamd_task_write_log: id: <21.1575652382@nethservertest.org>, qid: <3FCBF60D929A>, ip: 192.168.56.14, from: <stephane@de-labrusse.fr>, (default: F (no action): [0.00/20.00] [IP_WHITELIST(0.00){192.168.56.14;}]), len: 490, time: 34.235ms real, 10.190ms virtual, dns req: 1, digest: <4a5fb4449930acdb609cb9b6acafc793>, rcpts: <stephane@de-labrusse.fr>, mime_rcpts: <stephane@de-labrusse.fr>, forced: no action "Matched map: IP_WHITELIST"; score=nan (set by multimap)
Dec 6 18:13:02 ns7loc13 rspamd[26100]: <159c70>; proxy; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 0 regexps matched, 185 regexps total, 0 regexps cached, 0B scanned using pcre, 0B scanned total
Dec 6 18:13:02 ns7loc13 postfix/qmgr[26086]: 3FCBF60D929A: from=<stephane@de-labrusse.fr>, size=755, nrcpt=1 (queue active)
Dec 6 18:13:02 ns7loc13 postfix/smtpd[26178]: disconnect from ns7loc13.nethservertest.org[192.168.56.14]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment