Find the answer to your Linux question:
Results 1 to 3 of 3
Hi All, I'm able to send email using Unix's "mail" command to some email ids i.e. my company email id "arun.sangal@companyname.com" but, not able to send that same email id ...
  1. #1
    Linux Newbie Sangal-Arun's Avatar
    Join Date
    May 2006
    Location
    Gurgaon, India + Denver Colorado USA
    Posts
    101

    Unix mail command - Sending email to outside world.

    Hi All,

    I'm able to send email using Unix's "mail" command to some email ids i.e. my company email id "arun.sangal@companyname.com" but, not able to send that same email id in case I include my personal email id during command execution.

    For ex: on Unix's $ prompt
    Code:
    mail -s "Test email - 1" arun.sangal@companyname.com, sangal.ak04@gmail.com << JholaLinux
    This is a test email.
    Please don't reply.
    Thx.
    JholaLinux
    Does Unix mail doesn't send email to outside world????

    Any helps!
    Brgds,

    ARUN SANGAL
    SCM: 1- 720 251 9962
    Email: sangal.ak04@gmail.com
    Email: sangal_ak04@yahoo.com

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Question

    Quote Originally Posted by Sangal-Arun View Post
    Hi All,

    I'm able to send email using Unix's "mail" command to some email ids i.e. my company email id "arun.sangal@companyname.com" but, not able to send that same email id in case I include my personal email id during command execution.

    For ex: on Unix's $ prompt
    Code:
    mail -s "Test email - 1" arun.sangal@companyname.com, sangal.ak04@gmail.com << JholaLinux
    This is a test email.
    Please don't reply.
    Thx.
    JholaLinux
    Does Unix mail doesn't send email to outside world????

    Any helps!
    Are you using sendmail servers?
    Post the output of following commands.

    Code:
    pgrep sendmail
    And what's your log file /var/log/maillog
    content ?
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    1

    Unix mail command - Sending email to outside world.

    Please find the output of the command.

    2228
    2236

    can you suggest how to overcome the problem

Posting Permissions

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