Query on sql lookups and order of searches

Benedict White Benedict.White at cse-ltd.co.uk
Thu Aug 8 15:30:09 CEST 2013


>From: Kent Oyer [mailto:kent at micro-source.net] 
>Sent: 08 August 2013 13:34
>To: Benedict White; amavis-users at amavis.org
>Subject: Re: Query on sql lookups and order of searches
>
>In the user's table there is also a priority column. Make sure the generic policy has a higher priority than the more specific one. I think lower numbers have a higher priority but I don't remember for sure
>

That was the answer though it's the other way around, the more specific policy needs an entry in the user table with a higher priority.

Many thanks, that works like a charm.



Kindest regards,

Benedict White



Sent from my Verizon Wireless 4GLTE smartphone
----- Reply message -----
From: "Benedict White" <Benedict.White at cse-ltd.co.uk>
To: "amavis-users at amavis.org" <amavis-users at amavis.org>
Cc: "Kent Oyer" <kent at micro-source.net>
Subject: Query on sql lookups and order of searches
Date: Thu, Aug 8, 2013 7:55 am




From: Kent Oyer [mailto:kent at micro-source.net] 
Sent: 08 August 2013 12:47
To: Benedict White; amavis-users at amavis.org
Subject: Re: Query on sql lookups and order of searches

>It should be @somedomain.co.uk (i.e. without the leading period)

I tried that but then bob at somedomain.co.uk gets the policy applied to him
rather than the more specific one I wanted applied.  Can I apply a specific policy 
to a user in a domain this way that overrides the policy for the rest of the domain?



Kindest regards,

Benedict White


More information about the amavis-users mailing list