Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th December 2012, 16:08
matute matute is offline
Junior Member
 
Join Date: Nov 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help with strange email conf behavoir

Hi I've installed almost 1.5 years ago an ISP 3.0.3 in a multiple server config with Debian.
I've got server 1 (S1) with ispconfig
server 2 (S2) mysql
server 3 (S3) mail
I did this installation taking as a guide the tutorial named:
Multiserver Setup With Dedicated Web, Email, DNS & MySQL Database Servers On Debian Squeeze With ISPConfig 3

I also bought the user guide. Everything was working fine 'till yesterday. I entered a new mail forward and when I tried to mail that address I found the mails were rejected by S3 with a message stating "Recipient address rejected: User unknown in virtual mailbox table (state 13)."
After looking at everything for many hours I found that the account information was being saved in the mysql in S1 rather than the one in S3 but postfix looks for this info in S3. Now I don't know which is the proper way in which this should work, should it save the info in S3? should it synchronize the info from S1 to S3? I'm not sure about that. Sorry for my poor english and let me know if you need me to clarify anything.

Also I entered a new email account and I see it saved in table mail_user in S1 but I don't see it in table mail_user in S3 and therefore it doesn't work...

Hope someone out there may help me with this issue because it's kind of driving me nuts.
Regards
Reply With Quote
Sponsored Links
  #2  
Old 29th December 2012, 17:22
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

If you installed a ispconfig multiservers etup, then the info should get synced automatically between the servers. If the sync dont work, then you can debug it with the instructions here:

http://www.howtoforge.com/forums/showthread.php?t=58408

The most likely reason for your problem is:

1) You changed the mysql configuration of the master so mysql is not listening on all interfaces anymore.
2) A firewall was started on the master server which blocks the mysql port.
3) A hostname or IP address of one of the server ahs been changed or the /etc/hosts file does not contains the information for all servers of this cluster.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 2nd January 2013, 14:13
matute matute is offline
Junior Member
 
Join Date: Nov 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Till, thanks for the info! I'll try it and let you (and the rest of the readers) the result. I think neither of the 3 things you mention changed, but I wasn't sure how the synchro worked, so now I will read the info in your link and debug it.
Thanks a lot!
Regards.
Reply With Quote
  #4  
Old 2nd January 2013, 21:20
matute matute is offline
Junior Member
 
Join Date: Nov 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Finally got it working, everything was related to a block in the mysql (the solution is to perform a mysqladmin -flush-hosts -p.
What made me sick for a while was that the connection failing was from the slave to the master, and I was performing the mysqladmin on the slave, but the debug info on the slave only stated the error without indicating where it was trying to connect. And I wasn't able to figure it until I modified server.php and added an echo with the DBHost, DBUser and DBPass. After I performed it on the master server everything started working fine.
Regards, happy new year.
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
Updates manarak General 17 15th August 2009 18:33
Since this morning SMTP Server OFFLINE qriz Installation/Configuration 14 28th July 2009 15:05
hotmail rejects outgoing email nzimas Server Operation 3 1st May 2009 03:39
Strange email delivery behaviour zarrelli Installation/Configuration 17 31st July 2006 15:22
Strange Salutatory Email helfrez Installation/Configuration 3 18th May 2006 20:44


All times are GMT +2. The time now is 22:24.


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