View previous topic :: View next topic |
Author |
Message |
newtonian Guru
Joined: 19 Jan 2005 Posts: 465 Location: Hokkaido Japan
|
Posted: Sun Dec 07, 2008 12:30 pm Post subject: netqmail pop3 authentication fails - netqmail howto[solved] |
|
|
Hi -
I followed the gentoo netqmail howto and set up a qmail server.
http://www.gentoo.org/doc/en/qmail-howto.xml
The server accepts email and delivers it fine but fails to authenticate outside users.
Here are the tests I have run:
* this looks good
Code: | hawk-virtual service # printf "david@my-virtual-domain.com\0mysecret\0blah\0" | vchkpw `which id` 3<&0
uid=89(vpopmail) gid=89(vpopmail) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video) |
* this looks bad
Code: | 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
Connection closed by foreign host. |
The " printf "david@my-virtual-domain.com\0mys..." statements show up in the mail log as:
Code: | Dec 7 21:16:06 [vpopmail] vchkpw-pop3: (PLAIN) login success david@my-virtual-domain.com: |
login failures don't show up in /var/log/everything/current or the mail/current log
* any ideas on where to look would be much appreciated.
Cheers,
Last edited by newtonian on Mon Dec 08, 2008 3:11 pm; edited 2 times in total |
|
Back to top |
|
|
TheNewb Apprentice
Joined: 10 Jun 2005 Posts: 183
|
Posted: Sun Dec 07, 2008 3:59 pm Post subject: |
|
|
Unfortunately, I'm in the same situation.. I can not offer a solution though, as I'm not sure where to get one.
You might look in /var/log messages and see something like the following:
Code: |
Dec 7 08:48:08 richie authdaemond: stopping authdaemond children
Dec 7 08:48:08 richie authdaemond: modules="authvchkpw", daemons=7
Dec 7 08:48:08 richie authdaemond: Installing libauthvchkpw
Dec 7 08:48:08 richie authdaemond: libauthvchkpw.so: cannot open shared object file: No such file or directory
|
Also, courier-imap has this to say :
Code: |
>>> Installing net-mail/courier-imap-4.0.6-r2
* Authdaemond is no longer provided by this package.
* Authentication libraries are now in courier-authlib.
* For a quick-start howto please refer to:
* /usr/share/doc/courier-imap-4.0.6/courier-imap-gentoo.readme.gz
|
Although, courier-authlib has this to say about vpopmail:
Code: |
* vpopmail support has been removed, it's unmaintained upstream and will be
* removed with the next release.
|
I'm at a loss as to what to do to get it working.
Everything I'm reading seems to indicate that using authmysql is the way to go, but I'm not quite sure where to look to get that going, or how to migrate to it.
I hope something in this is help to you. _________________ #define struct union /* A Real space saver! */ |
|
Back to top |
|
|
newtonian Guru
Joined: 19 Jan 2005 Posts: 465 Location: Hokkaido Japan
|
Posted: Mon Dec 08, 2008 3:10 pm Post subject: [solved] - kind of |
|
|
Thank you for that info.
It looks like there is an issue with net-libs/courier-authlib-0.60.6 and vpopmail. The howto is in need of update.
For the time being you can roll back to courier-authlib-0.58 to get around the issue.
Code: |
emerge -C courier-authlib
emerge =net-libs/courier-authlib-0.58
/etc/init.d/courier-authlib restart
|
Code: | 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.
Connection closed by foreign host.
|
I'll look around and see if there is a ticket in bugzilla and or contact the author of the howto and let him know about the issue.
Cheers, |
|
Back to top |
|
|
newtonian Guru
Joined: 19 Jan 2005 Posts: 465 Location: Hokkaido Japan
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|