Autor: Jeremy Harris Data: Para: exim-users Assunto: Re: [exim] Weird error showing up in mainlogy
On 27/11/17 16:07, The Doctor wrote: >> exim -v -d+all -bd
>>
>>
>> This starts Exim in daemon mode with verbose logging at all levels coming
>> out on my terminal. I then send a test message through it ??? either crafted
>> manually or by using the swaks utility ??? from another window, then read
>> through the very verbose logging. This lets you see exactly what's
>> happening, being rewritten, ACLs and routers that are firing, and so on. It
>> should help you locate what is changing the sender address between the
>> message arriving and it going out again.
>>
>
> All right, how do I redirect so that the log files can capture this information?
"exim -d+all -bd 2>&1 | tee mylogfile"
(the "-v" is redundant given the "-d")
As the docs say (in the "Exim command line" chapter, on the "-d" option:
"This option causes debugging information to be written to the
standard error stream."