Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 22nd June 2010, 22:58
austingecko austingecko is offline
Junior Member
Join Date: May 2010
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fetchmail - use IP instead of FQDN

Ran into a scenario where I needed to put an IP address in the Pop3/Imap Server field in fetchmail but kept getting an error: "Pop3/Imap Server is not a valid domain name."

Basically I was replacing an old LAMP server running Ubuntu 8.04 with Ispconfig2 using a new box in the same local area network. After setting up the new perfect server with the same domains, email etc I went to use the fetchmail feature in Ispconfig3 and received the error above. Obviously I could not use the FQDN as it would be pointing to itself instead of the old server I wanted to pull mail from.

My solution was simple: First I set up a fetchmail entry. Then I used PHPMyAdmin to go into the database and modify the record in the table mail_get. Just modify the source_server field and replace the FQDN with the IP address.

After I did this the server started pulling over emails. Hours later I was able to officially retire the old LAMP server.

Hope this helps someone in the future. In the meantime I'm going to enter this on the bug tracker.

Edit: Looks like someone has already added it to the bugtracker. If you need this please vote for it on the bugtracker here.

Last edited by austingecko; 22nd June 2010 at 23:11.
Reply With Quote
Sponsored Links
Old 23rd June 2010, 15:58
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

The solution is to edit the /etc/hosts file in your linux distribution and add a line like this:

123.123.123 yourgetmailhost.tld

and then use yourgetmailhost.tld in ISPConfig as address for the getmail server.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


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
ISPConfig 3.0.2 | Amavis crashes because of Fetchmail Hans General 1 15th March 2010 15:17
Fetchmail won't flush my account kameelperdza Installation/Configuration 10 22nd June 2009 19:05
Fetchmail retrieval configuration on the clients side perfectpol7 Server Operation 8 19th May 2009 16:26
Email Set Up XTCHost Server Operation 5 6th September 2008 13:03
Mails Download bllyne Installation/Configuration 5 17th April 2007 10:52

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

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