LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2003, 09:17 PM   #1
bdbourn
LQ Newbie
 
Registered: Mar 2003
Distribution: RH 8.x
Posts: 3

Rep: Reputation: 0
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.
 
Old 07-28-2003, 09:58 PM   #2
jgombos
Member
 
Registered: Jul 2003
Posts: 256

Rep: Reputation: 32
You might need to configure a transport map. If you're using postfix, the file of interest is /etc/postfix/transport.
 
Old 07-29-2003, 08:58 AM   #3
bdbourn
LQ Newbie
 
Registered: Mar 2003
Distribution: RH 8.x
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 07-29-2003, 09:18 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
perhaps your sendmail (sendmail.cf) is configured to accept mails for whatever.com.
 
Old 07-29-2003, 08:57 PM   #5
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie at wits end. Want to buy help. Child of Wonder Linux - Networking 3 02-08-2005 12:20 PM
@ my wits end .. HEEEEEEEELLLLLLLLPPPPP chemdawg Linux - Newbie 3 01-30-2005 05:16 PM
Xorg, mouse side-buttons and xmodmap. At the end of my wits. Nordmann Slackware 3 08-23-2004 02:18 PM
nVidia MX 440--Drivers will not compile. At my wits end. tsw Linux - Hardware 8 08-04-2004 11:18 PM
I'm am completely stumped and at my wits end jtX Linux - General 16 06-25-2003 06:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration