Hi Matthew,
Thank you very much for you input on this. I will spend the next few weeks
trying to get that going.
Unfortunately for me, I have another thread to start before I fix this one.
BRB ...
Chris
-----Original Message-----
From: exim-users-admin@??? [
mailto:exim-users-admin@exim.org]On
Behalf Of Matthew Byng-Maddick
Sent: Monday, 26 November 2001 19:17
To: exim-users@???
Subject: Re: [Exim] condition for localuser delivery
On Mon, Nov 26, 2001 at 03:59:28PM +1000, Chris Goh wrote:
> i use and aliasfile to determine delivery of mails to local mailboxes.
[snip description of only do stuff if it hits the aliasfile]
> is there a condition in the localuser delivery to avoid such deliveries ?.
I can think of two obvious ways of doing it, both of which are quite
hackish.
The first is that in the aliasfile director you have a headers_add=
directive,
which you then check as a condition in the localuser director.
The second is to change the qualification domain to something non-dnsed,
then
include it in local_domains, and explicitly exclude it from every director
except the localuser one, which explicitly includes it.
> any help or pointers would be greatly appreciated ...thanks in advance
Both of these have their problems, and you should know what these are.
In the first case, someone can always send an email to chris@mydomain by
adding the relevant header, though they have to know what it is. In the
second, locally generated mail will only go to the localuser unless fully
qualified to start with.
MBM
--
Matthew Byng-Maddick <mbm@???>
http://colondot.net/
--
## List details at
http://www.exim.org/mailman/listinfo/exim-users Exim
details at
http://www.exim.org/ ##