LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unable to send mail using Mail command (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-send-mail-using-mail-command-641571/)

navin_karnam 05-12-2008 02:23 AM

unable to send mail using Mail command
 
Hi all,

I am trying to send mail using command line(Mail and sendmail),
The procedure i followed is :

$sudo /sbin/chkconfig sendmail on
$sudo /sbin/service sendmail restart
$Mail -v naveen@galieosoft.com
-----------------------------------------------------------------------
Subject: hi
fdsfsdfdsfdsf
Cc:
naveen@galieosoft.com... Connecting to [127.0.0.1] via relay...
220 localhost.localdomain ESMTP Sendmail 8.13.1/8.13.1; Mon, 12 May 2008 11:45:24 +0530
>>> EHLO localhost.localdomain
250-localhost.localdomain Hello LocalHost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> MAIL From:<naveen@localhost.localdomain> SIZE=53 AUTH=naveen@localhost.localdomain
250 2.1.0 <naveen@localhost.localdomain>... Sender ok
>>> RCPT To:<naveen@galieosoft.com>
>>> DATA
250 2.1.5 <naveen@galieosoft.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 m4C6FOAw011048 Message accepted for delivery
naveen@galieosoft.com... Sent (m4C6FOAw011048 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 localhost.localdomain closing connection
------------------------------------------------------------------------


But i am not able to receive the mail. Please guide me any other steps i need to follow to achieve this.

Regards,
Naveen.

datopdog 05-12-2008 02:49 AM

The server for galieosoft.com is possibly rejecting the mail because it is being send from localhost.localdomain.

Check your maillog and see what happens on your side.

navin_karnam 05-12-2008 03:10 AM

Hi,

How do i check the logs?
do i need check the logs of naveen@galieosoft.com ?
Is there any possibility to change from localhost.localdomain to any other servers?

Regards,
Naveen

navin_karnam 05-13-2008 03:21 AM

Its happening with mutt and fetchmail

Thanks
naveen.


All times are GMT -5. The time now is 06:31 PM.