Re: [exim] missing log entries

Góra strony
Delete this message
Reply to this message
Autor: Heiko Schlittermann
Data:  
Dla: exim-users
Temat: Re: [exim] missing log entries
ci@??? <ci@???> (Mo 06 Mai 2013 10:44:04 CEST):
> On Fri, May 03, 2013 at 07:22:45AM -0700 you wrote:
>
> > Add a "-d" to the exim commandline and post that.
>
> Did it. Result is (mail from root to admin):
>
> | Data file written for message 1UZGXY-0005nP-Ej
> | >>Generated Received: header line
> | P Received: from root by mail.our.domain with local (Exim 4.72)
> |         (envelope-from <root@???>)
> |         id 1UZGXY-0005nP-Ej
> |         for admin@???; Mon, 06 May 2013 10:13:35 +0200
> | calling local_scan(); timeout=300
> | local_scan() returned 0 NULL
> | Writing spool header file
> | Size of headers = 308
> | LOG: MAIN
> |   <= root@??? U=root P=local S=325 T="Test"
> | search_tidyup called
> | >>>>>>>>>>>>>>>> Exim pid=22283 terminating with rc=0 >>>>>>>>>>>>>>>>


I'd say, it looks as expected. Though there is no delivery process
exec'ed. But the "<=" line seems to be written.

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

open("/var/log/exim4/mainlog", O_WRONLY|O_APPEND) = 4
write(4, "2013-05-06 13:57:02 [13631] 1UZK2Q-0003Xr-Qg <= root@??? U=root P=local S=374\n", 98) = 98

These are the very last two lines in the strace output.

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