Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP5
spamass-milter
spamass-milter-0.4.0-auth-no-ssf.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File spamass-milter-0.4.0-auth-no-ssf.patch of Package spamass-milter
This change is to help users with Postfix that aren't using the -a option to not pass mail from authenticated users through SpamAssassin. Postfix, unlike Sendmail, does not provide the {auth_ssf} macro, so in the case where mail is from an authenticated user, the modified code can now add an (authenticated) hint in the dummy Received: header (where Sendmail would add (authenticated bits=nnn)), and this is scored favourably by SpamAssassin. http://bugzilla.redhat.com/730308 --- spamass-milter.cpp +++ spamass-milter.cpp @@ -1069,9 +1069,14 @@ mlfi_envrcpt(SMFICTX* ctx, char** envrcp rec_header = (string) "Received: from " + macro_s + " (" + macro__ + ")\r\n\t"; - if (strlen(macro_auth_ssf)) + if (strlen(macro_auth_authen)) { - rec_header += (string) "(authenticated bits=" + macro_auth_ssf + ")\r\n\t"; + rec_header += (string) "(authenticated"; + if (strlen(macro_auth_ssf)) + { + rec_header += (string) " bits=" + macro_auth_ssf; + } + rec_header += (string) ")\r\n\t"; } rec_header += (string) "by " + macro_j + " (" + macro_v + "/" + macro_Z + ") with " +
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor