On Fri, Jul 12, 2002 at 03:11:20PM +1000, Chris Goh wrote:
| Hi all,
|       
| I've been trying to work out one things but seem to not have enough
| of a clue to get anywhere. I can briefly describe this problem I am
| having as 'problem with filtering using user prefs when dealing with
| an aliased addresses ?'
...
| so lets say my alias is 'chris' (hence [EMAIL PROTECTED]) and my
| username is 'christo' 
| 
| if mail coming into [EMAIL PROTECTED], spamd will run with uid
| 'chris' (of course...no such user on system)...so it does not run
| the user_pref file in home dir

As Olivier suggested, do the scanning after the alias has been
expanded.

To do that, just move the spamcheck director below the alias-expanding
("redirect" in exim4, "smartuser" IIRC in exim) director.

exim processes the directors in order, and the first one to accept the
address is run.  If you have the alias-expanding one first, it will
accept "chris@" and redirect it to "christo@".  After that, the
spamcheck director will accept "christo@" and do the scanning as user
'christo'.

-D

-- 
 
The crucible for silver and the furnace for gold,
but the Lord tests the heart.
        Proverbs 17:3
 
http://dman.ddts.net/~dman/

Attachment: msg07348/pgp00000.pgp
Description: PGP signature

Reply via email to