Mike wrote:

> Am having an issue on a server running Amavisd-new 2.3.2 (sendmail-milter
> configuration)...  the users are sending attachments which are banned, but
> the banned file notifications are getting scored so highly as spam by the
> server that they are being discarded... hence from the user point of view
> emails are "disappearing" since the sender never recieves the bounce, and
> the recipient never receives the email.

> Below are the results of sending myself a .exe attachment

> Feb  8 16:17:24 ghrd1 sendmail[25381]: k18NHNKE025381: [EMAIL PROTECTED],
> delay=00:00:01, mailer=esmtp, pri=34237, dsn=4.4.3, stat=queued
> Feb  8 16:17:24 ghrd1 amavis[25339]: (25339) Blocked BANNED (multipart/mixed
> | application/x-msdownload,.exe,AcroRd32.exe), [XX.XX.XX.244]
> <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Queue-ID: k18NHM5Y025371,
> Message-ID: <[EMAIL PROTECTED]>, mail_id:
> 2N8DNlHeFgsh, Hits: -, 600 ms
> Feb  8 16:17:36 ghrd1 amavis[25340]: (25340) Blocked SPAM, LOCAL [127.0.0.1]
> <> -> <[EMAIL PROTECTED]>, Queue-ID: k18NHZ3u025386, Message-ID:
> <[EMAIL PROTECTED]>, mail_id: LB-BOC96h4ti, Hits: 19.242, 843 ms
> Feb  8 16:17:36 ghrd1 sm-msp-queue[25385]: k18NHNKE025381:
> [EMAIL PROTECTED], delay=00:00:13, xdelay=00:00:01, mailer=relay,
> pri=124237, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
> (k18NHZ3u025386 Message accepted for delivery)

> Where should I be looking at changing the configuration to make sure these
> messages from amavis get through?

> Cheers,
>>>>>> Mike <<<<<

Not good that bounces are marked as spam. I suspect it's because of
the milter setup. I don't know, but maybe this does not happen on dual
sendmail setups. You can at least notify yourself when a message
containing a banned file hits.

$mailfrom_notify_admin     = '[EMAIL PROTECTED]';

then add this sender to the @score_sender_maps list:
<...>
 { # a hash-type lookup table (associative array)
     '[EMAIL PROTECTED]'                        => -3.0,
     '[EMAIL PROTECTED]'                 => -20.0,
     '[EMAIL PROTECTED]'              => -3.0,
<...>

Then make yourself a banned_admin
$banned_admin = [EMAIL PROTECTED];

Gary V



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to