bugSpamAssassin Milter Plugin - Bugs: bug #21046, Avoid filtering on SMTP auth


bug #21046: Avoid filtering on SMTP auth

Submitted by:  Stuart <schneis>
Submitted on:  Wed 12 Sep 2007 09:18:33 AM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Todd Kover <kovert>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Fri 15 Aug 2014 02:07:39 AM UTC, comment #1:

freebsd patch incorporated into cvs.

Todd Kover <kovert>
Project AdministratorIn charge of this item.
Wed 12 Sep 2007 09:18:33 AM UTC, original submission:

Email from users who relay using SMTP auth are being scanned and tagged by SpamAssassin. Currently spamass-milter does not do anything with the authentication information available for milters.

There is a patch available for FreeBSD which adds a command-line argument to skip scanning on authentication at:

An alternative patch would be something like (which would allow the creation of an SA rule to score an authentication message):

      • spamass-milter.cpp.orig Wed Sep 12 01:27:55 2007

--- spamass-milter.cpp Wed Sep 12 02:07:59 2007

      • 997,1002 ****

--- 997,1009 ----
warnmacro("_", "ENVRCPT");

+ const char *auth_type = smfi_getsymval(ctx, "{auth_type}");
+ const char *auth_id = smfi_getsymval(ctx, "{auth_authen}");
+ if (auth_type)
+ {
+ assassin->output((string)"X-Authenticated: user "+auth_id+" by "+auth_type+" on "+macro_j+"\r\n");
+ }
assassin->output((string)"X-Envelope-From: "+assassin->from()+"\r\n");
assassin->output((string)"X-Envelope-To: "+envrcpt[0]+"\r\n");

Can either of these patches, or something like them, be incorporated into the official source?


Stuart <schneis>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by kovert (Posted a comment)
  • -unavailable- added by schneis (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 11 Sep 2014 01:08:08 AM UTCkovertStatusReady For Test=>Fixed
    Fri 15 Aug 2014 02:07:39 AM UTCkovertStatusNone=>Ready For Test
      Assigned toNone=>kovert

    Back to the top

    Powered by Savane 3.1-cleanup