Re: telnet mail.domain.com 25==>OK but mailx=>KO
- From: Claus Aßmann <ca+sendmail(-no-copies-please)@mine.informatik.uni-kiel.de>
- Date: 7 Oct 2005 15:05:51 GMT
M.H wrote:
> On a unix machine [oraclep] with Solaris 8 + sendmail-11.8.0, I want to
There is no 11.8, do you mean 8.11.0? If so, upgrade!
> send mails thru a smart host [mail.domain.com].
> If I send a mail thru "telnet mail.domain.com 25" , It works but if use
> the mailx command on the oraclep, It failed.
> # telnet mail.domain.com 25
> helo
That's missing a domain name.
Where's the server reply?
> 250 mail.domain.com Hello [172.20.20.21]
> mail from : toto@xxxxxxxxxx
That's syntactically wrong, see RFC 2821.
MAIL From:<toto@xxxxxxxxxx>
> 250 2.1.0 toto@xxxxxxxxxxxxxxxxxxxx OK
> rcpt to: jhardyh@xxxxxxxxxxxxxxxxx
Same.
> # echo "test mailx" |mailx -r toto@xxxxxxxxxx jhardyh@xxxxxxxxxxxxxxxxx
> ... while talking to mail.domain.com.:
> >>> HELO oraclep.
Another syntax error and this time the server complains:
> <<< 501 5.5.4 Invalid Address
Fix the hostname of your machine so it doesn't end in a dot.
See cf/README for "WHO AM I" if you can't fix the hostname.
--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.
.
- Follow-Ups:
- Re: telnet mail.domain.com 25==>OK but mailx=>KO
- From: richard
- Re: telnet mail.domain.com 25==>OK but mailx=>KO
- References:
- Prev by Date: telnet mail.domain.com 25==>OK but mailx=>KO
- Next by Date: null sender address
- Previous by thread: telnet mail.domain.com 25==>OK but mailx=>KO
- Next by thread: Re: telnet mail.domain.com 25==>OK but mailx=>KO
- Index(es):
Relevant Pages
|