Hi,

I have some trouble filtering my spam, as everything I try from the commandline 
works fine (spamc -t < spam.eml , where spam.eml is a spam message i dragged 
out of Mail.app and uploaded to the server), but when delivered to SA by my MTA 
(Haraka), it gets a way too low score (11 vs 3.5 respectively). The spamd.log 
shows that the online blacklist checks are not run in the last case:

spamc                    MTA (Haraka)
--------                 -----
HTML_MESSAGE             HTML_MESSAGE                    
POOR_DOMAIN              POOR_DOMAIN                
PYZOR_CHECK              PYZOR_CHECK                
RP_MATCHES_RCVD          RP_MATCHES_RCVD                    
SPF_HELO_PASS            SPF_HELO_PASS                    
SPF_PASS                 SPF_PASS                
T_REMOTE_IMAGE           T_REMOTE_IMAGE                    
URIBL_BLOCKED            URIBL_BLOCKED                    
RCVD_IN_MSPIKE_H4
RCVD_IN_MSPIKE_WL
RCVD_IN_RP_RNBL
RCVD_IN_SBL_CSS
TVD_RCVD_IP
TVD_RCVD_IP4
URIBL_ABUSE_SURBL
URIBL_DBL_SPAM
My MTA and SA run locally, and I haven’t set anything special for 
trusted_networks. I think that is picked up allright seeing this in the mails:

X-Spam-Relaysuntrusted: [ ip=91.92.108.188 rdns=thesequestion.top 
helo=thesequestion.top by=alpha.mydomain.io ident= 
envfrom=blearedn...@thesequestion.top intl=0 
id=EC7C2A51-41A1-48A7-BA9A-6CDF35C1916C.1 auth= msa=0 ]
And that ip is also the ip the message was received from.

SA is run like this /usr/bin/perl -T -w /usr/sbin/spamd -d 
--pidfile=/var/run/spamassassin.pid -x --virtual-config-dir=/etc/spamassassin/ 
--max-children 1 --username spamd -s /var/log/spamassassin/spamd.log 
--debug=check pyzor  by systemctl, and the logs and headers of the message can 
be found here: https://gist.github.com/tino/2925d64a018310dc02a8 
<https://gist.github.com/tino/2925d64a018310dc02a8>

Any ideas on how to make SA able to run the remote tests from my MTA?

Thanks,


Tino

Reply via email to