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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: J Channel
Ημερομηνία:  
Προς: exim-users, J Channel
Αντικείμενο: Re: [exim] MAIL FROM <"mailbox@domain.tld"@hostname.com>
2009/12/18 Phil Pennock <exim-users@???>

> 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?
>


It was edited inplace, but now changes applied to files 'password.new' and
'domains.new' and cron job sync it with `/bin/cp -uf domains.new domains`. I
guess its atomic operation.

Problem still exist.

How can I enable acl debug for one client? Is there something like
'debug_peer_list' option in postfix?