Sendmail Confit - Wits End
I have Sendmail 8.12.9 on a FreeBSD box. We have a free dedicated server donated by a benefactor and hosted at a local ISP. They like FreeBSD and it has worked well for the hosting.
They have a screwy mail setup where our site is hosted on our dedicated box XXXXXXXXXXX and the mail is hosted on a shared box just resolved to whatever.com Trying to sendmail out of the XXXXXXXXXX (the webserver) works fine as long as it's not a whatever. com email address, in which case it tries to queue it for local delivery instead of forwarding it to XXXXXXXXXXX (the mail server) Any ideas? EDIT: Besides the STUPID requirement that you have to have 5 posts before posting a URL, which pretty much screws ANY use of an example? Bad call admins. |
You might need to configure a transport map. If you're using postfix, the file of interest is /etc/postfix/transport.
|
I am not using Postfix, just a basic sendmail install.
I have tried /etc/hosts entries, changing the hostname of the machine, mailertable entries ... all no good. To recap, the webserver is \/\/\/\/\/\/.domain.com and the 'real' mail sever is domain.com when I do a host localhost on \/\/\/\/\/\/.domain.com I get: Code:
www# host localhost When I try to send mail from \/\/\/\/\/\/.domain.com to *@domain.com sendmail tries to connect to localhost.domain.com, which resolves back to the web server, not the smtp server domain.com where all the mail accounts are located. I have been dealing with this issue for a couple of years. If there are any ideas I sure would appreciate them. |
perhaps your sendmail (sendmail.cf) is configured to accept mails for whatever.com.
|
To see how the address is getting handled,
do the following test $ sendmail -v postmaster@domain.com this is a test to postmaster@domain.com . and see what the verbose output reveals. |
All times are GMT -5. The time now is 08:56 PM. |