Re: [exim] missing log entries

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Heiko Schlittermann
Date:  
À: exim-users
Sujet: Re: [exim] missing log entries
ci@??? <ci@???> (Mo 06 Mai 2013 14:47:27 CEST):
> On Mon, May 06, 2013 at 01:59:05PM +0200 you wrote:
>
> > What, if you watch using strace:
> >
> >     date | strace -o /tmp/log -s 1024 -e open,write exim admin@mydomain

> >
> > The "<=" should appear in the strace log: something similiar like the following
>
> Output of strace says:
>
> | open("/var/log/exim4_incoming/mainlog", O_WRONLY|O_APPEND|O_LARGEFILE) = 4
> | write(4, "2013-05-06 14:30:53 1UZKZB-0007Ho-3k <= root@???
> | U=root P=local S=312 from <root@???> for admin@???\n", 117) = 117
>
> That reveals why the log entry was not where I expected. This entry
> has been written to /var/log/exim4_incoming/mainlog not /var/log/exim4/mainlog


That generates a new question: why do you have the other log entries.
Does the delivery process use an other config? Or do you use expansion
in the log_file_path setting?

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
 gnupg fingerprint: 9288 F17D BBF9 9625 5ABC  285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B)-