Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: odd mail problem



 Hi Dan, I just answered my own question. I had defined LOCALDOMAIN to be 
stephenadler.com in the sendmail.mc file. I changed it back to 
"localhost" and now sendmail sends on my e-mail to the proper mx definition. 

Cheers. Steve. 

Stephen Adler wrote: 
> I'm using sendmail. How do I tell sendmail that stephenadler.com has 
> an mx record and should deliver the mail to the ip address defined by 
> the mx record? 
> 
> Dan Ritter wrote: 
>> On Sun, Jan 13, 2008 at 09:53:03PM -0500, Stephen Adler wrote: 
>>   
>>> I have the following setup. My server is called stephenadler.com and 
>>> I have a permanent IP address assigned to it. An A record. My mail 
>>> is being serviced by a mail service provider called luxsci.com. I've 
>>> defined the mx record for stephenadler.com to point to luxsci's mail 
>>> servers. But, if I send e-mail on my home server, to 
>>> [hidden email], it sends it directly to my home server and 
>>> ignores the MX record. Do you guys know how to get send mail on my 
>>> server to not ignore the mx record so that it sends the e-mail to 
>>> luxsci's mail servers? 
>>>     
>> 
>> You don't say what MTA you're running, but I can explain the 
>> problem to you anyway. 
>> 
>> When you send mail from stephenadler.com, the local MTA has to 
>> make a decision: where do I send this? First it looks to see 
>> whether the mail is local: is there a username without a 
>> right-hand-side? No? Well, let's look at the right-hand-side. Is 
>> it something that I'm supposed to answer for? It is? Great, I'll 
>> deliver locally. 
>> 
>> The A record is a red herring. 
>> 
>> -dsr- 
>> 
>>   
> 
> 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org