Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: [SOLVED] pop before smtp authentication

  1. #11
    sady is offline Junior Member
    Join Date
    Jun 2009
    Posts
    6
    Rep Power
    5

    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+';

  2. #12
    marnellej is offline Junior Member
    Join Date
    Jun 2011
    Posts
    6
    Rep Power
    3

    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.

  3. #13
    marnellej is offline Junior Member
    Join Date
    Jun 2011
    Posts
    6
    Rep Power
    3

    Default

    Still waiting for any assistance on this

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SMTP Authentication
    By ferra in forum Installation
    Replies: 13
    Last Post: 06-26-2008, 07:25 AM
  2. SMTP authentication problems continue
    By EdMartin in forum Installation
    Replies: 2
    Last Post: 01-11-2008, 03:23 AM
  3. can't you help me
    By iwan siahaan in forum Administrators
    Replies: 6
    Last Post: 12-17-2007, 06:53 PM
  4. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  5. SMTP SASL authentication failure
    By igeorg in forum Developers
    Replies: 5
    Last Post: 10-10-2005, 01:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •