Google Answers Logo
View Question
 
Q: Sendmail configuration ( No Answer,   3 Comments )
Question  
Subject: Sendmail configuration
Category: Computers > Internet
Asked by: johnmax-ga
List Price: $15.00
Posted: 29 Dec 2003 11:32 PST
Expires: 29 Dec 2003 14:13 PST
Question ID: 291167
I'm trying to get email working on my home Linux box. I can send
email, and receive mail if it's addressed with the hostname, but not
if it's addressed with only the domain name.

me@mymachine.mydomain.net <-- works
me@mydomain.net           <-- doesn't work

I want the second version to work. The error message is below. I've
disguised the names for some reason.

   ----- The following addresses had permanent fatal errors -----
<me@mydomain.net>
    (reason: 550 5.7.1 <me@mydomain.net>... Relaying denied)

   ----- Transcript of session follows -----
... while talking to mymachine.mydomain.net.:

>>>>>> RCPT To:<me@mydomain.net>

<<< 550 5.7.1 <me@mydomain.net>... Relaying denied
550 5.1.1 <me@mydomain.net>... User unknown

Outgoing mail appears to be from me@mydomain.net, as I expect/desire.

Info: Sendmail v8.12.10. This machine is the primary dns server (bind
9.2.2-P3) for mydomain.net. It's running Fedora Core 1 (RedHat's poor
relation?) It's my machine and my domain, so I can change anything I
need to.

It seems like I'm missing something simple, if there is anything
simple about sendmail, so I've priced the question accordingly. If
this requires a lot of work and consideration of my sendmail.cf, I can
go somewhat higher, or would accept a pointer to the right part of the
O'Reilly Sendmail book at the given price. Or maybe I've missed the
boat entirely and this is a DNS issue? I have one MX record:

mydomain.net. IN MX 10 mymachine.mydomain.net.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Sendmail configuration
From: khmer-ga on 29 Dec 2003 13:30 PST
 
I have pretty much the same setup with RedHat9.  

In /etc/mail/local-host-names you should put in all the aliases for your machine.

like

mx1.mydomain1.com
mx2.mydomain1.com

mx.mydomain2.net
Subject: Re: Sendmail configuration
From: khmer-ga on 29 Dec 2003 13:31 PST
 
and
mydomain1.com
mydomain2.net
Subject: Re: Sendmail configuration
From: johnmax-ga on 29 Dec 2003 13:50 PST
 
Perfect!

Thanks much

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy