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
Prev Previous Post   Next Post Next
Old 25th August 2007, 00:44
edge edge is offline
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts
Default Send email to domain with MX record on other server?

I've been trying for some days now, but till now with no luck.

In ISPconfig I've got a domain www.somename.com (lets call this server server_1).
The website and DNS is running on this ISPconfig server (server_1), but the email for that domain is on an other server (lets call it server_2)

Within ISPconfig (server 1) I've created the domain www.somename.com.
For the domain www.somename.com I've enabled Create DNS.
I've also created an user & email as I needed it to FTP to the site.
I also set the Mailserver (under the tab options) to External Mailserver.

In the DNS for domainname.com I've setthe MX record to an A record that points to the server that is used for mail.

When I email with a user account that does run on the ISPconfig (server_1) to somename.com, the mail will not go to server_2 (it get an error saying "Your message did not reach some or all of the intended recipients. Recipient address rejected: User unknown in local recipient table"
(note that this is only when I use an email account that is on server_1)

Looking at /etc/postfix/local-host-names it does still show somename.com
Should the option "External Mailserver" not remove this from the local-host-names file?

When I use an account that is NOT running op server_1, mail (gmail, hotmail etc... ) all is working fine for somename.com

Anyone here who might know what is going on?
Never execute code written on a Friday or a Monday.
Reply With Quote
Sponsored Links


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
php Apps email not going through palkat General 8 21st September 2011 06:35
Cannot send email from OE through ISPconfig site tomd General 10 12th March 2009 07:05
Rejecting outbound mail tristanlee85 General 11 20th May 2007 18:04
No SPF record. beryl Installation/Configuration 6 17th May 2007 20:52
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 11:01

All times are GMT +2. The time now is 05:42.

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