Your message dated Fri, 23 Dec 2005 14:32:10 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#301755: fixed in spamass-milter 0.3.0-2
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Mar 2005 04:35:11 +0000
>From [EMAIL PROTECTED] Sun Mar 27 20:35:10 2005
Return-path: <[EMAIL PROTECTED]>
Received: from quemadura.shockwave.org [69.228.254.37]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DFly2-0000eU-00; Sun, 27 Mar 2005 20:35:10 -0800
Received: from quemadura.shockwave.org (localhost [127.0.0.1])
(authenticated bits=128)
by quemadura.shockwave.org (8.13.3/8.13.3/Debian-6) with ESMTP id
j2S4Z8Ql012223
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
for <[EMAIL PROTECTED]>; Sun, 27 Mar 2005 20:35:09 -0800
Received: (from [EMAIL PROTECTED])
by quemadura.shockwave.org (8.13.3/8.13.3/Submit) id j2S4Z8d7012222;
Sun, 27 Mar 2005 20:35:08 -0800
Message-Id: <[EMAIL PROTECTED]>
X-Authentication-Warning: quemadura.shockwave.org: pst set sender to [EMAIL
PROTECTED] using -f
Content-Type: multipart/mixed; boundary="===============0751113454=="
MIME-Version: 1.0
From: Paul Traina <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: spamass-milter unreasonably delays authenticated sender's mail...
X-Mailer: reportbug 3.8
Date: Sun, 27 Mar 2005 20:35:08 -0800
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
This is a multi-part MIME message sent by reportbug.
--===============0751113454==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: spamass-milter
Version: 0.3.0-1
Severity: minor
Tags: patch
Since loading spamass-milter, local users have complained that sending
mail takes too long (spamass-milter is checking all their e-mail).
The -i flag doesn't cut it, as we have road-warriors.
This patch adds a new -I flag, which, if added, will cause spamass-milter
to ignore any mail sent by authenticated senders.
PLEASE NOTE: While this patch has been tested, I have *NOT* confirmed
that it does not cause a small memory leak in spamass-milter. I think
it may be possible, I do not fully grok the flow of calls yet. Please
review. I have also sent a copy of this patch on to Dan Nelson
upstream for review.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages spamass-milter depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.3-6 GCC support library
ii libmilter0 8.13.3-6 Sendmail Mail Filter API (Milter)
ii libstdc++5 1:3.3.5-8 The GNU Standard C++ Library v3
ii sendmail 8.13.3-6 powerful, efficient, and scalable
ii spamc 3.0.2-1 Client for SpamAssassin spam filte
-- no debconf information
--===============0751113454==
Content-Type: text/x-c; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="99_authenticated_sender.diff"
--- spamass-milter.cpp 2005-02-04 23:03:22.000000000 -0800
+++ spamass-milter.cpp 2005-03-27 17:13:50.595882304 -0800
@@ -169,6 +169,7 @@
char *spambucket;
bool flag_full_email = false; /* pass full email address to spamc */
bool flag_expand = false; /* alias/virtusertable expansion */
+bool ignore_authenticated_senders = false;
#if defined(__FreeBSD__) /* popen bug - see PR bin/50770 */
static pthread_mutex_t popen_mutex = PTHREAD_MUTEX_INITIALIZER;
@@ -180,7 +181,7 @@
main(int argc, char* argv[])
{
int c, err = 0;
- const char *args = "fd:mMp:P:r:u:D:i:b:B:e:x";
+ const char *args = "fd:mMp:P:r:u:D:i:Ib:B:e:x";
char *sock = NULL;
bool dofork = false;
char *pidfilename = NULL;
@@ -212,6 +213,10 @@
debug(D_MISC, "Parsing ignore list");
parse_networklist(optarg, &ignorenets);
break;
+ case 'I':
+ debug(D_MISC, "Ignore authenticated senders");
+ ignore_authenticated_senders = true;
+ break;
case 'm':
dontmodifyspam = true;
smfilter.xxfi_flags &= ~SMFIF_CHGBODY;
@@ -279,7 +284,7 @@
cout << PACKAGE_NAME << " - Version " << PACKAGE_VERSION << endl;
cout << "SpamAssassin Sendmail Milter Plugin" << endl;
cout << "Usage: spamass-milter -p socket [-b|-B bucket] [-d xx[,yy...]]
[-D host]" << endl;
- cout << " [-e defaultdomain] [-f] [-i networks]
[-m] [-M]" << endl;
+ cout << " [-e defaultdomain] [-f] [-i networks]
[-I] [-m] [-M]" << endl;
cout << " [-P pidfile] [-r nn] [-u defaultuser]
[-x]" << endl;
cout << " [-- spamc args ]" << endl;
cout << " -p socket: path to create socket" << endl;
@@ -293,6 +298,7 @@
cout << " -f: fork into background" << endl;
cout << " -i: skip (ignore) checks from these IPs or netblocks" <<
endl;
cout << " example: -i
192.168.12.5,10.0.0.0/8,172.16/255.255.0.0" << endl;
+ cout << " -I: skip (ignore) checks if sender is authenticated" << endl;
cout << " -m: don't modify body, Content-type: or Subject:" << endl;
cout << " -M: don't modify the message at all" << endl;
cout << " -P pidfile: Put processid in pidfile" << endl;
@@ -761,6 +767,22 @@
struct context *sctx = (struct context *)smfi_getpriv(ctx);
char *queueid;
+ if (ignore_authenticated_senders)
+ {
+ char *auth_authen;
+
+ auth_authen = smfi_getsymval(ctx, "{auth_authen}");
+ debug(D_MISC, "auth_authen=%s", auth_authen);
+
+ if (auth_authen)
+ {
+ debug(D_MISC, "sender authenticated (%s) - accepting message",
+ auth_authen);
+ debug(D_FUNC, "mlfi_envfrom: exit ignore");
+ return SMFIS_ACCEPT;
+ }
+ }
+
debug(D_FUNC, "mlfi_envfrom: enter");
try {
// launch new SpamAssassin
--- spamass-milter.1.in 2004-03-18 10:37:08.000000000 -0800
+++ spamass-milter.1.in 2005-03-27 20:23:09.552408021 -0800
@@ -14,6 +14,7 @@
.Op Fl e Ar defaultdomain
.Op Fl f
.Op Fl i Ar networks
+.Op Fl I
.Op Fl m
.Op Fl M
.Op Fl P Ar pidfile
@@ -119,6 +120,8 @@
flags will append to the list.
For example, if you list all your internal networks, no outgoing emails
will be filtered.
+.It Fl I
+Ignores messages if the sender has authenticated via SMTP AUTH.
.It Fl m
Disables modification of the
.Ql Subject:
--===============0751113454==--
---------------------------------------
Received: (at 301755-close) by bugs.debian.org; 23 Dec 2005 22:40:50 +0000
>From [EMAIL PROTECTED] Fri Dec 23 14:40:50 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
id 1EpvSM-0000Ze-DK; Fri, 23 Dec 2005 14:32:10 -0800
From: Don Armstrong <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.65 $
Subject: Bug#301755: fixed in spamass-milter 0.3.0-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Fri, 23 Dec 2005 14:32:10 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Source: spamass-milter
Source-Version: 0.3.0-2
We believe that the bug you reported is fixed in the latest version of
spamass-milter, which is due to be installed in the Debian FTP archive:
spamass-milter_0.3.0-2.diff.gz
to pool/main/s/spamass-milter/spamass-milter_0.3.0-2.diff.gz
spamass-milter_0.3.0-2.dsc
to pool/main/s/spamass-milter/spamass-milter_0.3.0-2.dsc
spamass-milter_0.3.0-2_i386.deb
to pool/main/s/spamass-milter/spamass-milter_0.3.0-2_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Don Armstrong <[EMAIL PROTECTED]> (supplier of updated spamass-milter package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 23 Dec 2005 05:12:38 -0800
Source: spamass-milter
Binary: spamass-milter
Architecture: source i386
Version: 0.3.0-2
Distribution: unstable
Urgency: low
Maintainer: Don Armstrong <[EMAIL PROTECTED]>
Changed-By: Don Armstrong <[EMAIL PROTECTED]>
Description:
spamass-milter - sendmail milter for filtering mail through spamassassin
Closes: 301755
Changes:
spamass-milter (0.3.0-2) unstable; urgency=low
.
* Add -I option to stop delaying mail from authenticated users. Thanks to
Paul Traina for the patch. (closes: #301755)
* Delete config.h, config.log, and config.status in the clean target
* Update standards version (no changes)
Files:
3aa5c1e6c9f6d275b35a984d13f4c571 610 mail extra spamass-milter_0.3.0-2.dsc
44627fa5b0a9148662c1ad160be1cc90 28462 mail extra
spamass-milter_0.3.0-2.diff.gz
a849c785a885a0e382ba07bc276a4590 44330 mail extra
spamass-milter_0.3.0-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDrHkMgcCJIoCND9ARAsRrAJ9K3YHvE/jl3fdyygz0xpSt7/kzfACfdVrR
gjftP+XpslpEeb5lkOwzxCM=
=8Xwb
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]