Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 12th April 2007, 23:45
KenSentMe KenSentMe is offline
Junior Member
Join Date: Apr 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Old hostname in /etc/hosts and postfix won't go away

Hi there.

I installed postfix on a Ubuntu Dapper install and use ISPConfig to manage things. I've configured my system and postfix with a hostname that isn't currently usable (e.g. the domain is currently set to another ip).

I've edited main.cf and set myhostname to localhost. But everytime a mail comes in postfix tries to deliver it to user@old.hostname.org.

I've restarted postfix, but that didn't help. Any ideas?

This is my /etc/postfix/main.cf: http://paste.ubuntu-nl.org/15267/

And these are the messages i get in mail.log:

Apr 12 22:26:58 localhost postfix/smtp[5282]: connect to ubuntu606m.worldofubuntu.com[]: Connection timed out (port 25)
Apr 12 22:26:58 localhost postfix/smtp[5261]: A3EAB6E837F: to=<jeroen_mijnfotomap@ubuntu606m.worldofubuntu.co m>, orig_to=<jeroen@mijnfotomap.nl>, relay=none, delay=1432, status=deferred (connect to ubuntu606m.worldofubuntu.com[]: Connection timed out)

ubuntu606m.worldofubuntu.com is the address i used as a hostname in /etc/hosts and /etc/postfix/main.cf as myhostname. The address is currently not yet running in this server.

What am i missing here?
Reply With Quote
Sponsored Links
Old 13th April 2007, 10:30
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,011
Thanks: 840
Thanked 5,651 Times in 4,461 Posts

What is in the file /etc/hostname?

Please post the output of:

hostname -f
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
Issues with Postfix using "Virtual Users And Domains With Postfix, Courier And MySQL" Kyse HOWTO-Related Questions 15 6th January 2007 16:35
Postfix - dnsreport greeting - hostname not matching xkworld Installation/Configuration 11 27th December 2006 12:58
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36
postfix Helo command rejected: need fully-qualified hostname gabriele Server Operation 4 11th May 2006 22:38

All times are GMT +2. The time now is 16:36.

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