<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sendmail in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2683288#M589687</link>
    <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Set the DS macro in /etc/mail/sendmail.cf config file c:&lt;BR /&gt;&lt;BR /&gt;DS yourserver.yourdomain &lt;BR /&gt;&lt;BR /&gt;Then restart sendmail :&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/sendmail stop &lt;BR /&gt;/sbin/init.d/sendmail start &lt;BR /&gt;&lt;BR /&gt;Then&lt;BR /&gt;&lt;BR /&gt;mailx -s "subject" email@address.com&lt;BR /&gt;blabla&lt;BR /&gt;blabla&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Patrice.</description>
    <pubDate>Thu, 14 Mar 2002 15:47:21 GMT</pubDate>
    <dc:creator>MARTINACHE</dc:creator>
    <dc:date>2002-03-14T15:47:21Z</dc:date>
    <item>
      <title>sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2683287#M589686</link>
      <description>i want to send an email from unix to a user on another mail server in the company how can i do that</description>
      <pubDate>Thu, 14 Mar 2002 15:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2683287#M589686</guid>
      <dc:creator>rudy_4</dc:creator>
      <dc:date>2002-03-14T15:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2683288#M589687</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Set the DS macro in /etc/mail/sendmail.cf config file c:&lt;BR /&gt;&lt;BR /&gt;DS yourserver.yourdomain &lt;BR /&gt;&lt;BR /&gt;Then restart sendmail :&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/sendmail stop &lt;BR /&gt;/sbin/init.d/sendmail start &lt;BR /&gt;&lt;BR /&gt;Then&lt;BR /&gt;&lt;BR /&gt;mailx -s "subject" email@address.com&lt;BR /&gt;blabla&lt;BR /&gt;blabla&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Patrice.</description>
      <pubDate>Thu, 14 Mar 2002 15:47:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2683288#M589687</guid>
      <dc:creator>MARTINACHE</dc:creator>
      <dc:date>2002-03-14T15:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2683289#M589688</link>
      <description>Hi Rudy,&lt;BR /&gt;&lt;BR /&gt;If you know the users fully qualified address ie  username@company.com  AND if the UNIX system you are on is configured to relay mail then:&lt;BR /&gt;&lt;BR /&gt;1) Compose the msg with an editor -such as vi - save it as a file  EX  filename.txt&lt;BR /&gt;&lt;BR /&gt;2) Use mailx to send it:&lt;BR /&gt;&lt;BR /&gt;#cat filename.txt | mailx -s "subject line" username@company.com&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 14 Mar 2002 15:48:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2683289#M589688</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-03-14T15:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2683290#M589689</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You should be able to send directly, assuming the remote machine allows it:&lt;BR /&gt;&lt;BR /&gt;echo hello | mailx -s "message to user" username@remotehost&lt;BR /&gt;&lt;BR /&gt;if remotehost is resolvable from your machine.&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin.</description>
      <pubDate>Thu, 14 Mar 2002 15:49:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2683290#M589689</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2002-03-14T15:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2683291#M589690</link>
      <description>Hi Rudy,&lt;BR /&gt;&lt;BR /&gt;- Make a backup of /etc/mail/sendmail.cf &lt;BR /&gt;cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.bk&lt;BR /&gt;- Edit sendmail.cf file&lt;BR /&gt;- Search for Foo.COM and replace it with your domain name or remove Foo.COM if you don't have a domain name (leave the dot there after $w)&lt;BR /&gt;for example if i have domain mydomain.com&lt;BR /&gt;then line will be&lt;BR /&gt;Dj$w.mydomain.com&lt;BR /&gt;- Search DS and specify smpt server&lt;BR /&gt;for example (smtp_sever is name of smtp sever)&lt;BR /&gt;# "Smart" relay host (may be null)&lt;BR /&gt;DSsmpt_server&lt;BR /&gt;- restart sendmail&lt;BR /&gt;/usr/init.d/sendmail stop&lt;BR /&gt;/usr/init.d/sendmail start&lt;BR /&gt;&lt;BR /&gt;- test email (send /etc/hosts file)&lt;BR /&gt;cat /etc/hosts | mailx -s "subject" myemail@smtp_server&lt;BR /&gt;&lt;BR /&gt;I hope it will help&lt;BR /&gt;&lt;BR /&gt;Aftab</description>
      <pubDate>Thu, 14 Mar 2002 15:55:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2683291#M589690</guid>
      <dc:creator>Aftab Sadiq</dc:creator>
      <dc:date>2002-03-14T15:55:40Z</dc:date>
    </item>
  </channel>
</rss>

