[Ilugc] Sendmail Problem

  • From: anandhg02@xxxxxxxxx (Anandh G)
  • Date: Mon Oct 23 09:30:58 2006

I want to send alert mail from one of our server. The
sendmail version is 8.13. I just gave the relay host
(DS) entry in the in /etc/mail/sendmail.cf to one of
our primary mail server. When I send a mail from cmd
line using mail command like 
#mail -v -s "test" user@xxxxxxxxxx 
The mail is sent with the MAIL FROM header as
<username@.>. It is not adding the hostname after the
@. and gives the error as "Invalid hostname".
But if I send mail with the recipient address in mail
cmd, the mail is sent.
#mail -v -s "test" -r localuser@xxxxxxxxxxxx
user@xxxxxxxxxx 

How to make sendmail to add the hostname. The same
type of configuration I am running in another server
that is running sendmail 8.11, which is working.


                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

Other related posts: