Web Hosting Talk







View Full Version : Exim to not deliver locally?


JustinK
01-02-2002, 11:09 PM
I'm just curious because this seems to be a growing problem for anyone that has exim on a server. Does anyone happen to know how to stop local delivery to a domain and instead send it out into the web or just to where an MX record for the domain points to? Now this isn't directing all mail on the server to the set MX records, just the mail for a specific domain.

Example:

Joan owns mymailbox.com
She signs up for hostx.
She has her MX records for the domain pointed to everyone.net
Joan has a contact form on her site as well.
When someone uses the contact form to send to her mymailbox.com account it delivers the mail on the server instead of to the everyone.net account.


Someone has to know how to get it to go to where the MXRecord is pointing to instead...

I searched hear, popped through the extremely large and unsearchable exim site, and searched through both the mailing list and google. I only found one post of someone requesting the same thing there along with a response to read the damned site instead of something useful like an answer.

Chicken
01-02-2002, 11:17 PM
Well, you could set up a forward on the server so that anything that heads into the box goes out to ummm... errrr... well, somewhere else at least. Errr... or just check that account. Doesn't answer the question really, sorry.

JustinK
01-02-2002, 11:27 PM
If I did use some outside mail server for my stuff I'd be perfectly fine checking up on locally delivered mail. However not all customers are as understanding about doing that with their domains as I am with mine. And it's gotten to a point where they should be able to get mail sent from the server they're on to the mailserver their MX Record is pointed to. I'm just hoping someone has found a fix for this by now since so many people use exim (that lovely cpanel/whm mix).

peteW
01-02-2002, 11:59 PM
what I do is just take the domain out of /etc/localdomains.

Had been working fine for the last month but just checked it now and all of the domains have been rewritten into localdomains. All the domains are now listed twice rather than just once. Probably rewritten by /scripts/mailperm that I ran yesterday.
So I just went through again and took out the ones I have mx records for.

JustinK
01-03-2002, 12:33 AM
If it works and the customer doesn't see it, it's a fix. ;D If anyone else has any other ways of doing it that may be a bit more permanent, please fill me and anyone else reading through this in. :)

kunal
01-03-2002, 07:10 AM
the only way is to remove the domain from /etc/localdomains... nothing else you can doo.. :(

sasha
11-05-2002, 08:54 PM
have to revive this topic.

Anyone found a way to stot domins from coming back to localdomains ?