Bug#327088: [Logcheck-devel] Bug#327088: Dovecot rules doesn't work with ipv6

Jamie L. Penman-Smithson jamie at silverdream.org
Wed Sep 7 15:05:29 UTC 2005


tags 327088 pending
thanks

On Wed, 2005-09-07 at 16:44 +0200, Marco Nenciarini wrote:
> If you enable ipv6 in dovecot's config, it produces logs with ipv6 addresses within.
> 
> >From my mail.log:
> 
> Sep  7 14:03:59 lorien pop3-login: Login: xxxxxxxx at prato.linux.it [::ffff:11.22.33.44]

I've changed the relevant rules for dovecot so they now look like this:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (imap|pop3)-login: Login:
[.[:alnum:]@-]+ \[(::ffff:)?[0-9.]+\]$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (imap|pop3)-login: Disconnected
\[(::ffff:)?[0-9.]+\]$

I've tested them against the log messages you provided.

Thanks for your bug report,

-- 
-Jamie L. Penman-Smithson <jamie at silverdream.org>
 t: +44 1273 424795; f: +44 1273 424795
 PGP: C0A7 955E EED6 A309 23D7 863B C76A 26A3 F0DC FCA8
 never send mail to: oubliette.z at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20050907/d9383865/attachment.pgp 


More information about the Logcheck-devel mailing list