AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  how to set sender address in sendmail

    Posted Wed February 02, 2011 01:56 AM

    Originally posted by: ajaved


    hello,

    Can any one send me the procedure how to set sender address in sendmail because after set the DSRelay host name I received email but on the junk Email not into the inbox.

    Thanks
    #AIX-Forum


  • 2.  Re: how to set sender address in sendmail

    Posted Wed February 02, 2011 06:27 AM

    Originally posted by: MarkTaylor


    How are you sending the email ? what command are you using ? there are many ways to do this, I tend to manipulate the sendmail header and echo it all into sendmail .. a quick google will give you lots of options.

    this one looks like a winner http://beingkejo.wordpress.com/2008/05/28/sendmail-in-a-shell-script/

    HTH
    Mark Taylor
    #AIX-Forum


  • 3.  Re: how to set sender address in sendmail

    Posted Tue February 08, 2011 01:41 AM

    Originally posted by: aarcee


    You can use "mailx -r abc.def@abc.com -s "subject"
    #AIX-Forum