On 1/17/08, Mark Martinec wrote:
>
> > Appears to me (could be wrong) some routines need to know whether
> > a message originates from us (client is in our network, client is
> > authenticated, etc.) and once this state is known (or once it is set),
> > it's more efficient to store this info in a single boolean variable than
> > it is to calulate this state each time it's needed. Plus, having the
> > state in a single variable makes it easy to manipulate.
>
> Yes, sort of. It is not a matter of efficiency, but setting the
> state of the originating flag is the only way that amavisd can be
> told whether a message was submitted from our users (from internal
> networks or by authenticated roaming users), as opposed to all other mail.
>
>  Mark
>

Ah, Ok. Currently no reliable way for amavisd-new to know when a
client has authenticated via the MTA, so in this case (for example)
originating must be explicitly set (via a policy bank).

The default for @mynetworks lists private address space, so can I
assume that if this is not changed, and only the default policy bank
is loaded, that $originating is true for private addresses? Or is it
required to create a MYNETS policy bank (even an empty one) so
$originating is true for addresses in @mynetworks?

-- 
Gary V

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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