Vinod Kurup

Hospitalist/programmer in search of the meaning of life

Jul 5, 2003 - 2 minute read - Comments - sysadmin mail

More Mail Woes

I spent most of this afternoon struggling with a mail issue and I didn’t find it documented well anywhere else, so I’m going to write about it here in the hopes that it might help someone else.

What I was trying to do: Setup qmail + vpopmail + courier imap for imap and pop3d

Problem I was having: For some users, checking POP3 mail would work for a while (about 5 minutes), but then would fail:

      Jul  5 00:30:34 vkurup pop3d: LOGIN FAILED, ip=[::ffff:68.173.27.35]
      Jul  5 00:30:34 vkurup pop3d: Disconnected, ip=[::ffff:68.173.27.35]

The failure would only happen for users who had vpopmail accounts and shell accounts. Users who have only vpopmail accounts were fine.

Eventually, after much searching, I found this message which advised to configure courier-imap with --without-authdaemon. This solved my problem.

According to the author of courier-imap, this problem is solved in newer versions of vpopmail, but he mentions version 5.3.38 and I could only find version 5.3.20, so I didn’t try that fix.

Comments from old site

THANK YOU

Thank you very much - it solved my problem !!!

pop3d was causing me serious grief, it just gave error message "pop3d: LOGIN FAILED". It's supposed to authenticate to MySQL - but according to MySQL's log, there's no query to the mail database.

Turned out I created a username in the mail database that's the same as a user in the system, as you said.

So I created another user - lo, pop3d now queries to MySQL !!

Funny thing is I've looked around the Internet for hours, and your blog is the only place that mention it.... unbelieveable.

Again, many thanks !!

cheers,

Harry

Harry Sufehmi 2004-08-24 08:02:40

Core Mac OS X and UNIX Programming marriage 'tames' genius

comments powered by Disqus