[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patch] Don't scan messages from authenticated users
From: |
Nigel Horne |
Subject: |
[Patch] Don't scan messages from authenticated users |
Date: |
Sat, 15 Jul 2006 12:00:10 +0100 |
User-agent: |
Thunderbird 1.5.0.4 (X11/20060614) |
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 (address@hidden)
> -------------------------------------------------
>
> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Patch] Don't scan messages from authenticated users,
Nigel Horne <=