Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    sendmail configuration on RHEL4


    I am writing a shell script to send emails to my company mail id when disk usage on the server exceeds a threshold.

    I tried to send email using sendmail on RHEL5. The mail delivery was successful and I received the email in my mailbox. (I didn't configure anything in sendmail. I tried with default sendmail configuration.)

    The problem is, when I try to send mail using sendmail on RHEL4, I get the following error in /var/log/maillog


    dsn=5.1.1, stat=User unknown
    Jan 5 01:49:57 RHEL4 sendmail[28513]: p04KJr2B028511: p04KJv2B028513: DSN: User unknown


    I am not sure, is there any configuration need to be done in RHEL4 for sendmail to work?

    Thanks in advance


  2. #2
    Just Joined!
    Join Date
    Jan 2011

    I believe that by default sendmail only listens on localhost

    netstat -plant | grep :25

    will show you that post it up here so i can see

Posting Permissions

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