Re: [AMaViS-user] Mailfrom help

This is a discussion on Re: [AMaViS-user] Mailfrom help within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Gary, > I put this together to help me understand. Corrections welcome. > Included are comments from amavisd-new-sample. &...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-22-2005
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] Mailfrom help

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
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:22 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0