On Sat, 2008-12-13 at 23:06 -0500, Jonathan Siegle wrote:
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..
Oh, I guess that'll work. Anyway the problem isn't about ignoring any settings. It's that when running via inetd it logs to stderr. In my system that gets logged to /var/log/syslog.