Mark wrote:

> Ronny,

>> I would be grateful if someone could explain in detail what each of
>> these settings does:
>> #$mailfrom_notify_admin     = "[EMAIL PROTECTED]";
>> #$mailfrom_notify_recip     = "[EMAIL PROTECTED]";
>> #$mailfrom_notify_spamadmin = "[EMAIL PROTECTED]";

> It is the envelope sender address for each type of notifications,
> i.e. notification to virus/banned administrator, to recipient, 
> and to spam administrator. It ends up as Return-Path
> in their header, when they are delivered.

>> However, when a message is sent about a virus/spam, I can see why I
>> would specify who's the message from (notify_admin?),

> Right. And if the notification would bounce, the bouce gets delivered
> to the specified $mailfrom_notify_* address.

>> I can't seem to understand why I would specify the recipient (notify_recip).
>> Isn't the recipient changing?

> It is the _sender_ address of notifications, sent to (virus) recipients.

>> That's why I need a clarification of each of these settings.
>> I can't seem to figure out where the e-mail addresses that I specify
>> here will actually appear on the notification that's sent?

> Return-Path

>> Who is it sent to? etc.

> Admin notifications are sent to $virus_admin (or $spam_admin),
> recipient notifications (if enabled, usually not) are sent to original
> mail recipients.

>   Mark


I put this together to help me understand. Corrections welcome.
Included are comments from amavisd-new-sample.

for VIRUS notification (banned and bad_header are similar):

email to administrator:
#   notify admin  if $virus_admin (lookup) nonempty
MAIL FROM: $mailfrom_notify_admin (envelope sender)
From: same as envelope sender
To: $virus_admin

email to sender:
#   send (non-)delivery notifications
#      to sender if DSN needed (BOUNCE or ($warnvirussender and D_PASS))
MAIL FROM: <> (NULL return path)
From: $hdrfrom_notify_sender (header From)
To: (the sender)

email to recipient:
#   notify recips if $warnvirusrecip and (recipient is local or $warn_offsite)
MAIL FROM: $mailfrom_notify_recip (envelope sender)
From: same as envelope sender
To: (the recipient)

for SPAM notification:

email to administrator:
#   notify admin  if $spam_admin (lookup) nonempty
MAIL FROM: $mailfrom_notify_spamadmin (envelope sender)
To: $spam_admin

email to sender:
#   send (non-)delivery notifications
#      to sender if DSN needed (BOUNCE or ($warnspamsender and D_PASS))
MAIL FROM: <> (NULL return path)
From: $hdrfrom_notify_sender (header From)
To: (the sender)

No point in notifying recipients of spam; either pass all, pass
some, or discard/quarantine.

Gary V



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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