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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th November 2011, 17:22
dinsdale dinsdale is offline
Junior Member
 
Join Date: Jun 2008
Posts: 18
Thanks: 2
Thanked 5 Times in 3 Posts
Default dedicated email setup. Email sent from main server only delivered locally.

Hi,

I have a two server setup with dedicated webserver and mail server.
Mail sent to a hosted client domain from the webserver (e.G. a web form) is delivered via maildrop and not relayed to the destination as I would expect.
It then can be found locally in the vmail directory on the webserver.
Any other mail to other domains coming from the webserver is delivered correctly, just local domains are delivered, well, locally.

I don't understand why, since mail from the outside arrives correctly at the mail server.

Nov 10 10:57:42 webserver postfix/pipe[24329]: A30FF308D: to=<name@domain.com>, relay=maildrop, delay=0.11, delays=0.05/0.02/0/0.04, dsn=2.0.0, status=sent (delivered via maildrop service)

I'm running IPSConfig 3.0.3 on ubuntu 11.04

I checked mydestination in main.cf which points correctly to the hostname. webserver.domain.com

Any hint where to dig would be appreciated. Where appart from mydestination does ispconfig or postfix think that they are responsible for a domain? The webserver is not configured as mail server at all.

Thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 11th November 2011, 12:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Did you create domain.com as an email domain on the webserver? Or is your webserver's hostname domain.com?
__________________
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
The Following User Says Thank You to falko For This Useful Post:
dinsdale (11th November 2011)
  #3  
Old 11th November 2011, 13:39
dinsdale dinsdale is offline
Junior Member
 
Join Date: Jun 2008
Posts: 18
Thanks: 2
Thanked 5 Times in 3 Posts
Default

Thx for your reply, actually the hostname was only set to webserver1 and email. Not the FQN. I changed the /etc/hostname so it became now the same as /etc/mailname

webserver1.domain.com
email.domain.com

and rebooted, but no change so far.

In ISPConfig under Sites and Email the corresponding server is selected with the FQN webserver1.domain.com and email.domain.com

I also can ping between the two servers using their FQN.

I'm still unsure why webserver1 thinks that it is responsible for maildelivery via maildrop instead of contacting email for mail delivery as it does with any other domain.

At some point in the past I had to rename the main serverdomain which included several manual changes in config files but I would be surprised if that's the issue since the problem domains are virtual (client) domains.
Reply With Quote
  #4  
Old 11th November 2011, 14:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
Default

Quote:
At some point in the past I had to rename the main serverdomain which included several manual changes in config files but I would be surprised if that's the issue since the problem domains are virtual (client) domains.
Thats mots likely the reason for the problem, as domain definitions in postfix or system config files override virtual domain settings in postfix. So if you missed to change the domain in a single palce, then the local postfix instance will behave as authoritive server for that domain. Have you checked /etc/hosts as well?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 11th November 2011, 16:19
dinsdale dinsdale is offline
Junior Member
 
Join Date: Jun 2008
Posts: 18
Thanks: 2
Thanked 5 Times in 3 Posts
Default

/etc/hosts looks fine on first inspection. I guess I will have to grep for the old domain name across the hd.

Quick question inbetween, Would upgrading ispconfig not rewrite all configuration files? Since I'm still on 3.0.3 I could upgrade to 3.0.4.
Reply With Quote
  #6  
Old 11th November 2011, 18:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
 
Default

A upgrade rewrites some configuration files, but it never changes the hostname in one of the files.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
dedicated server, maildrop, 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
Can't Ping over VPN RoMiONeT Server Operation 2 4th July 2010 00:19
Debian 5 Ajax error + network interface always shutting down ev0css Installation/Configuration 3 5th June 2010 12:58
Sending mail ISPConfig 3 but not receivind catza Installation/Configuration 20 19th May 2010 12:47
Can't start apache Musty Server Operation 12 9th March 2008 13:58
Problems with Postfix Mysql Courier PatrickAdrichem Installation/Configuration 3 13th April 2007 15:44


All times are GMT +2. The time now is 08:34.


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