[Dovecot] LMTP logging
Timo Sirainen
tss at iki.fi
Sun Feb 24 17:08:42 EET 2013
On 22.2.2013, at 22.20, Peter Rindfuss <peter.rindfuss at wzb.eu> wrote:
> Am 22.02.2013 15:50, schrieb Timo Sirainen:
>> On Fri, 2013-02-22 at 15:32 +0100, Peter Rindfuss wrote:
>>> Hi,
>>>
>>> Is there a way (in Dovecot 2.1.14) to sent LMTP log entries and IMAP log
>>> entries to different files? I know I could achieve this with syslog-ng,
>>> but as LDA has a log file of its own, I am wondering if this is possible
>>> with LMTP as well. I apologize if I missed something in the wiki.
>>
>> This should work:
>>
>> service lmtp {
>> executable = lmtp -L
>> }
>> protocol lmtp {
>> log_path = ..
>> }
>>
>
> Thanks, it works ... but now LMTP is logged to both the main log and the lmtp log.
In what way? The exact same messages? If they go through syslog then that's possible, but not if Dovecot logs directly to a file. Dovecot doesn't even have code to be able to to log to two places at the same time.
More information about the dovecot
mailing list