From: "Mark Martinec" <[EMAIL PROTECTED]>
> On the amavisd side, subroutine preprocess_policy_query would need
> to be extended to recognize additional attribute passed from the
> amavisd-milter, come to a decision that this mail is coming from
> an authenticated client, and switch policy bank accordingly.
> It's about 10 lines of code, I can do it unless somebody else
> does it first.
>
> The main task is to decide what kind of additional information
> would be useful for amavisd-milter to add to its list of attributes
> passed to amavisd. I could be either some raw information like
> 'user used SASL to authenticate', and let amavisd decide what to do
> with it, or alternatively, let amavisd-milter digest all its knowledge
> about client IP address and his authentication, and pass on an already
> digested attribute to amavisd, e.g. just a policy name:
> policy_bank=AUTHENTICATED-CLIENT
>
> Which approach is better is probably a matter of discussion with
> Petr Rehor and amavisd-milter mailing list. Passing just a policy name
> over the protocol is less work and no additional configuration parameters
> for me, and more for Petr. And vice versa.
>
> Mark
I'm very interested in this solution.
I've been testing new beta version of amavisd-milter by Petr Rehor
amavisd-milter-1.2.1-beta3.tar.gz
This version added new feature:
===============================================
Added info about user authentication to synthesized received header.
Format of synthesized received header is now:
Received: from <hello> (<rdns> [<ip>]) (authenticated bits=<bits>)
by <hostname> (<rdns> [<ip>])
with <protocol> (authenticated as <user>) id <qid>;
<date>
(envelope-from <sender>)
===============================================
Is it possible to use information included in Received from as a condition
to policy_bank.?
Regards,
Jurek
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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/