Diff: POPbeforeSMTP

Differences between current version and predecessor to the previous major change of POPbeforeSMTP.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 5 Last edited on Tuesday, September 16, 2003 4:01:36 pm by CraigBox
Older page: version 3 Last edited on Sunday, August 17, 2003 4:32:36 pm by CraigBox Revert
@@ -36,8 +36,20 @@
 The following like will naively match. It works for me :) 
  match (login): .*\[[([[0-9\.]*)\] ([[^ ]*) 
+If you have ipv6 enabled cyrus, it seems you need some extra magic in your regex to deal with this. 'normal' ipv4 addresses are reported as  
+ Sep 16 09:22:49 hydrogen cyrus/pop3d[[16212]: login: \  
+ [[::ffff:] monkey__feet_net_nz plaintext  
+The ::ffff: here screws things up - so I added :f to the inner regex above:  
+ match (login): .*\[[([[:f0-9\.]*)\] ([[^ ]*)  
+This probably wont match on any real ipv6 addresses yet, but i'll cross that bridge when I get to it.  
 See also EximSmtpAuth for an alternative method of achieving the same end.