Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th May 2009, 13:17
lcguy lcguy is offline
Junior Member
 
Join Date: May 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fedora 10 with virtual users domain with Squirrel mail

Hi,

First of all thanks for the step by step posted in http://www.howtoforge.com/virtual-us...mail-fedora-10.

It works perfectly without having problems during installation.

But, I can't login to squirrel mail and get "ERROR: Connection dropped by IMAP server.

Below is the maillog:

May 18 02:52:21 server1 postfix/smtp[2823]: 9B3184ACB: to=<sales@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=2335, delays=2334/0.06/0.04/0.07, dsn=4.3.2, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to RCPT TO command))
May 18 02:52:21 server1 amavis[2835]: (02835-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=mail;host=127.0.0.1;port=3306' : Access denied for user 'mail_admin'@'localhost' (using password: YES)
May 18 02:52:21 server1 amavis[2835]: (02835-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 85) line 244, <GEN11> line 5.
May 18 02:52:21 server1 amavis[2835]: (02835-01) (!)Requesting process rundown after fatal error
May 18 02:52:21 server1 postfix/smtp[2831]: 324F84ACC: to=<sales@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=2317, delays=2316/0.08/0.71/0.09, dsn=4.3.2, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to RCPT TO command))
May 18 02:54:57 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
May 18 02:54:57 server1 imapd: chdir example.com/sales/: No such file or directory
May 18 02:54:57 server1 imapd: sales@example.com: No such file or directory
May 18 02:55:01 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
May 18 02:55:01 server1 imapd: chdir example.com/sales/: No such file or directory
May 18 02:55:01 server1 imapd: sales@example.com: No such file or directory
May 18 02:55:41 server1 postfix/scache[2833]: statistics: start interval May 18 02:52:21
May 18 02:55:41 server1 postfix/scache[2833]: statistics: domain lookup hits=0 miss=2 success=0%
May 18 02:55:41 server1 postfix/scache[2833]: statistics: address lookup hits=0 miss=2 success=0%
May 18 02:57:21 server1 postfix/qmgr[1874]: 060274AD2: from=<root@server1.example.com>, size=711, nrcpt=1 (queue active)
May 18 02:57:21 server1 postfix/qmgr[1874]: C8F404AD0: from=<root@server1.example.com>, size=708, nrcpt=1 (queue active)
May 18 02:57:21 server1 amavis[2836]: (02836-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=mail;host=127.0.0.1;port=3306' : Access denied for user 'mail_admin'@'localhost' (using password: YES)
May 18 02:57:21 server1 amavis[2836]: (02836-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 85) line 244, <GEN11> line 5.
May 18 02:57:21 server1 amavis[2836]: (02836-01) (!)Requesting process rundown after fatal error
May 18 02:57:21 server1 amavis[2838]: (02838-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=mail;host=127.0.0.1;port=3306' : Access denied for user 'mail_admin'@'localhost' (using password: YES)
May 18 02:57:21 server1 amavis[2838]: (02838-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 85) line 244, <GEN11> line 5.
May 18 02:57:21 server1 amavis[2838]: (02838-01) (!)Requesting process rundown after fatal error
==============================
I have send test mail to sales@example.com and still not working yet.
Is it because of POSTFIX or courier mail or Squirrel mail or AMavis error?

Many thanks.
Jon
Reply With Quote
Sponsored Links
  #2  
Old 18th May 2009, 09:39
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 152 Times in 149 Posts
Default

Your mysql user details are incorrect.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 18th May 2009, 16:31
lcguy lcguy is offline
Junior Member
 
Join Date: May 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Thanks for your reply. You are right, I have corrected mysql details and change POSTFIX's my hostname from server1.example.com to example.com and it works great now.

But, when I login Squirrel webmail, i can login but shows blank page. Don't know why. I'm not sure whether you can help this matter or not.

I check in http log and no errors found. In maillog, it shows it LOGIN and LOGOUT info. Don't know where to see any erros in which log.

Thanks,
Jon
Reply With Quote
  #4  
Old 19th May 2009, 10:28
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 152 Times in 149 Posts
Default

Are you checking the http error log ? NOT access log
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #5  
Old 22nd May 2009, 17:12
lcguy lcguy is offline
Junior Member
 
Join Date: May 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hi, thanks for your reply.

I found out that it's because of MySQL password change plugin in Squirrel. As soon as deactiave this plugin, it can login successfully.

Strange. It means I can't change the password.

Jon
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
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 16:54
Couple of questions on virtual users Stampy HOWTO-Related Questions 6 27th October 2008 22:43
Virtual Users And Domains With Postfix, Courier And MySQL Radukn HOWTO-Related Questions 14 12th October 2008 17:10
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04 mtzcesar HOWTO-Related Questions 3 1st June 2008 10:57
Postfix virtual users cert domain name mismatch DrJohn HOWTO-Related Questions 10 23rd November 2007 12:25


All times are GMT +2. The time now is 07:00.


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