[Dovecot] Imap logging and inetd

Jonathan Siegle jsiegle at psu.edu
Sun Dec 14 06:06:03 EET 2008


On Dec 13, 2008, at 10:54 PM, Timo Sirainen wrote:

> On Tue, 2008-12-02 at 13:48 -0500, Jonathan Siegle wrote:
>> Jonathan Siegle said the following on 12/2/08 7:16 AM:
>>> 	When I ran /usr/local/sbin/dovecot, the variable
>>> login_log_format_elements from dovecot.conf was honored. Now when  
>>> I run
>>> /usr/local/libexec/dovecot/imap-login from /etc/inetd.conf, it  
>>> isn't.
>>> How do I get imap-login to write log lines that use
>>> login_log_format_elements for the format?
>>>
>>>
>>> This is dovecot-1.2.alpha3 soon to be alpha4.
>>>
>>> Thanks,
>>> Jonathan
>> I found where to get my desired result in src/master/mail-process.c.
>
> Huh? mail-process.c only affects post-login imap/pop3. What did you
> change?
>
The goal was to print a line with the user and the IP address with a  
date/time stamp. So I send those to syslog from here. Is that bad  
information? I haven't gotten bad info from it yet..

-Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1706 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20081213/b3483833/attachment.bin 


More information about the dovecot mailing list