Debian Bug report logs - #745800
can't stop banned notifications

version graph

Package: amavisd-new; Maintainer for amavisd-new is Brian May <[email protected]>; Source for amavisd-new is src:amavisd-new (PTS, buildd, popcon).

Reported by: Daniel Pocock <[email protected]>

Date: Fri, 25 Apr 2014 08:27:02 UTC

Severity: important

Found in version amavisd-new/1:2.7.1-2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Brian May <[email protected]>:
Bug#745800; Package amavisd-new. (Fri, 25 Apr 2014 08:27:06 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Pocock <[email protected]>:
New Bug report received and forwarded. Copy sent to Brian May <[email protected]>. (Fri, 25 Apr 2014 08:27:06 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Daniel Pocock <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: can't stop banned notifications
Date: Fri, 25 Apr 2014 10:22:30 +0200
Package: amavisd-new
Version: 1:2.7.1-2
Severity: important

I get far too many emails such as:

   BANNED contents (application/x-msdos-program,.dat,test1.exe) in mail
FROM ...


The default configuration sends a copy of all these to postmaster

I found this email:
http://permalink.gmane.org/gmane.mail.virus.amavis.user/37395

which suggests adding

$banned_admin = undef;


to the configuration.  I tried adding that immediately under $virus_admin and it didn't help (I did restart amavisd too).

It seems that all banned emails are treated the same as virus/quarantine emails, even if the messages says "No virus found", so as a workaround I set

$virus_admin = undef;

and then I don't get the notifications at all - but this is not desirable either, as they end up in the quarantine directory wasting disk space.

Given the amount of rubbish email these days, it would be better if the default configuration was able to simply bounce everything to sender (where sender address is legitimate) and drop everything else without wasting the postmaster's time.





Information forwarded to [email protected], Brian May <[email protected]>:
Bug#745800; Package amavisd-new. (Fri, 25 Apr 2014 15:15:13 GMT) (full text, mbox, link).


Acknowledgement sent to Henrique de Moraes Holschuh <[email protected]>:
Extra info received and forwarded to list. Copy sent to Brian May <[email protected]>. (Fri, 25 Apr 2014 15:15:13 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Henrique de Moraes Holschuh <[email protected]>
To: Daniel Pocock <[email protected]>, [email protected]
Subject: Re: Bug#745800: can't stop banned notifications
Date: Fri, 25 Apr 2014 12:11:06 -0300
On Fri, 25 Apr 2014, Daniel Pocock wrote:
> $virus_admin = undef;
> 
> and then I don't get the notifications at all - but this is not desirable either, as they end up in the quarantine directory wasting disk space.

Then disable quarantine for these.

> Given the amount of rubbish email these days, it would be better if the
> default configuration was able to simply bounce everything to sender

We must attempt to avoid generating backscatter by default.  You never
bounce viruses back, ever.  You discard them.  And by default, you
quarantine them to help prevent data loss due to miscategorization by the
antivirus, or due to configuration errors.

The real issue here is why the banned stuff is being considered a virus in
the first place.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Information forwarded to [email protected], Brian May <[email protected]>:
Bug#745800; Package amavisd-new. (Mon, 20 Feb 2017 00:51:02 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Brian May <[email protected]>. (Mon, 20 Feb 2017 00:51:02 GMT) (full text, mbox, link).


Information forwarded to [email protected], Brian May <[email protected]>:
Bug#745800; Package amavisd-new. (Mon, 29 Apr 2019 12:48:03 GMT) (full text, mbox, link).


Acknowledgement sent to Matus UHLAR - fantomas <[email protected]>:
Extra info received and forwarded to list. Copy sent to Brian May <[email protected]>. (Mon, 29 Apr 2019 12:48:03 GMT) (full text, mbox, link).


Message #20 received at [email protected] (full text, mbox, reply):

From: Matus UHLAR - fantomas <[email protected]>
To: [email protected]
Subject: should be fixed in 2.8.0
Date: Mon, 29 Apr 2019 14:35:13 +0200
Hello,

according to amavisd changelog, this bug should be fixed in 2.8.0
https://www.ijs.si/software/amavisd/release-notes.txt

amavisd-new-2.8.0 release notes

- removed an old compatibility measure: default value of @banned_admin_maps
 was changed from:
   @banned_admin_maps = (\$banned_admin, \%virus_admin, \$virus_admin);
 to a more consistent:
   @banned_admin_maps = (\$banned_admin);
 The previous default value of @banned_admin_maps tried to maintain
 compatibility with versions before the setting was separated from
 its companion @virus_admin_maps. Now this compatibility is no longer
 considered necessary and contributes to some confusion, so it was dropped.

-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Despite the cost of living, have you noticed how popular it remains? 



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 19:41:01 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.