I'm trying to run sendmail in a script.  I think that the sending machine
does not transmit my domain name (it transmits localhost) and the
receiving machine won't accept the mail if the domain is not real.

I usually run pine, and everything seems to work fine.  My mail is 
accepted as usual, some somehow there must be a problem when running 
sendmail from the command line.

I've searched around on the web a bit and couldn't find the error or 
explaination.   any help would be great.

here's my returned email that I got back with the error message.


###########################################################

   ----- The following addresses had permanent fatal errors -----
[EMAIL PROTECTED]
    (reason: 501 <[EMAIL PROTECTED]>... Sender domain must 
exist)

   ----- Transcript of session follows -----
... while talking to math.utah.edu.:
>>> MAIL From:<[EMAIL PROTECTED]> SIZE=167
<<< 501 <[EMAIL PROTECTED]>... Sender domain must exist
501 5.6.0 Data format error

   [ Part 2: "Delivery Status" ]

Reporting-MTA: dns; localhost.localdomain
Arrival-Date: Sun, 6 Jan 2002 21:53:16 -0700

Final-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.5.2
Diagnostic-Code: SMTP; 501 <[EMAIL PROTECTED]>... Sender domain 
must exist
Last-Attempt-Date: Sun, 6 Jan 2002 21:53:50 -0700


    [ Part 3: "Included Message" ]

Date: Sun, 6 Jan 2002 21:53:16 -0700
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Testing Sendmail

Body of Test

############################################################





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to