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

-kent

Sent from my Verizon Wireless 4GLTE smartphone

----- Reply message -----
From: "Benedict White" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: Query on sql lookups and order of searches
Date: Wed, Aug 7, 2013 5:32 pm



I am running some tests on a server, and have an sql server (MariaDB) running 
the
schema that comes with the latest version of Amavisd-new. I use the same dsn for
storage and lookups.

What I'm trying to achieve is this:

I want to apply policy 1 to a user with an email of [email protected], and
A different policy (as it happens 12) to all other users at the same domain.

As I understand it from http://www.ijs.si/software/amavisd/README.lookups I can 
do this
by having an entry (users:email)  I presume in users with @.somedomain.co.uk 
with a policy ID of 12
and another user with an email address [email protected] with a policy id 
of 1.

However it seems if I do it like that the policy of 12 applies regardless.  
I've also tried
[email protected] but that just makes the policy for [email protected] 
apply to all users.

Kindest regards,

Benedict White

Reply via email to