Re: [exim] MAIL FROM <"mailbox@domain.tld"@hostname.com>

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Phil Pennock
Dátum:  
Címzett: J Channel
CC: exim-users
Tárgy: Re: [exim] MAIL FROM <"mailbox@domain.tld"@hostname.com>
On 2009-12-18 at 01:01 +0300, J Channel wrote:
> Exim make some senders like this:
> MAIL FROM <"mailbox@???>
>
> exim-4.63-3.el5
>
> Config:
>  accept  authenticated = *
>     condition     = ${if
> eq{${extract{5}{:}{${lookup{$authenticated_id}lsearch{/etc/exim/passwd}}}}}{no}
> {yes}{no}}
>     condition     = ${if
> eq{${extract{3}{:}{${lookup{${domain:$authenticated_id}}lsearch{/etc/exim/domains}}}}}{no}
> {yes}{no}}
>     control       = submission/domain=


What updates the files /etc/exim/passwd and /etc/exim/domains ?

Are they replaced atomically with new, complete, content, or does
something open the files for writing, truncate and then put content in,
so that there's a race condition which you're sometimes losing?

-Phil