<?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/2885441#M819103</link>
    <description>If you have already configured the Sendmail system to talk to your Windows Mail Server, the command to send a mail is,...&lt;BR /&gt;&lt;BR /&gt;sendmail bob@bob.com &lt;BR /&gt;where /tmp/textfile is the text to be sent. Alternatively you can specify a "To:" address in the first line of the textfile, and use the '-f' option of sendmail.&lt;BR /&gt;&lt;BR /&gt;if you have not yet set up mail relaying, here are some starter posts,...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1d93107d277ad611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1d93107d277ad611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfefda12d6d27d5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfefda12d6d27d5118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa8b014a24fd1d4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa8b014a24fd1d4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This is a very big area to look at.&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
    <pubDate>Mon, 20 Jan 2003 10:36:29 GMT</pubDate>
    <dc:creator>Ian Dennison_1</dc:creator>
    <dc:date>2003-01-20T10:36:29Z</dc:date>
    <item>
      <title>Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885440#M819102</link>
      <description>I have a HP9000 in 11.0&lt;BR /&gt;I would like to create a script which send a mail to my Windows account.I have a workstation in Win2000 and the HP servers have no domain.&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jan 2003 09:48:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885440#M819102</guid>
      <dc:creator>CLUTIER</dc:creator>
      <dc:date>2003-01-20T09:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885441#M819103</link>
      <description>If you have already configured the Sendmail system to talk to your Windows Mail Server, the command to send a mail is,...&lt;BR /&gt;&lt;BR /&gt;sendmail bob@bob.com &lt;BR /&gt;where /tmp/textfile is the text to be sent. Alternatively you can specify a "To:" address in the first line of the textfile, and use the '-f' option of sendmail.&lt;BR /&gt;&lt;BR /&gt;if you have not yet set up mail relaying, here are some starter posts,...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1d93107d277ad611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1d93107d277ad611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfefda12d6d27d5118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfefda12d6d27d5118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa8b014a24fd1d4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa8b014a24fd1d4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This is a very big area to look at.&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
      <pubDate>Mon, 20 Jan 2003 10:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885441#M819103</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2003-01-20T10:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885442#M819104</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you installed unix, I think in all variants sendmail gets installed as well. The important thing to do is to set your mailserver.&lt;BR /&gt;&lt;BR /&gt;Just change in the /etc/mail/sendmail.cf you mailhost :&lt;BR /&gt;# "Smart" relay host (may be null)&lt;BR /&gt;DS&lt;SERVER-NAME&gt;.&lt;DOMAIN&gt;.&lt;NAME&gt;.&lt;COUNTRY&gt;&lt;BR /&gt;So f.e.:&lt;BR /&gt;DSsmtp.intern.company.nl&lt;BR /&gt;&lt;BR /&gt;If you use your Windows machine here (must be a smart relay !!) There is another way to use some more advantage of sendmail :&lt;BR /&gt;&lt;BR /&gt;----------------------&lt;BR /&gt;echo "From: $sender" &amp;gt; $TMP/file.$$&lt;BR /&gt;echo "To: $recepient" | /usr/bin/tr -cd '[\040-\176]' &amp;gt;&amp;gt; $TMP/file.$$&lt;BR /&gt;echo "" &amp;gt;&amp;gt; $TMP/start-mail.$$&lt;BR /&gt;echo "Subject: $subject" | /usr/bin/tr -cd '[\040-\176]' &amp;gt;&amp;gt; $TMP/file.$$&lt;BR /&gt;echo "" &amp;gt;&amp;gt; $TMP/start-mail.$$&lt;BR /&gt;echo "$message" | /usr/bin/tr -cd '[\040-\176]' &amp;gt;&amp;gt;/$TMP/file.$$&lt;BR /&gt;echo "\n." &amp;gt;&amp;gt;/$TMP/file.$$&lt;BR /&gt;&lt;BR /&gt;cat $TMP/file.$$ - | /usr/lib/sendmail -odq -t&lt;BR /&gt;/bin/rm -f $TMP/start-mail.$$&lt;BR /&gt;-------------------------&lt;BR /&gt;&lt;BR /&gt;This script allowes you to set your own sender adres, To adres, subject and message. Make sure you use the 'echo "\n."' This means it is the end of the message, but must start at the beginning of the new line. It works very nice.&lt;BR /&gt;&lt;BR /&gt;If you need any more help, please let us know.&lt;BR /&gt;&lt;BR /&gt;Regs David&lt;/COUNTRY&gt;&lt;/NAME&gt;&lt;/DOMAIN&gt;&lt;/SERVER-NAME&gt;</description>
      <pubDate>Mon, 20 Jan 2003 10:54:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885442#M819104</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-01-20T10:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885443#M819105</link>
      <description>Hhhmm,&lt;BR /&gt;&lt;BR /&gt;Made a couple mistakes here :&lt;BR /&gt;&lt;BR /&gt;1) TMP=/tmp&lt;BR /&gt;2) $$ is a standard for current process, so should not be defined. Leave it as it is.&lt;BR /&gt;3) the tr command converts bad characters&lt;BR /&gt;4) /bin/rm -f $TMP/start-mail.$$ should be :&lt;BR /&gt;   /bin/rm -f $TMP/file.$$ &lt;BR /&gt;&lt;BR /&gt;5) I think it is clear that you must add your windows machine behind the DS, or your smart relay server. I didn't finish my sentence before I started a new subject.&lt;BR /&gt;&lt;BR /&gt;Must be monday morning :)&lt;BR /&gt;&lt;BR /&gt;Regs David</description>
      <pubDate>Mon, 20 Jan 2003 11:03:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885443#M819105</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-01-20T11:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885444#M819106</link>
      <description>The mail server is running. if i want to send a mail to me, i have :&lt;BR /&gt;NIS map mail.aliases specified,but NIS not running:Socket operation on non socket.&lt;BR /&gt;I don't want to use NIS.&lt;BR /&gt;My user is on a winNT domain perhaps should i notice the DNS server addrs.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jan 2003 13:37:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885444#M819106</guid>
      <dc:creator>CLUTIER</dc:creator>
      <dc:date>2003-01-20T13:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885445#M819107</link>
      <description>You should change your aliases entry in the /etc/nsswitch.conf from:&lt;BR /&gt;&lt;BR /&gt;aliases   files nis&lt;BR /&gt;&lt;BR /&gt;to:&lt;BR /&gt;&lt;BR /&gt;aliases   files&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you don't have an /etc/nsswitch.conf, create one out of the examples within the /etc directory or see "man nsswitch.conf".</description>
      <pubDate>Fri, 24 Jan 2003 16:40:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885445#M819107</guid>
      <dc:creator>Michael Knaup</dc:creator>
      <dc:date>2003-01-24T16:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885446#M819108</link>
      <description>This one can even include attachements.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Jan 2003 16:52:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885446#M819108</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-24T16:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885447#M819109</link>
      <description>Thanks for the hint. I'm a newbie to this forum and didn't notice.&lt;BR /&gt;&lt;BR /&gt;So here is an example of a nsswitch.conf for files only, which could help hopefully.</description>
      <pubDate>Fri, 24 Jan 2003 17:05:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/2885447#M819109</guid>
      <dc:creator>Michael Knaup</dc:creator>
      <dc:date>2003-01-24T17:05:27Z</dc:date>
    </item>
  </channel>
</rss>

