using the configuration below it doesnt appear that rspamd is actually doing anything when sent XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
. I do see the message land in the rspamd log and it gets delivered to the maildir via opensmtpd.
However when i used rspamd with postfix milter protocol it rejected the gtube message and sent a notification to the sender.
I tested on the same system with same rspamd config. Would much rather use opensmtpd then postfix but i am not sure how to verify or configure what it will do with the spam. I believe i am missing something simple.
filter "rspamd" proc-exec "filter-rspamd"
pki xxx.com cert "/var/lib/acme/live/xxx.com/fullchain"
pki xxx.com key "/var/lib/acme/live/xxx.com/privkey"
listen on eth0 tls pki xxx.com filter "rspamd"
listen on eth0 port 587 tls-require pki xxx.com auth
action "local" maildir
action "relay" relay
match from any for domain xxx.com action "local"
match from local for any action "relay"
match auth from any for any action "relay"
for reference here is the rspamd log entry for the message. The message is not getting rejected like it does with postfix
2023-10-13 09:36:32 #21111(normal) <2a5462>; task; rspamd_task_write_log: id: <redacted>, qid: <c372279c>, ip: redacted, from: <redacted>, (default: F (no action): [1.71/15.00] [MISSING_SUBJECT(2.00){},R_SPF_ALLOW(-0.20){+mx:c;},MIME_GOOD(-0.10){text/plain;},XM_UA_NO_VERSION(0.01){},ARC_NA(0.00){},ASN(0.00){asn:63949, ipnet:redacted, country:SG;},DMARC_NA(0.00){redacted;},FROM_EQ_ENVFROM(0.00){},FROM_HAS_DN(0.00){},MID_RHS_MATCH_FROM(0.00){},MIME_TRACE(0.00){0:+;},PREVIOUSLY_DELIVERED(0.00){redacted;},RCPT_COUNT_ONE(0.00){1;},RCVD_COUNT_TWO(0.00){2;},RCVD_TLS_ALL(0.00){},RCVD_VIA_SMTP_AUTH(0.00){},R_DKIM_NA(0.00){},TO_DN_ALL(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){}]), len: 907, time: 829.999ms real, 23.565ms virtual, dns req: 16, digest: <506b288a17d5df1dce7fd8c98b0dfe60>, rcpts: <redacted>, mime_rcpts: <redacted>