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
  #11  
Old 16th March 2012, 00:13
mattgrannary mattgrannary is offline
Junior Member
 
Join Date: Mar 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I decided to revisit the section about aliases and noticed that I had set the two recommended settings to something else when I was trying to figure out the original problem. I've re-edited the aliases file setting the mailer-daemon to postfix and the postmaster to root and root to my user. I ran newaliases and restarted postfix and now I'm seeing the original error where postfix is trying to log in to mysql with my root user....
Reply With Quote
Sponsored Links
  #12  
Old 16th March 2012, 10:16
TiTex TiTex is offline
Senior Member
 
Join Date: Aug 2011
Location: Cluj-Napoca,Romania
Posts: 125
Thanks: 0
Thanked 18 Times in 17 Posts
Send a message via Skype™ to TiTex
Default

the only thing i can think of is that you messed up one of the /etc/postfix/mysql-* files
you should double/triple check and see if in all your files you've setted up the correct mysql credentials/database
Reply With Quote
  #13  
Old 16th March 2012, 15:14
TiTex TiTex is offline
Senior Member
 
Join Date: Aug 2011
Location: Cluj-Napoca,Romania
Posts: 125
Thanks: 0
Thanked 18 Times in 17 Posts
Send a message via Skype™ to TiTex
Default

by the way falko should update the howto , he forgot to add a package to the 3rd step , at least for me yum install cyrus-sasl-devel did not install cyrus-sasl-plain and i was getting an error
Code:
Mar 16 17:02:29 mail postfix/master[1943]: daemon started -- version 2.6.6, configuration /etc/postfix
Mar 16 17:02:57 mail postfix/smtpd[1949]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Mar 16 17:02:57 mail postfix/smtpd[1949]: connect from localhost[127.0.0.1]
Mar 16 17:02:57 mail postfix/smtpd[1949]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
Mar 16 17:02:57 mail postfix/smtpd[1949]: fatal: no SASL authentication mechanisms
Mar 16 17:02:58 mail postfix/master[1943]: warning: process /usr/libexec/postfix/smtpd pid 1949 exit status 1
Mar 16 17:02:58 mail postfix/master[1943]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Mar 16 17:04:54 mail postfix/postfix-script[2010]: stopping the Postfix mail system
Reply With Quote
  #14  
Old 17th March 2012, 12:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Thanks, will have to check. Maybe that package got already installed during the basic system installation. Fact is, the tutorial works for me.
__________________
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
  #15  
Old 19th March 2012, 13:12
TiTex TiTex is offline
Senior Member
 
Join Date: Aug 2011
Location: Cluj-Napoca,Romania
Posts: 125
Thanks: 0
Thanked 18 Times in 17 Posts
Send a message via Skype™ to TiTex
 
Default

my mistake ... i allways use the minimal install iso as i did with the postfix testing instalation

P.S. if your postfix server is on the same box as your MX record you should not add this in your database
Code:
INSERT INTO `transport` (`domain`, `transport`) VALUES ('example.com', 'smtp:mail.example.com');
it will create a loop and mail that your are sending to the localdomain (domain hosted on the box) won't be sent and as a result using mailx to send a wellcome message and create the maildir for the user will not work and you'll get an error on the webmail login
Code:
ERROR:
ERROR: Connection dropped by IMAP server.
and maillog

Code:
Mar 20 09:11:54 server imapd: chdir example.lan/test/: No such file or directory
Mar 20 09:11:54 server imapd: test@example.lan: No such file or directory

Last edited by TiTex; 20th March 2012 at 09:13.
Reply With Quote
Reply

Bookmarks

Tags
centos6, mysql, postfix

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
Need help with ISPConfig Mail and Squirrelmail m.xander Installation/Configuration 109 3rd February 2012 01:15
Webmail jacksmerv Installation/Configuration 13 12th January 2011 15:03
monit howto Jamesk5 HOWTO-Related Questions 11 5th August 2008 16:10
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 10:11
Apache - Virtual hosts - ISPConfig Hans Server Operation 8 23rd April 2006 17:29


All times are GMT +2. The time now is 10:37.


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