[Dovecot] pop before smtp

F. Even dovecotlists at elitists.org
Sat Mar 5 13:56:07 EET 2005


Problem solved:

http://sourceforge.net/mailarchive/forum.php?thread_id=6733354&forum_id=8461

From: Wayne Davison <wayned at us...>
Re: pop before smtp
2005-03-04 09:24

  On Fri, Mar 04, 2005 at 06:07:01AM -0600, F. Even wrote:
  > I had uncommented the stock pattern in the latest version to no avail:
  >
  > # For Dovecot POP3/IMAP
  > #$pat = "^(... .. ..:..:..) \S+ (?:dovecot: )? (?:imap|pop3)-login: " .
  > #    "Login: \S+ \[(\d+\.\d+\.\d+\.\d+)\]";

  That pattern had a typo in 1.36 (it"s fixed in CVS).  There"s an extra
  space after the optional "dovecot: " section that needs to be removed:

  $pat = "^(... .. ..:..:..) \S+ (?:dovecot: )?(?:imap|pop3)-login: " .
      "Login: \S+ \[(\d+\.\d+\.\d+\.\d+)\]";

  ..wayne..



F. Even wrote:
> I'm using the latest version of dovecot on my FreeBSD 4.x box with 
> OpenPKG to keep other services up to date.  Now...I'm able to get pbsmtp 
> to allow relaying through postfix on this server using UW IMAP, but I 
> would like to get dovecot working with relaying...but pbsmtp is not 
> adding the ip when I uncomment the dovecot section after I authenticate. 
>  The log is below:
> 
> [root at cerebus:/opt/sbin] ./pop-before-smtp --version
> version: 1.36
> 
> Mar  4 05:14:09 cerebus last message repeated 5 times
> Mar  4 05:19:46 cerebus dovecot: Killed with signal 15
> Mar  4 05:20:00 cerebus dovecot: Dovecot v1.0-test62 starting up
> Mar  4 05:20:34 cerebus dovecot: imap-login: Login: user [ip.ad.dr.ess]
> Mar  4 05:30:21 cerebus dovecot: imap-login: Login: user [ip.ad.dr.ess]
> 
> 
> I had uncommented the stock pattern in the latest version to no avail:
> 
> # For Dovecot POP3/IMAP
> #$pat = '^(... .. ..:..:..) \S+ (?:dovecot: )? (?:imap|pop3)-login: ' .
> #    'Login: \S+ \[(\d+\.\d+\.\d+\.\d+)\]';
> 
> 
> 
> Thanks for any help anyone might be able to provide.
> 
> Frank




More information about the dovecot mailing list