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
  #21  
Old 7th August 2008, 19:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by yelles View Post
I have now checked the log and it says:

Aug 7 18:09:45 Inleed-S1 imapd: Connection, ip=[::ffff:127.0.0.1]
Aug 7 18:09:45 Inleed-S1 imapd: authdaemon: s_connect() failed: Connection refused
Aug 7 18:09:45 Inleed-S1 imapd: [Hint: perhaps authdaemond is not running?]
Aug 7 18:09:45 Inleed-S1 imapd: LOGIN FAILED, user=support@inleed.net, ip=[::ffff:127.0.0.1]
Aug 7 18:09:45 Inleed-S1 imapd: authentication error: Connection refused
Aug 7 18:09:49 Inleed-S1 postfix/local[31345]: fatal: open /etc/postfix/mysql-aliases.cf: No such file or directory

What should mysql-aliases.cf contain?
Can you post your main.cf? http://www.howtoforge.com/virtual-us...-ubuntu8.04-p2 doesn't use the file mysql-aliases.cf.
__________________
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
Sponsored Links
  #22  
Old 7th August 2008, 21:18
yelles yelles is offline
Junior Member
 
Join Date: Aug 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okey, did edit my main.cf correct now... i think. The error message now is only:

Aug 7 21:16:18 Inleed-S1 imapd: Connection, ip=[::ffff:127.0.0.1]
Aug 7 21:16:18 Inleed-S1 imapd: authdaemon: s_connect() failed: Connection refused
Aug 7 21:16:18 Inleed-S1 imapd: [Hint: perhaps authdaemond is not running?]
Aug 7 21:16:18 Inleed-S1 imapd: LOGIN FAILED, user=support@inleed.net, ip=[::ffff:127.0.0.1]
Aug 7 21:16:18 Inleed-S1 imapd: authentication error: Connection refused

Any idea?

Regards
Reply With Quote
  #23  
Old 8th August 2008, 16:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Please try this:
Code:
/etc/init.d/courier-authdaemon restart
/etc/init.d/courier-imap restart
/etc/init.d/courier-imap-ssl restart
/etc/init.d/courier-pop restart
/etc/init.d/courier-pop-ssl restart
__________________
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
  #24  
Old 8th August 2008, 23:32
yelles yelles is offline
Junior Member
 
Join Date: Aug 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

All restarts went well. But i still got the error in syslog:

Aug 8 23:31:05 Inleed-S1 imapd: Connection, ip=[::ffff:127.0.0.1]
Aug 8 23:31:05 Inleed-S1 imapd: authdaemon: s_connect() failed: Connection refused
Aug 8 23:31:05 Inleed-S1 imapd: [Hint: perhaps authdaemond is not running?]
Aug 8 23:31:05 Inleed-S1 imapd: LOGIN FAILED, user=support@inleed.net, ip=[::ffff:127.0.0.1]
Aug 8 23:31:05 Inleed-S1 imapd: authentication error: Connection refused

Reply With Quote
  #25  
Old 9th August 2008, 12:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Do you get any errors when you run
Code:
/etc/init.d/courier-authdaemon restart
?
What's the output of
Code:
ps aux
?
__________________
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
  #26  
Old 9th August 2008, 17:01
yelles yelles is offline
Junior Member
 
Join Date: Aug 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yeah :S alots...

Code:
/etc/courier/authdaemonrc: line 1: MYSQL_SERVER: command not found
/etc/courier/authdaemonrc: line 2: MYSQL_USERNAME: command not found
/etc/courier/authdaemonrc: line 3: MYSQL_PASSWORD: command not found
/etc/courier/authdaemonrc: line 4: MYSQL_PORT: command not found
/etc/courier/authdaemonrc: line 5: MYSQL_DATABASE: command not found
/etc/courier/authdaemonrc: line 6: MYSQL_USER_TABLE: command not found
/etc/courier/authdaemonrc: line 7: MYSQL_CRYPT_PWFIELD: command not found
/etc/courier/authdaemonrc: line 9: MYSQL_UID_FIELD: command not found
/etc/courier/authdaemonrc: line 10: MYSQL_GID_FIELD: command not found
/etc/courier/authdaemonrc: line 11: MYSQL_LOGIN_FIELD: command not found
/etc/courier/authdaemonrc: line 12: MYSQL_HOME_FIELD: command not found
/etc/courier/authdaemonrc: line 13: syntax error near unexpected token `('
/etc/courier/authdaemonrc: line 13: `MYSQL_MAILDIR_FIELD CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')'
Reply With Quote
  #27  
Old 10th August 2008, 12:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's in /etc/courier/authdaemonrc?
__________________
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
  #28  
Old 10th August 2008, 13:04
yelles yelles is offline
Junior Member
 
Join Date: Aug 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found this in that file:

Code:
MYSQL_SERVER localhost
MYSQL_USERNAME mail_admin
MYSQL_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
Reply With Quote
  #29  
Old 11th August 2008, 14:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

I think you've mixed up /etc/courier/authdaemonrc and /etc/courier/authmysqlrc in chapter 7 on http://www.howtoforge.com/virtual-us...-ubuntu8.04-p2
__________________
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
  #30  
Old 11th August 2008, 14:55
yelles yelles is offline
Junior Member
 
Join Date: Aug 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Opps

How should /etc/courier/authdaemonrc be completed with? Now i have only:

authmodulelist="authmysql"

But the guide says

...
authmodulelist="authmysql"
...

So what should be before and after

authmodulelist="authmysql"


Regards!
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, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 10:49
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail Ubuntu 8.04 paulodani HOWTO-Related Questions 7 4th June 2008 00:46
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04 mtzcesar HOWTO-Related Questions 3 1st June 2008 10:57
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04) canardwc HOWTO-Related Questions 12 29th May 2008 18:29
Virtual Users And Domains W/ Postfix, Courier and MySql + Squirrelmail prob nsurge HOWTO-Related Questions 10 23rd October 2006 17:43


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


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