Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th June 2007, 21:48
unclecameron unclecameron is offline
Senior Member
 
Join Date: Apr 2006
Posts: 115
Thanks: 2
Thanked 8 Times in 7 Posts
Default Debian Etch Courier POP3 won't authenticate

I followed the How-To on Debian Etch / Postfix / mysql authentication, and I can send but not receive, I get this error in the log file:

Jun 14 12:19:53 mail1 courierpop3login: LOGIN FAILED, user=cameron@mydomainname.com, ip=[::ffff:72.130.152.161]
Jun 14 12:19:58 mail1 courierpop3login: Disconnected, ip=[::ffff:72.130.152.161]
Jun 14 12:20:03 mail1 courierpop3login: Connection, ip=[::ffff:209.242.153.18]

the output on netstat -tap is:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:10024 *:* LISTEN 15714/amavisd (mast
tcp 0 0 localhost:10025 *:* LISTEN 15504/master
tcp 0 0 localhost:mysql *:* LISTEN 2677/mysqld
tcp 0 0 *:smtp *:* LISTEN 15504/master
tcp6 0 0 *:imaps *:* LISTEN 11464/couriertcpd
tcp6 0 0 *op3s *:* LISTEN 11493/couriertcpd
tcp6 0 0 *op3 *:* LISTEN 16276/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 11447/couriertcpd
tcp6 0 0 *:www *:* LISTEN 2406/apache2
tcp6 0 0 *:ssh *:* LISTEN 1047/sshd

but I get no other errors anywhere, I can send mail, my mail client finds the courier pop3 server okay, so I don't think it's firewall (I checked) or mysql db, my authmysqlrc shows:

MYSQL_SERVER localhost
MYSQL_USERNAME mail_admin
MYSQL_PASSWORD the_right_password
MYSQL_PORT 0
MYSQL_DATABASE mail
MYSQL_USER_TABLE users
MYSQL_CRYPT_PWFIELD password
#MYSQL_CLEAR_PWFIELD password
MYSQL_UID_FIELD 5000
MYSQL_GID_FIELD 5000
MYSQL_LOGIN_FIELD email
MYSQL_HOME_FIELD "/home/vmail"
MYSQL_MAILDIR_FIELD CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
#MYSQL_NAME_FIELD
MYSQL_QUOTA_FIELD quota

Where else should I be looking, there's no apparent errors in auth.log

Thanks,
Cameron
San Diego
Reply With Quote
Sponsored Links
  #2  
Old 15th June 2007, 14:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Does your Courier configuration look exactly like the one in the tutorial (chapter 7, http://www.howtoforge.com/virtual_us...debian_etch_p3 )?

Is mydomainname.com in the domains table? Is cameron@mydomainname.com in the users table?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 15th June 2007, 20:15
unclecameron unclecameron is offline
Senior Member
 
Join Date: Apr 2006
Posts: 115
Thanks: 2
Thanked 8 Times in 7 Posts
 
Default

I found the problem, I followed the instructions correctly, but I had to change the mysql connection string in

authmysqlrc

from

MYSQL_SERVER localhost

in the instructions, to

MYSQL_SERVER 127.0.0.1

now it works, seems Debian is picky about this sometimes

Thanks,
Cameron
San Diego
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier And MySQL & debian etch Tortanick HOWTO-Related Questions 5 19th June 2007 12:29
Virtual Users And Domains With Postfix, Courier And MySQL (Debian Etch) MisterVlad Server Operation 8 15th June 2007 18:29
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
Pls Help - Problem installing OpenVZ with Debian Etch. joelee HOWTO-Related Questions 3 14th January 2007 18:37
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 19:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.