Web Hosting Talk







View Full Version : Mail Problem


LinuxGroup
12-06-2001, 01:39 PM
My email is being handled by another server (mail.foo.com) and everything else (ftp, http, ssh, etc) is being handled by my server(foo.com). The only problem is when you use a forum to contact me via email(or any formailer) it delivers it localy instead of to the other server. Any Ideads?

Vince
12-06-2001, 01:53 PM
Assuming you're using Cpanel, remove your domain from /etc/localdomains.
If you're using something else - Remove your domain from whatever file or database stores the list of locally deliverable domains.

Hope this helps.

Vince.

LinuxGroup
12-06-2001, 01:55 PM
Im not using cpanel. Im using sendmail, should of said so :rolleyes: . There is no entry for the domain in the file for local domains.

Vince
12-06-2001, 01:58 PM
I assume you ran newaliases once you removed it?
Or do you mean it was never added?

What happens when you run: mail -v anything@foo.com from the machine hosting the site? Does it deliver locally?

Vince.

LinuxGroup
12-06-2001, 02:02 PM
It was never in there. Yes mail -v delivers it locally

bobcares
12-06-2001, 03:25 PM
Hi!
Why not remove the entry for the domain from /etc/mail/mailertable.
I have assumed that the sendmail configuration files are at /etc/mail.

This may help.

Have a great day :)

regards
amar

LinuxGroup
12-06-2001, 03:26 PM
There arent any entries in /etc/mail/mailertable

bobcares
12-06-2001, 03:33 PM
what does your DNS record look like.
What is the MX setting for this domain.
Also does your procmailrc have any reference to this domain.

Have a great day :)

regards
amar