Current time: 12-24-2024, 04:47 AM Hello There, Guest! (LoginRegister)


Post Reply 
External mail server for a specific domain, howto?
Author Message
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #1
External mail server for a specific domain, howto?
Hi,

I have a few clients that choose to host their domains with me, but run their mail via an in-house or hosted Exchange servers. I have their mail. subdomain pointing to the IP of their Exchange server, and have mail.theirdomain.com set as the only MX entry.

Sending external mail works fine, as it looks up the MX record, and sends the mail straight to the Exchange server.

However, sending mail to them from my server (mostly done via a contact form on the site), or from me directly, fails reporting "user@domain.com : user unknown".

I'm assuming that this domain needs to be not listed in postfix's relay domains list (/etc/postfix/ispcp/domains ?), but that file says not to edit manually, so I'm assuming it will not save my edits.

Is there a way to completely turn off mail for a specific domain in this case, and have the changes persist?

Thanks,
pGentoo
01-26-2009 09:03 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #2
RE: External mail server for a specific domain, howto?
well is discussed in the forum many times...

you have to edit the files under /etc/postfix/ispcp and /etc/ispcp... this way your changes are not overwritten...
01-26-2009 11:07 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)