<?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 setup help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527620#M220922</link>
    <description>As long as you don't run the sendmail daemon on the server, mail will not be able to get back to the oracle user.&lt;BR /&gt;&lt;BR /&gt;/etc/rc.config.d/mailsvrs&lt;BR /&gt;&lt;BR /&gt;Make sure first variable is set to 0.&lt;BR /&gt;&lt;BR /&gt;That will disable sendmail. Its still theoretically possible to get mail onto the box but more difficult.&lt;BR /&gt;&lt;BR /&gt;If that doesn not work for you the other solutions will be just fine. SMTP gateway allows your mail configuration to be centralized.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
    <pubDate>Wed, 20 Apr 2005 00:39:22 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2005-04-20T00:39:22Z</dc:date>
    <item>
      <title>sendmail setup help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527614#M220916</link>
      <description>I need some help on this..&lt;BR /&gt;&lt;BR /&gt;I want user "oracle" in the hpux11.00 system to be able to send messages/emails to the users within the company like user@companydomain.com.&lt;BR /&gt;I dont want "app" to receive any messages from outside but only want it to send some alerts to the users. &lt;BR /&gt;&lt;BR /&gt;Can sendmail be used to achieve this ? any help on setting up send mail ?&lt;BR /&gt;&lt;BR /&gt;Many Thanks in advance. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 19 Apr 2005 04:55:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527614#M220916</guid>
      <dc:creator>Zee</dc:creator>
      <dc:date>2005-04-19T04:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail setup help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527615#M220917</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You have to configure the smart relay host for the sendmail to relay messages to other domains.&lt;BR /&gt;&lt;BR /&gt;/etc/mail/sendmail.cf is the configuration file and have to modify the DS directive.&lt;BR /&gt;&lt;BR /&gt;DSsmartrelayhost.yourdomain.com&lt;BR /&gt;&lt;BR /&gt;and then restart the 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;You can send a test mail and see if its working.&lt;BR /&gt;&lt;BR /&gt;cat testfile | mailx -s 'test mail' emailaddress@externaldomain.com&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Naveej</description>
      <pubDate>Tue, 19 Apr 2005 05:43:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527615#M220917</guid>
      <dc:creator>Naveej.K.A</dc:creator>
      <dc:date>2005-04-19T05:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail setup help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527616#M220918</link>
      <description>Zee,&lt;BR /&gt;Can you please clarify:&lt;BR /&gt;1. Have you got mailx sending messages already (i.e. is sendmail installed, ll /usr/sbin/sendmail)&lt;BR /&gt;2. The messages are to be sent from the oracle user, who runs an application.&lt;BR /&gt;3. Any reply messages from the users are to be 'bounced'. What do you want to do with any such message (delete,forward to Sys.Admin)?&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 19 Apr 2005 06:31:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527616#M220918</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-04-19T06:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail setup help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527617#M220919</link>
      <description>Hi Peter, &lt;BR /&gt;&lt;BR /&gt;answers to your question.&lt;BR /&gt;&lt;BR /&gt;1) yes, sendmail is already installed on the box&lt;BR /&gt;2) yes, messages are to be sent from oracle user.&lt;BR /&gt;3) delete. &lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Tue, 19 Apr 2005 06:50:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527617#M220919</guid>
      <dc:creator>Zee</dc:creator>
      <dc:date>2005-04-19T06:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail setup help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527618#M220920</link>
      <description>Zee,&lt;BR /&gt;thanks for the info.&lt;BR /&gt;If your SMTP gateway (the box that talks tot he outside world) is correctly set up, any message trying to return should be deleted.&lt;BR /&gt;Perform Naveei's changes; What currently happens if you try to send a message from within the application. Best to track the status via the &lt;BR /&gt;tail -f /var/adm/syslog/mail.log command.&lt;BR /&gt;For additional reading:&lt;BR /&gt;&lt;A href="http://www.sendmail.org/~ca/email" target="_blank"&gt;http://www.sendmail.org/~ca/email&lt;/A&gt;&lt;BR /&gt;in particular:&lt;BR /&gt;&lt;A href="http://www.sendmail.org/~ca/email/protected.html" target="_blank"&gt;http://www.sendmail.org/~ca/email/protected.html&lt;/A&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 19 Apr 2005 08:22:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527618#M220920</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-04-19T08:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail setup help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527619#M220921</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1) yes, sendmail is already installed on the box&lt;BR /&gt;You may follow the instructions given in my first reply&lt;BR /&gt;&lt;BR /&gt;2) yes, messages are to be sent from oracle user.&lt;BR /&gt;you can use mailx or sendmail command to send messages to the external email address&lt;BR /&gt;&lt;BR /&gt;3) delete. &lt;BR /&gt;create a file, .forward (read as dot forward) in the home directory of the user oracle and mention /dev/null.  But this will remove all the mails send to the oracle user (both internal and external)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Naveej</description>
      <pubDate>Tue, 19 Apr 2005 22:47:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527619#M220921</guid>
      <dc:creator>Naveej.K.A</dc:creator>
      <dc:date>2005-04-19T22:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail setup help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527620#M220922</link>
      <description>As long as you don't run the sendmail daemon on the server, mail will not be able to get back to the oracle user.&lt;BR /&gt;&lt;BR /&gt;/etc/rc.config.d/mailsvrs&lt;BR /&gt;&lt;BR /&gt;Make sure first variable is set to 0.&lt;BR /&gt;&lt;BR /&gt;That will disable sendmail. Its still theoretically possible to get mail onto the box but more difficult.&lt;BR /&gt;&lt;BR /&gt;If that doesn not work for you the other solutions will be just fine. SMTP gateway allows your mail configuration to be centralized.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Apr 2005 00:39:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527620#M220922</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-04-20T00:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail setup help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527621#M220923</link>
      <description>Thanks you all, I'll try your suggestion  and will update this thread with points very soon.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Apr 2005 02:47:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527621#M220923</guid>
      <dc:creator>Zee</dc:creator>
      <dc:date>2005-04-20T02:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail setup help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527622#M220924</link>
      <description>Hi Zee,&lt;BR /&gt;&lt;BR /&gt;I use the following function to mail (with logfile attached) as oracle in case of a failure in a script. &lt;BR /&gt;I use the -r option to give the sender a different name.&lt;BR /&gt;&lt;BR /&gt;SENDER="user@companydomain.com"&lt;BR /&gt;function f_retval&lt;BR /&gt;{&lt;BR /&gt;  if (( $? &amp;gt; 0 ))&lt;BR /&gt;  then&lt;BR /&gt;    printf "\a \n  Error occurred in function ${fname} \n \n" &amp;gt;&amp;gt; ${LOGFILE}&lt;BR /&gt;&lt;BR /&gt;  SUBJECT=" Error in execution of ${fname} in ${SCRIPTFILE}"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; /usr/bin/mailx -r ${RETURN_ADDRESS} -m -s "${SUBJECT}" ${RETURN_ADDRESS} &amp;lt;&amp;lt;-EOF&lt;BR /&gt;  $(ux2dos ${LOGFILE} | uuencode ${LOGALIAS})&lt;BR /&gt;   Hi,&lt;BR /&gt;&lt;BR /&gt;   An error in script ${SCRIPTFILE} occurred while running function $fname&lt;BR /&gt;&lt;BR /&gt;   The logfile ${LOGALIAS} is attached to this document. &lt;BR /&gt;&lt;BR /&gt;   This email message was created automatically by UNIX&lt;BR /&gt;&lt;BR /&gt;  EOF&lt;BR /&gt;  &lt;BR /&gt;   exit 102&lt;BR /&gt;  fi&lt;BR /&gt;}&lt;BR /&gt;Hope it helps,&lt;BR /&gt;&lt;BR /&gt;Renarios</description>
      <pubDate>Wed, 20 Apr 2005 03:25:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-setup-help/m-p/3527622#M220924</guid>
      <dc:creator>renarios</dc:creator>
      <dc:date>2005-04-20T03:25:55Z</dc:date>
    </item>
  </channel>
</rss>

