Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: webmail lite mailserver ip cached Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
stuarts
Newbie
Newbie
Avatar

Joined: 07 March 2011
Location: Australia
Online Status: Offline
Posts: 3
Posted: 07 March 2011 at 9:01pm | IP Logged Quote stuarts

Hi, I had the opportunity to build a new mailserver when mine crashed last night. The new machine has a new ip address. I went to configure the new ip in the adminpanel to find that it was set to localhost. The mail server and the webserver for Webmail Lite didn't used to be on the same server. It doesn't matter, what address I put in the POP and SMTP server fields, it still tries to connect to the old IP. I have verified this from the logs generated by Webmail Lite. As a workaround, I have configured the new and the old addresses on the NIC on the system so that it responds to Webmail Lite's requests.

I cannot find the address of the old mailserver in any of the old config files.

Can any one tell me where the IP is being stored so that I can fix this.
Back to Top View stuarts's Profile Search for other posts by stuarts
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 09 March 2011 at 2:12am | IP Logged Quote Igor

In case if you have supplied localhost as mail server name, WebMail would resolve it automatically at all times
without any caching. You might need to tweak data of user accounts though, direct database tweak may be helpful.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
stuarts
Newbie
Newbie
Avatar

Joined: 07 March 2011
Location: Australia
Online Status: Offline
Posts: 3
Posted: 12 March 2011 at 7:00pm | IP Logged Quote stuarts

even set at localhost, the logs show it still looking for the old mailserver.
Back to Top View stuarts's Profile Search for other posts by stuarts
 
stuarts
Newbie
Newbie
Avatar

Joined: 07 March 2011
Location: Australia
Online Status: Offline
Posts: 3
Posted: 12 March 2011 at 7:03pm | IP Logged Quote stuarts

I'm not familiar enough with mySQL to edit the database. Does the mailserver IP get stored in the user account settings. I couldn't find any references to the IP in any files in the data folders.
Back to Top View stuarts's Profile Search for other posts by stuarts
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 13 March 2011 at 11:51am | IP Logged Quote Igor

If you have initially specified IP address for mail server, then yes, IP address will be there. Check awm_accounts
table, look for particular email and see what's set for mail_inc_host and mail_out_host.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide