Thank you all.
I'll need to read this over and over again.

I wish that Amavisd's documentation was a little better.
It's really sad that such a GREAT software has very cryptic
documentation, that hinders me from using it to its fullest.

As of now, I'm quite confused by all the different headers which are
added (or not) by mysterious conditions.

Thanks

-RoNNY



On 6/21/05, Mark Martinec <[EMAIL PROTECTED]> wrote:
> Gary,
> 
> > 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
> Yes, unless overruled by $hdrfrom_notify_admin, which controls
> the From: header field.
> 
> > To: $virus_admin
> Yes. Actually what comes out of @virus_admin_maps,
> which defaults to $virus_admin
> 
> > email to sender:
> > #   send (non-)delivery notifications
> > #      to sender if DSN needed (BOUNCE or ($warnvirussender and D_PASS))
> Right. DNS is also suppressed in some other cases,
> like when virus name matches @viruses_that_fake_sender_maps,
> or the Precedence is 'list' (mailing lists).
> 
> > MAIL FROM: <> (NULL return path)
> Correct. It is actually a non-documented $mailfrom_notify_sender,
> which is required by RFC to be empty.
> 
> > From: $hdrfrom_notify_sender (header From)
> > To: (the sender)
> Yes.
> 
> > 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
> Yes, unless overridden by $hdrfrom_notify_recip.
> 
> > 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
> From: hdrfrom_notify_admin
> 
> > email to sender:
> > #   send (non-)delivery notifications
> > #      to sender if DSN needed (BOUNCE or ($warnspamsender and D_PASS))
> also suppressed for mailing lists and if spam score above $sa_dsn_cutoff_level
> (actually @spam_dsn_cutoff_level_maps, which default to $sa_dsn_cutoff_level)
> 
> > 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.
> 
> Right.
> 
> Mark
> 
> 
> -------------------------------------------------------
> 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/
>


-------------------------------------------------------
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_idt77&alloc_id492&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