Bug 186937

Summary: pop-before-smtp is out of date and broken with IPv6 (and newer Dovecot)
Product: [Fedora] Fedora Reporter: Michael H. Warfield <mhw>
Component: pop-before-smtpAssignee: Warren Togami <wtogami>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: extras-qa, mhw
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://sourceforge.net/mailarchive/forum.php?thread_id=9591218&forum_id=8461
Whiteboard:
Fixed In Version: 1.41-1.fc5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-25 16:09:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 171491    

Description Michael H. Warfield 2006-03-27 16:02:10 UTC
Description of problem:

When IPv6 is enabled (which it is by default) Dovecot logs IPv4 addresses into
the maillog log file in the compatibility format ::ffff:{IPv4}.  This format is
not recognzied by the pop-before-smtp regex in version 1.36.  This was fixed in
version 1.37.  The current version for pop-before-smtp is 1.41 and the 1.36
version is over a year and a half old.  This package is really out of date and
needs to be brought up to the current version.  This old version would not even
recognize the newer Dovecot logging format of "rip=" so is probably broken even
when IPv6 is not enabled (not tested).

Note discussion in thread at URL where they were hoping to, at least, see 1.39
in FC5.  This is broken in FC4 and FC5.


Version-Release number of selected component (if applicable):

1.36

How reproducible:

Always fails

Steps to Reproduce:
1. Enable pop-before-smtp for Dovecot and test
2. Addresses are not added to popauth database
3. Addresses in log file are in ::ffff:{IPv4} format and not recognized
  
Actual results:

No addresses are added to the popauth database

Expected results:

Each authenticated address should be added.


Additional info:

Package is terribly out of date and broken.  Needs to be brought up to date to
match current log formats and IPv6 support.

Comment 1 Warren Togami 2006-04-20 00:30:12 UTC
You generally need to modify it to use your log format anyway.  If you want it
to support ipv6 out of the box, then pleaes submit suitable patches that are
accepted upstream.  When upstream has it, I will incorporate it here.


Comment 2 Michael H. Warfield 2006-04-21 03:04:43 UTC
Excuse me?

The current release upstream already incorporates the relevant patches and has
for some time.  They don't need any more patches.  All that's needed is to
update Fedore Extras to the 1.41 release and incorporate the fixes that already
exist upstream.  1.41 already supports IPv6 compatibility addresses out of the
box.  Fedora extras doesn't because it's only 1.36 (and I've checked the regex's
and they are NOT backported patched).

You say, "When upstream has it"...  Well...  Upstream has had it for over a
year.  Looking forward to Fedora Extras picking it up.




Comment 3 Warren Togami 2006-05-25 16:09:19 UTC
1.41-1.fc5 has been in Extras for a while now.