LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   sendmail error message (https://www.linuxquestions.org/questions/linux-software-2/sendmail-error-message-146594/)

feetyouwell 02-16-2004 01:24 AM

sendmail error message
 
The original message was received at Mon, 16 Feb 2004 01:21:10 -0500
from localhost.localdomain [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<htan@averett.edu>
(reason: 553 5.1.8 <root@myximian.myserver>... Domain of sender address root@myximian.myserver does not exist)

----- Transcript of session follows -----
... while talking to ns2.averett.edu.:
>>> MAIL From:<root@myximian.myserver> SIZE=294
<<< 553 5.1.8 <root@myximian.myserver>... Domain of sender address root@myximian.myserver does not exist
501 5.6.0 Data format error

--i1G6LBJK002765.1076912471/myximian.myserver
Content-Type: message/delivery-status


my host file is

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
<my ip here> myximian.myserver myximian

my /etc/sysconfig/network file is

NETWORKING=yes
HOSTNAME=myximian

What's wrong, I still can't send out emails.

feetyouwell 02-16-2004 01:33 AM

lots of other posts shows i need to resolvalbe domain name
what's a resolvable domian name?????

i change my host file so it won't be localhost.localdomain

is myximian.myserver not resolvable enough??? I felt really stupid right now ....

Nic-MDKman 02-16-2004 05:33 AM

A resolvable domain name is a domain that actually is registered with internic, etc. Like www.linuxquestions.org.
You cannot just pick a random domain name and start trying to use it, you have to register that domain.

Start here:
http://www.google.com/search?hl=en&i...n+registration

sanktwo 02-16-2004 10:46 AM

Email "sender" requires resolvable domain name
 
I ain't no Sendmail expert, but I have spent hours configuring it in the past... :-{ Maybe I can add a bit more (approximate) detail to the previous good advice.

First, the easiest thing is not to send mail directly but use your ISP as a mail relay. I presume that you have rejected that and have decided to send out mail directly to the destination using Sendmail or Qmail or something.
You have tried to send mail directly to a mail host which requires the "sender" to have a valid Internic name which is resolvable to something. i.e. they get the senders domain, use DNS to look up the MX records for it and find out if it exists.
Some might even go to the extent of doing a double-reverse lookup i.e. using the IP address returned in the "mail exchange" record to do a reverse look-up to a domain, then using that domain, re-looking at the MX record for that domain (if different). This to make sure that mail CAN get back to the sender and that it looks sort-of legitimate.

So simply having a domain registered may be not enough. You need to
a) get a domain registered (or use a sub-domain of your ISP's domain with their permission and help)
b) get an organisation to be your authority for that domain i.e. manage the records such as your mail exchange records pointing to your mail server either you have to run the DNS server or find someone (such as your ISP) who runs DNS and is prepared to host your personal domain (which is most likely the case if they permit you a sub-domain of their domain e.g. feetyouwell.your-isp.com)
c) ensure that your sendmail (or other SMTP receiver) can receive mail for that domain

If your ISP does not guarantee you a fixed IP address (i.e. if it changes from time to time unpredictably) then the problem is a bit harder. You will almost certainly need to use dynamic dns from a service such as http://www.dyndns.org/

It is of course easy to check to see if a domain is resolvable, just use nslookup to get all the records for your domain.

I hope that this approximate summary can help you a bit.

All this because of spammers and spoofers - and it STILL does not stop them, just makes your life a bit harder. ;-)

J_Szucs 02-16-2004 10:56 AM

I think that the functionality of an own mailserver without an own, resolvable domain name is very limited. You may happen to send some mails to some hotmail accounts, but not to any other mail servers that keep security in mind.

If you insist on having an own mailserver, e.g. with sendmail, however, you may try this:
Register a mailbox with your ISP. Then you will be granted access to and make use of their smtp server, and you can also use their domain name when sending mails from your mail server.

To achieve this, you should specify your ISP's smtp server as "smart_relay_host" in sendmail.cf; and also: configure sendmail to masquerade your mails as if coming from your ISP ("masquerade_all" and "masquerade_envelope" features in sendmail.cf should be set to your ISP's domain name).

Naturally, the replies (if any) will come to your mailbox at your ISP (with all consequences of that).


All times are GMT -5. The time now is 12:03 AM.