On Mon, Jul 18, 2005 at 08:03:52PM -0400, Matt Juszczak wrote:

> Hi all,
> 
> We just switched to amavisd-new and an LDAP back end.  For my LDAP schema, 
> I use mailLocalAddress and mailRoutingAddress.  It seems that 
> amavisd-new's schema requires the "mail" attribute.  I assume this is the 
> equivelent of the "mailLocalAddress" attribute I'm using?  If so, what is 
> the mailRoutingAddress equivelent that matches the mail attribute?  Should 
> I switch the schema?  Or should I just switch all my mailLocalAddresses' 
> to "mail" attributes?

By default amavisd-new uses the 'mail' attribute, you can actually use
any attribute you want. For example setting:

$default_ldap = {
    ...
    query_filter => '(&(objectClass=amavisAccount)(mailLocalAddress=%m))',
    ...
}

will use 'mailLocalAddress'. Basically whatever attribute is specified
along with the '%m' is expanded and used in the query.

I don't know what/how the 'mailRoutingAddress' is or how you're using
it. All amavisd-new cares about is what attribute contains the 
envelope address (or parts of, @domain.com, @, etc.) of the messages
intended recipient(s) so that it can do a search and find the settings
associated with that address.

--

Mike Hall,
System Admin - Rock Island Communications           <[EMAIL PROTECTED]>
System Admin - riverside.org, ssdd.org              <[EMAIL PROTECTED]>


-------------------------------------------------------
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/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to