Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250291 - The guide no longer builds a working netqmail / vpopmail system
Summary: The guide no longer builds a working netqmail / vpopmail system
Status: RESOLVED DUPLICATE of bug 76617
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: SpanKY
URL: http://www.gentoo.org/doc/en/qmail-ho...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-08 15:35 UTC by David Sperling
Modified: 2009-01-13 12:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Describes upgrade procedure (migrate.txt,1.10 KB, text/plain)
2009-01-13 12:06 UTC, Rob Holland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Sperling 2008-12-08 15:35:20 UTC
The guide no longer builds a working netqmail / vpopmail system because the guide has the user emerge net-mail/courier-imap which pulls in net-libs/courier-authlib-0.60.6 which does not work with vpopmail.  The reader after following the guide ends up with a email server that lacks authentication functionality.

Reproducible: Always

Steps to Reproduce:
1.emerge --sync on amd64(not tested on any other platforms)
2.follow the gentoo netqmail documentation exactly
3.try to authenticate via telnet: eg here: 
http://forums.gentoo.org/viewtopic-p-5302831.html#5302831

Actual Results:  
authentication will fail as below:

david@mammoth ~ $ telnet hawk-virtual.mydomain.com 110
Trying 210.33.255.33...
Connected to hawk-virtual.mydomain.com.
Escape character is '^]'.
+OK <19676.1228650936@hawk-virtual.mydomain.com>
user david%my-virtual-domain.com
+OK
pass mysecret
-ERR authorization failed 

Expected Results:  
Here are the results after downgrading courier-authlib:
david@mammoth ~ $ telnet my-virtualdomain.com 110
Trying 210.33.255.33...
Connected to my-virtualdomain.com.
Escape character is '^]'.
+OK Hello there.
user david%my-virtualdomain.com
+OK Password required.
pass secret
+OK logged in.
quit
+OK Bye-bye.
Comment 1 nm (RETIRED) gentoo-dev 2008-12-08 20:32:08 UTC
Is it possible you missed a configuration step needed for the upgrade? Running dispatch-conf, or otherwise using a new syntax somewhere?

Assigning to the guide's author; AFAIK no one in the GDP knows netqmail or how to fix it.
Comment 2 David Sperling 2008-12-09 01:08:55 UTC
Thank you for your reply.  Syntax errors, config errors are often the case.  However uninstalling version 0.60.6 of courier-authlib and re-installing version 
courier-authlib-0.58 fixes the issue without making changes to any config files.
This would lead me to believe that the issue is with the version of courier-authlib.

What's more upon emerging the following message is displayed:

Messages for package net-libs/courier-authlib-0.60.6:

 *
 * vpopmail support has been removed

Since the guide relies on courier-authlib and vpopmail, this leads me to believe that the documentation is in need of updating and that this is not a syntax error.

If there is any testing that you recommend I try, please let me know I'm happy to help out.

Cheers,

(In reply to comment #1)
> Is it possible you missed a configuration step needed for the upgrade? Running
> dispatch-conf, or otherwise using a new syntax somewhere?
> 
> Assigning to the guide's author; AFAIK no one in the GDP knows netqmail or how
> to fix it.
> 

(In reply to comment #1)
> Is it possible you missed a configuration step needed for the upgrade? Running
> dispatch-conf, or otherwise using a new syntax somewhere?
> 
> Assigning to the guide's author; AFAIK no one in the GDP knows netqmail or how
> to fix it.
> 

Comment 3 SpanKY gentoo-dev 2008-12-09 06:05:13 UTC
Josh: please remove this guide from the list (but not cvs).  it's known to need updates and i dont have time atm to do it.
Comment 4 SpanKY gentoo-dev 2008-12-09 06:05:25 UTC

*** This bug has been marked as a duplicate of bug 76617 ***
Comment 5 nm (RETIRED) gentoo-dev 2008-12-09 07:13:49 UTC
(In reply to comment #3)
> Josh: please remove this guide from the list (but not cvs).  it's known to need
> updates and i dont have time atm to do it.

Mike, I stamped it with the "draft" label, the same as we use for the LDAP guide that's still undergoing revision.

Send us some updates, even if they're not in GuideXML form, whenever you get some time. It'd be nice if there was a quick and easy fix, like just chopping out vpopmail references (unsupported by upstream and all), but if that ain't possible, then the draft disclaimer will do the job.
Comment 6 David Sperling 2008-12-09 16:44:54 UTC
Sorry for double posting this.  This comment should have been put here and not in bug 76617.

While this may be a painful upgrade, Dovecot seems to be a viable option for
the now unsupported courier-authlib dropped authvchkpw module.
Here's a post from the vpopmail list that may be of interest:
http://www.mail-archive.com/vchkpw@inter7.com/msg26301.html

Link to a courier --> dovecot upgrade howto:
http://qmail.jms1.net/dovecot.shtml

HTH,
Comment 7 Rob Holland 2009-01-13 12:06:03 UTC
Created attachment 178347 [details]
Describes upgrade procedure

Describes the migration procedure from courier to dovecot.

Based on:

http://qmail.jms1.net/dovecot.shtml
http://wiki.dovecot.org/AuthDatabase/VPopMail
http://wiki.dovecot.org/Migration/Courier

Please let me know if you need more information or anything else in order to get the document updated.