LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Sendmail Confit - Wits End (https://www.linuxquestions.org/questions/linux-software-2/sendmail-confit-wits-end-76791/)

bdbourn 07-28-2003 09:17 PM

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.

jgombos 07-28-2003 09:58 PM

You might need to configure a transport map. If you're using postfix, the file of interest is /etc/postfix/transport.

bdbourn 07-29-2003 08:58 AM

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
localhost.domain.com has address 127.0.0.1

I am unsure where this is coming from. The hostname on this machine is \/\/\/\/\/\/.domain.com and it's that way in rc.conf too.

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.

ppuru 07-29-2003 09:18 AM

perhaps your sendmail (sendmail.cf) is configured to accept mails for whatever.com.

Corin 07-29-2003 08:57 PM

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.