Carlos,

> When someone sends a message that is blocked / quarantined for banned
> contents or viruses, I would like to get notification sent to
> postmast...@$mydomain however I do not want notification sent to the
> sender that their message was not delivered based on whatever reason.
> Right now I am getting admin notifications but so are the senders. How
> can I stop notifications to the sender that their incoming message was
> not relayed to it's destination?

The sender is probably getting a delivery status notification.
Turn it off by setting:  $final_spam_destiny = D_DISCARD;
instead of D_BOUNCE.

> Second issue is when the sender receives a notification that their
> message was rejected, the message is sent from
> <postmas...@mail.iamghost.com> rather than just
> <postmas...@iamghost.com>.

The domain name in the $hdrfrom_notify_sender defaults to $myhostname.
Either change the $myhostname, or assign $hdrfrom_notify_sender directly:

  $hdrfrom_notify_sender = 'Postmaster <postmas...@iamghost.com>';


Mark

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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