OK, looks like I have more information now.
service psa-spamassassin was not running on my server. I started it, and whitelisting works now (according to the spamassassin headers). HOWEVER, I'm watching my maillogs at this pint, and notice that Spamassassin is attempting to scan each message TWICE, once from qmail-scanner, another AFTER qmail-scanner has accepted the message. I get messages like the following:
Code: Select all
Feb 11 10:00:25 u15151464 spamc[1720]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Feb 11 10:00:26 u15151464 spamc[1720]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Feb 11 10:00:27 u15151464 spamc[1720]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Feb 11 10:00:28 u15151464 spamc[1720]: connection attempt to spamd aborted after 3 retries
However, I also get entires subsequent to that, like:
Code: Select all
Feb 11 10:00:28 u15151464 qmail-scanner[1712]: Clear:RC:0(82.236.29.245):SA:0(?/?): 3.523614 2145 vuby34uytrg@got.net known_user@example.com _TUSSI0NEEX,_AMB11EN,_XANAAX,_\/11AGRRA,_C1AL1IS,_\/AL11UM,_AD1PEX_FROM_$65__ <%CUSTOM_A0[20-22]vuby34uytrg@got.net> 1108134025.1714-0.u15151464.onlinehome-server.com:12 1108134025.1714-1.u15151464.onlinehome-server.com:1320 orig-u15151464.onlinehome-server.com11081340246941712:2145
Feb 11 10:00:28 u15151464 spamd[1426]: got connection over /tmp/spamd_full.sock
Feb 11 10:00:28 u15151464 spamd[1731]: Using default config for known_user@example.com: /var/qmail/mailnames/example.com/known_user/user_prefs
Feb 11 10:00:28 u15151464 spamd[1731]: processing message <%CUSTOM_A0[20-22]vuby34uytrg@got.net> for known_user@example.com:110.
Feb 11 10:00:28 u15151464 spamd[1731]: identified spam (7.1/6.0) for known_user@example.com:110 in 0.4 seconds, 2552 bytes.
I want to make sure that spamassassin is run only once per message, and I want qmail-scanner to run it (since it can reject email at the SMTP conversatioin phase), and I want users to be able to configure their spam settings and white/blacklists from plesk. I'll continue to investigate. In the mean time, if anyone (scott?) has any ideas, I'd very much appreciate them!