Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Migration

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old 02-06-2010, 11:53 AM
Junior Member
 
Posts: 6
Default

This is string for nginx.log (for Zimbra Proxy server)
Code:
$PID_pat = '(\d+\/\d+\/\d+\ \d+\:\d+\:\d+) \[info\] \d+\#\d+\: \*(\d+) ';
$IP_pat = $PID_pat . 'client (\d+\.\d+\.\d+\.\d+) connected to .*';
$OK_pat = $PID_pat . 'client logged in, client: \d+\.\d+\.\d+\.\d+\, server: \d+\.\d+\.\d+\.\d+\:\d+';
Reply With Quote
  #12 (permalink)  
Old 06-29-2011, 10:14 PM
Junior Member
 
Posts: 6
Default

Quote:
Originally Posted by simgar View Post
Due to out zimbra implementation being a migration from an existing server with hundreds of users all using pop-before-smtp, we were require to enable this tool as well. Everything from the mnxsolutions blog posting above worked fine except that the INFO multiline authentication patterns did not catch IMAP logins, so we changed them to the following and everything appears to be working correctly, both POP3 and IMAP:

$PID_pat = '^[LOGTIME],\d+\ INFO \[(?:Pop3|Imap)[A-Za-z]+-(\d+)\] ';
$IP_pat = $PID_pat . '[\S\s]+(?:\[|=)(\d+\.\d+\.\d+\.\d+)[\S\s]+ connected';
$OK_pat = $PID_pat . '[\S\s]+name=[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}[\S\s]+(?op|imap) \- user [A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4} authenticated, mechanism=[A-Za-z]+';
Can anyone update the regex for
Release 7.1.1_GA_3196.UBUNTU10_64 UBUNTU10_64 FOSS edition.
Reply With Quote
  #13 (permalink)  
Old 07-26-2011, 01:20 AM
Junior Member
 
Posts: 6
Default

Still waiting for any assistance on this
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.