Created attachment 340469 [details] Add an option to spamass-milter to bypass checks for authenticated users. spamass-milter generates false positives for authenticated users when email is being sent, in part because of the way it generates Received headers. Authenticated users (authenticated via SMTP AUTH) are presumably trusted. This adds an option to enable that desired functionality. With the -I flag, authenticated users bypass SpamAssassin entirely. Based on the Debian patch to do the same thing. I'd love to see this patch incorporated into the upstream -- it reduces load on our servers by avoiding unnecessary SpamAssassin calls and solves the problem of having an authenticated user's email being potentially marked as spam.
spamass-milter-0.3.1-14.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/spamass-milter-0.3.1-14.fc11
spamass-milter-0.3.1-14.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/spamass-milter-0.3.1-14.fc10
Thanks for the patches. You're not the first to ask for this and I've previously held off doing it because (a) I thought this should go upstream first, and (b) there is I think a better way of achieving the same result, namely run the milter on the MTA port only and have authenticating clients use the submission port (587) instead, where their mail will never even be seen by the milter (this is the approach I use myself). However, it seems that there's no activity at all upstream and I imagine some users might have difficulty getting their users to use the submission port (even though it's certainly the "right thing to do" as it also avoids outbound smtp blocking that travelling users might come up against when using hotel etc. networks. So I finally gave in and applied the patch. Thanks again, and please do test the package.
spamass-milter-0.3.1-14.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update spamass-milter'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-4062
spamass-milter-0.3.1-14.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
spamass-milter-0.3.1-14.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.