Guardian Digital Inc. >
InfoCenter >
Mailing List Archives >
Amavis
Amavis Mailing List Archive
Leoš,
> Another daring question: is amavisd-new able to include a
> smtp-authenticated messages (I use Postfix + SASL) into the "locally
> originated" set as well?
Not directly because Postfix does not pass on such information
over its XFORWARD extension in the smtp protocol to a content filter.
You have to somehow separate the locally originating and the authenticated
mail from the rest, and pass each to amavisd on different ports.
Then you can apply different policy banks to each port and
treat each type of mail any way you want.
See examples at:
http://www.ijs.si/software/amavisd/amavisd-new-docs.html
--> Putting policy banks to good use -- examples
> You have deleted the previous party of my message, so let me repeat: the
> "such setup" is scanning (and possibly intercepting) all messages,
> including the ones from the local users. So I would like something like
> $warn*sender (or possibly really a DSN). Is this possible?
Yes, this is DSN indeed. Amavisd-new does compos true standards-compliant
DSN and sends it to the sender when D_BOUNCE is used in the corresponding
*_destiny, unless sending DSN is quenched by some other means (with the
viruses_that_fake_sender for viruses, the $sa_dsn_cutoff_level for spam).
Each policy bank can have its own setting of *_destiny, so you may
set it to D_BOUNCE for internal mail, and to D_DISCARD for the rest;
or have $sa_dsn_cutoff_level higher for internally originating mail
and lower for the rest.
> > You can apply different set of configuration variables for mail
> > originating from inside (or differentiated from the rest in some other
> > way, like being received on a dedicated IP address). The tool for the
> > job is policy banks.
>
> The same question applies as at the beginning: what about
> SASL-authenticated messages? They can come from any IP address...
You need to do some arm-wrestling with Postfix, but it is possible.
See examples at the above URL.
Mark
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
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/
|