Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th January 2007, 06:59
jacob jacob is offline
Junior Member
 
Join Date: Jan 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Authentication problem with postfix-courier in MySql

I followed Virtual Users And Domains With Postfix, Courier And MySQL (Fedora Core 5) exactly with the exception of Clamv/Amavis/Spamassasin. I also am using Fedora Core 6. I used the following 3rd party software in place of the onces noted in the How-to:
http://www.enlartenment.com/packages....mf.noarch.rpm
http://ftp-stud.fht-esslingen.de/pub....3.3-2.src.rpm
http://web.onda.com.br/nadal/postfix...3-vda.patch.gz


I added a user and am able to receive email for that user. When I attempt to retreive the messages for that user this is what I get:

Jan 24 20:12:35 gabriel authdaemond: received auth request, service=pop3, authtype=login
Jan 24 20:12:35 gabriel authdaemond: authmysql: trying this module
Jan 24 20:12:35 gabriel authdaemond: SQL query: SELECT email, password, "", 5000., 5000, "/home/vmail", "", "", "", "" FROM users WHERE email = "xxxx@xxxxxxx.com"
Jan 24 20:12:35 gabriel authdaemond: supplied password does not match encrypted password
Jan 24 20:12:35 gabriel authdaemond: authmysql: REJECT - try next module
Jan 24 20:12:35 gabriel authdaemond: FAIL, all modules rejected
Jan 24 20:12:35 gabriel pop3d: LOGIN FAILED, user=xxxxx@xxxxxx.com, ip=[::ffff:127.0.0.1]

courier-authlib-mysql-0.59-1.fc6.mf
courier-authlib-0.59-1.fc6.mf
mysql-server-5.0.27-1.fc6
postfix-2.3.3-2


I have googled all day for this error and have not found a resolution.

I have old_password=1 in my my.cnf

Last edited by jacob; 25th January 2007 at 07:37.
Reply With Quote
Sponsored Links
  #2  
Old 25th January 2007, 17:41
jacob jacob is offline
Junior Member
 
Join Date: Jan 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is either too dificult or I haven't provided enough information. Does anyone have any sugestions? Should I replace the OS with FC5 and follow the How-To again? This seems to be my only option.

I have debugging turned on to show the password but the logs don't look like the others I have seen.
Reply With Quote
  #3  
Old 25th January 2007, 19:22
jacob jacob is offline
Junior Member
 
Join Date: Jan 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK, I have the Fedora Core 5 iso's downloaded and I'm heading over to the Colo to burn them and start again ....
Reply With Quote
  #4  
Old 26th January 2007, 06:35
jacob jacob is offline
Junior Member
 
Join Date: Jan 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I reinstalled the OS with Fedora Core 6 and I am having the same problem.

Here is the error from the maillog

Jan 25 20:14:41 gabriel pop3d: Connection, ip=[::ffff:127.0.0.1]
Jan 25 20:14:58 gabriel pop3d: LOGIN FAILED, user=xxxxx@xxxxxx.com, ip=[::ffff:127.0.0.1]
Jan 25 20:14:58 gabriel pop3d: authentication error: Input/output error

I'm searching the forum ...

smtp works and there is mail waiting for the user

Last edited by jacob; 26th January 2007 at 06:49.
Reply With Quote
  #5  
Old 26th January 2007, 06:51
jacob jacob is offline
Junior Member
 
Join Date: Jan 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I noticed there are two field typs for password in PhpMyadmin and I have tried both.
Reply With Quote
  #6  
Old 26th January 2007, 17:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Have you tried to follow the tutorial as close as possible?

There seems to be a problem with the password. Are you sure the password is correct?
__________________
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
  #7  
Old 26th January 2007, 18:18
jacob jacob is offline
Junior Member
 
Join Date: Jan 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I never resolved the issue before I reverted the OS to FC5. Now that I am on FC5 I have a different problem. I am authenticated for pop3 now but I am receiving an error
( I opened a new thread for it below)

Jan 26 08:07:59 gabriel pop3d: Connection, ip=[::ffff:127.0.0.1]
Jan 26 08:08:18 gabriel authdaemond: received auth request, service=pop3, authtype=login
Jan 26 08:08:18 gabriel authdaemond: authmysql: trying this module
Jan 26 08:08:18 gabriel authdaemond: SQL query: SELECT email, password, "", 5000, 5000, "/home/vmail", "", "", "", "" FROM users WHERE email = "xxxxx@xxxxxxx.com"
Jan 26 08:08:18 gabriel authdaemond: password matches successfully
Jan 26 08:08:18 gabriel authdaemond: authmysql: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, address=xxxxxxx@xxxxxxxx.com, fullname=<null>, maildir=<null>, quota=<null>, options=<null>
Jan 26 08:08:18 gabriel authdaemond: authmysql: clearpasswd=<null>, passwd=Zhs6JTQ143Dk.
Jan 26 08:08:18 gabriel authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, address=xxxxx@xxxxx.com, fullname=<null>, maildir=<null>, quota=<null>, options=<null>
Jan 26 08:08:18 gabriel authdaemond: Authenticated: clearpasswd=xxxxx, passwd=Zxs6xTQ143Dk.
Jan 26 08:08:18 gabriel pop3d: chdir Maildir: No such file or directory
Reply With Quote
  #8  
Old 27th January 2007, 14:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

Quote:
Originally Posted by jacob
Jan 26 08:08:18 gabriel pop3d: chdir Maildir: No such file or directory
You must send an email to a new email account first before you can try to fetch mails. Maildir is created when the first email arrives.
__________________
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
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
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 18:58
Virtual Users And Domains With Postfix, Courier And MySQL.. Authentication Problem stickyplaster HOWTO-Related Questions 17 16th December 2006 15:09
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs k1piee HOWTO-Related Questions 14 1st October 2006 14:46


All times are GMT +2. The time now is 01:15.


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