Re: [Exim] condition for localuser delivery

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Matthew Byng-Maddick
Dátum:  
Címzett: exim-users
Tárgy: 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/