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

 
 

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

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

Submitted by:  Nigel Horne <nigelhorne>
Submitted on:  Sat 15 Jul 2006 11:16:36 AM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/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>

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rudye (Updated 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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 07 Sep 2007 01:33:38 PM UTCrudyeAttached 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.1-cleanup