patchSpamAssassin Milter Plugin - Patches: patch #5241, Patch to avoid scanning emails...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5241: Patch to avoid scanning emails sent by authenticated users

Submitter:  Nigel Horne <nigelhorne>
Submitted:  Sat 15 Jul 2006 11:16:36 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Fri 07 Sep 2007 01:33:38 PM UTC, comment #1: 

This is an excellent patch and a must-have option for Spamass-milter.

I have added Nigel's patch to the Fedora Extras RPM package for spamass-milter. See attached binary and source packages.

(file #13894, file #13895)

Rudy Eschauzier <rudye>
Sat 15 Jul 2006 11:16:36 AM UTC, original submission:  

Index: ChangeLog
===================================================================
RCS file: /sources/spamass-milt/spamass-milt/ChangeLog,v
retrieving revision 1.5
diff -r1.5 ChangeLog
0a1,4

> Sat Jul 15 11:23:07 BST 2006 (njh@bandsman.co.uk)
> -------------------------------------------------
>
> Added --auth flag.

Index: spamass-milter.cpp
===================================================================
RCS file: /sources/spamass-milt/spamass-milt/spamass-milter.cpp,v
retrieving revision 1.90
diff -r1.90 spamass-milter.cpp
172a173

> static        bool    auth = false;   /* don't scan authenticated users */

184c185
<    const char *args = "fd:mMp:P:r:u:D:i:b:B:e:x";
---

>    const char *args = "fd:mMp:P:r:u:D:i:b:B:e:xa";

198a200,202

>                       case 'a':
>                               auth = true;
>                               break;

284c288
<       cout << "                      [-P pidfile] [-r nn] [-u defaultuser] [-x]" << endl;
---

>       cout << "                      [-P pidfile] [-r nn] [-u defaultuser] [-x] [-a]" << endl;

286a291

>       cout << "   -a: don't scan messages over an authenticated connexion." << endl;

774a780,790

>       if(auth) {
>               const char *auth_type = smfi_getsymval(ctx, "{auth_type}");
>
>               if(auth_type) {
>                       // syslog(LOG_ERR, "auth_type %s", auth_type);
>                       debug(D_MISC, "auth_type=%s", auth_type);
>
>                       return SMFIS_ACCEPT;
>               }
>       }
>


* Ospamass-milter.1   2006-07-15 11:20:39.000000000 +0100
--- spamass-milter.1    2006-07-15 11:54:41.000000000 +0100
*************
* 206,211 **
--- 206,216 ----
 or
 .Fl p .
 .El
+ .TP
+ \fB\-\-auth\fR
+ Causes spamass-milter to pass though unchecked any emails from connections
+ established using SMTP authentication. This is useful for sites with
+ remote users.
 .Sh FILES
 .Bl -tag -width "indent"
 .It Pa /usr/bin/spamc

Nigel Horne <nigelhorne>

 

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

Attached Files
file #13894:  spamass-milter-0.3.1-5.src.rpm added by rudye (146KiB - application/x-rpm)
file #13895:  spamass-milter-0.3.1-5.i386.rpm added by rudye (62KiB - application/x-rpm)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rudye (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-09-07 rudye Attached File- Added spamass-milter-0.3.1-5.src.rpm, #13894
        Attached File- Added spamass-milter-0.3.1-5.i386.rpm, #13895

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code