Justin,

> I am receiving emails with banned content that have faked From and
> Return-path information.  Amavisd is sending a banned content notification
> back to these forged addresses.  I would like to prevent those messages
>  from being sent to the forged addresses, but I (the postmaster) wish to
> continue receiving the notice of the banned content as I do now.  What is
> the best method to accomplish this?

> I am using amavisd-new 2.6.4 with Postfix 2.3.3.

have you set any $warn*sender manually? Normally amavisd doesn't send
any notification to the sender of the message because most of the used
sender addresses are forged.

If you use any of these settings and you pass such emails to the
recipients then the sender gets a notification.

$warnbadhsender = 1;
$warnvirussender = 1;
$warnspamsender = 1;
$warnbannedsender = 1;

You can set the values to "0" to prevent the sending of notifications.

These options are only valid if you pass emails with such content to
the recipient (final_*_destiny = D_PASS or recipient is defined as a
"banned_files_lovers").

If you don't use any of the above settings then you use D_BOUNCE or
D_REJECT as $final_banned_destiny.

When you use "$final_banned_destiny = D_BOUNCE" or "D_REJECT" then the
sender of the email gets a non delivery status notification independet
of the warn*sender settings above.

If so, then you should set "$final_banned_destiny = D_DISCARD" to
silently discard such emails without any notification to the sender.

The admin/postmaster notifications should not be affected.


Daniel


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
AMaViS-user mailing list
[email protected] 
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