[Dovecot] Fail2Ban and the Dovecot log

Bill Landry bill at inetmsg.com
Tue May 12 00:48:18 EEST 2009


Timo Sirainen wrote:
> On Mon, 2009-05-11 at 17:15 -0400, Lou Duchez wrote:
>> Re: the "dovecot: " at the beginning of the line in the log.  I should 
>> mention that other applications encounter a similar issue with Fail2Ban 
>> -- for example, if you're running Asterisk, you have to alter the log 
>> format such that the timestamp is at the beginning of the line:
> 
> If you log via syslog, the timestamp will be at the beginning of line.

Well, then that would explain it.  Maybe it would be a good idea then to
remove the "dovecot: " from the beginning of each log line when not
using syslog for logging, since I'm pretty sure that anyone checking the
"dovecot.log" would know that it was the "dovecot" log they were looking
at (no need to remind then at the beginning of each and every line).  ;-)

Bill



More information about the dovecot mailing list