Find the answer to your Linux question:
Results 1 to 3 of 3
Hi All I am not able to send mail from my linux server to a specific domain. I am using mail command as below: mail -s "subject" abc at xyz[dot]com ...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    2

    Unable to send mail

    Hi All

    I am not able to send mail from my linux server to a specific domain.

    I am using mail command as below:

    mail -s "subject" abc at xyz[dot]com < rs[dot]txt

    It doesn't give any error but I am not receiving any mail at other end.

    But when I am sending mail to another domain (ex gmail) using below command it's working.

    mail -s "subject" abc at gmail[dot]com < rs[dot]txt


    Please help me to solve this issue.

    Thanks in advance

    Ridhi

  2. #2
    Just Joined!
    Join Date
    May 2009
    Posts
    9
    which distro you are using? And which is the other domain you need to sent the mail?

    you may try this command

    echo "This is a test mail' | mail -s "hello" receiptemailaddress@gmail.com

    refer : humanlinux.blogspot.com/2009/04/how-to-sent-gmail-fromusing-terminal.html

    this may help you!

    Thanks

  3. #3
    Just Joined!
    Join Date
    May 2009
    Posts
    2
    I have RHEL-4. The domain I am trying to send mail to is valueglobal.net. No luck witht the command you provided.

    Regards
    Ridhi Sundar

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...