<?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: Not receiving emails in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384680#M349271</link>
    <description>First check the mail.log in your local server to see if the email is submitted to the sendmail service. It it is submited, check if it is sent out and if so check on the receiving end to see what happened to the email. It could be trapped by a spam filter or a delivery rule and it is deposited to some folder.&lt;BR /&gt;&lt;BR /&gt;If the mail is not submitted to the local sendmail, check your script for errors. There could be a variable in your script that got set wrong or changed and it threw off the script syntax.</description>
    <pubDate>Fri, 20 Mar 2009 19:53:32 GMT</pubDate>
    <dc:creator>TTr</dc:creator>
    <dc:date>2009-03-20T19:53:32Z</dc:date>
    <item>
      <title>Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384679#M349270</link>
      <description>Hey guys there is a script in our server that emails the logs of a backup if completed successfully or not, but now it doesnt work its not sending any emails. But when i try doing this "cat logname |sendmail -v my_email" the email is delivered successfully. What could be wrong...</description>
      <pubDate>Fri, 20 Mar 2009 19:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384679#M349270</guid>
      <dc:creator>C_V</dc:creator>
      <dc:date>2009-03-20T19:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384680#M349271</link>
      <description>First check the mail.log in your local server to see if the email is submitted to the sendmail service. It it is submited, check if it is sent out and if so check on the receiving end to see what happened to the email. It could be trapped by a spam filter or a delivery rule and it is deposited to some folder.&lt;BR /&gt;&lt;BR /&gt;If the mail is not submitted to the local sendmail, check your script for errors. There could be a variable in your script that got set wrong or changed and it threw off the script syntax.</description>
      <pubDate>Fri, 20 Mar 2009 19:53:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384680#M349271</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-03-20T19:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384681#M349272</link>
      <description>Hi i checked the mail log and found this... please see attached file</description>
      <pubDate>Fri, 20 Mar 2009 22:44:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384681#M349272</guid>
      <dc:creator>C_V</dc:creator>
      <dc:date>2009-03-20T22:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384682#M349273</link>
      <description>&amp;gt;But when i try doing this "cat logname | sendmail -v my_email" the email is delivered successfully.&lt;BR /&gt;&lt;BR /&gt;And you are using the same "my_email" for both?&lt;BR /&gt;&lt;BR /&gt;This info from your log doesn't tell you the reason it failed:&lt;BR /&gt;Final-Recipient: RFC822; email1&lt;BR /&gt;Action: failed&lt;BR /&gt;Status: 5.0.0&lt;BR /&gt;Last-Attempt-Date: Sat, 21 Mar 2009 02:17:37 +1100 (EDT)&lt;BR /&gt;&lt;BR /&gt;I would expect that if my_email matched one of the email1 it would work the same.</description>
      <pubDate>Fri, 20 Mar 2009 23:09:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384682#M349273</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-03-20T23:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384683#M349274</link>
      <description>yes email1 and my_email are the same and yet no email is received.&lt;BR /&gt;&lt;BR /&gt;Also i found something strange for me, i ps of sendmail and its not running.</description>
      <pubDate>Fri, 20 Mar 2009 23:29:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384683#M349274</guid>
      <dc:creator>C_V</dc:creator>
      <dc:date>2009-03-20T23:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384684#M349275</link>
      <description>&amp;gt;&amp;gt;i ps of sendmail and its not running.&lt;BR /&gt;&lt;BR /&gt;That is fine.  E-mail CAN be sent without the sendmail process running.&lt;BR /&gt;&lt;BR /&gt;The only reason for a sendmail process to run is if the server it is running on is supposed to **receive** e-mail messages from **other** servers.</description>
      <pubDate>Sat, 21 Mar 2009 00:51:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384684#M349275</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-03-21T00:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384685#M349276</link>
      <description>&amp;gt; there is a script in our server that emails the logs of a backup&lt;BR /&gt;&lt;BR /&gt;What email address is the script using? What server is that email address ? Is it the same server or another server. &lt;BR /&gt;&lt;BR /&gt;Your attachement is not the mail.log, it is probably the root's mailbox. You need to look in /var/adm/syslog/mail.log, at the bottom to see what happens to the emails.&lt;BR /&gt;&lt;BR /&gt;Does your script give any errors? Post the part of the script that sends the email.&lt;BR /&gt;</description>
      <pubDate>Sat, 21 Mar 2009 12:45:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384685#M349276</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-03-21T12:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384686#M349277</link>
      <description>They are using same server.&lt;BR /&gt;&lt;BR /&gt;here is the part of the script that sends mail&lt;BR /&gt;&lt;BR /&gt;echo "\n# Full Backup of `/usr/bin/hostname` completed at `/usr/bin/date +'%d %b %Y - %H:%M:%S'`\n" &amp;gt;&amp;gt; $LOGFILE 2&amp;gt;&amp;amp;1&lt;BR /&gt;/usr/bin/grep "\#" $LOGFILE | mailx -s "`/usr/bin/hostname` Backup log for `/usr/bin/date +'%d %b %Y'`" $MAIL&lt;BR /&gt;exit $?&lt;BR /&gt;&lt;BR /&gt;I also tried to send a test email using mailx&lt;BR /&gt;and i got this result:&lt;BR /&gt;&lt;BR /&gt;server1[crontabs]# echo "TESTING" | mailx -s "TESTING" email1&lt;BR /&gt;server1[crontabs]# Who are you?: Not a typewriter&lt;BR /&gt;syslog failed: Resource temporarily unavailable, syslog output to stderr&lt;BR /&gt;Sendmail: CAA27433: SYSERR(UID0): Who are you?: Not a typewriter&lt;BR /&gt;cannot open /no/such/directory/dead.letter: No such file or directory&lt;BR /&gt;&lt;BR /&gt;Looks like that it hangs it stays there forever.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 21 Mar 2009 14:20:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384686#M349277</guid>
      <dc:creator>C_V</dc:creator>
      <dc:date>2009-03-21T14:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384687#M349278</link>
      <description>I found this reference for this error&lt;BR /&gt;"...This error occurs due to the user ID associated with the user 'nobody'. Verify the UID is a non-negative value..."&lt;BR /&gt;&lt;BR /&gt;Do you have a "nobody" user in /etc/passwd and does it have a negative value? &lt;BR /&gt;&lt;BR /&gt;I do not have a "nobody" user in my server and even after I created the "nobody" user, I could not reproduce the error.&lt;BR /&gt;&lt;BR /&gt;See if you can install any sendmail patches.&lt;BR /&gt;&lt;BR /&gt;Also check if the user $MAIL that the script uses, exists as a user or an alias.&lt;BR /&gt;&lt;BR /&gt;Check the aliases file if there is anything unusual in there and rebuild the aliases database by running "newaliases".&lt;BR /&gt;&lt;BR /&gt;Check all the file permissions and ownership in /etc/mail &lt;BR /&gt;&lt;BR /&gt;Is there anything else at the bottom of /var/adm/syslog/mail.log when you try to send a test email?&lt;BR /&gt;</description>
      <pubDate>Sat, 21 Mar 2009 18:31:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384687#M349278</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-03-21T18:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384688#M349279</link>
      <description>Yes i found a nobody user with a negative value&lt;BR /&gt;&lt;BR /&gt;$ grep -i nobody /etc/passwd&lt;BR /&gt;nobody:*:-2:-2::/:</description>
      <pubDate>Mon, 23 Mar 2009 15:35:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384688#M349279</guid>
      <dc:creator>C_V</dc:creator>
      <dc:date>2009-03-23T15:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384689#M349280</link>
      <description>If you can, delete the nobody user or change the UID to a positive value. If that fixes it, look into installing sendmail patches. Some other software might need the nobody user with the "-2" as the UID, GID. Check all other things I mentioned in the previous reply.</description>
      <pubDate>Mon, 23 Mar 2009 16:07:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384689#M349280</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-03-23T16:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384690#M349281</link>
      <description>Hi for the mail.log there is no entry its not logging i think.&lt;BR /&gt;&lt;BR /&gt;How do i check this:&lt;BR /&gt;"Also check if the user $MAIL that the script uses, exists as a user or an alias."&lt;BR /&gt;&lt;BR /&gt;Here are the permission in /etc/mail:&lt;BR /&gt;&lt;BR /&gt;-r--r--r--   1 2          bin            947 Jul  4  2003 aliases&lt;BR /&gt;-rw-r--r--   1 0          mail         24576 Dec  1 13:56 aliases.db&lt;BR /&gt;-r--r--r--   1 2          bin          10222 Nov 14  2000 mailcap&lt;BR /&gt;-rw-r--r--   1 0          sys          94316 Nov  7  2002 sendmail.cf&lt;BR /&gt;-r--r--r--   1 2          bin            770 Dec  8  2004 sendmail.cw&lt;BR /&gt;-rw-r--r--   1 0          sys            616 Mar 24 03:12 sendmail.st&lt;BR /&gt;-r--r--r--   1 2          bin           1008 Nov 12  2001 service.switch&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Mar 2009 17:21:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384690#M349281</guid>
      <dc:creator>C_V</dc:creator>
      <dc:date>2009-03-23T17:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384691#M349282</link>
      <description>Something is preventing the user owner from displaying in /etc/mail. It shows "2" and "0" instead of "bin" and "root"&lt;BR /&gt;Post the output of&lt;BR /&gt;&lt;BR /&gt;ll -d / /etc /etc/passwd</description>
      <pubDate>Mon, 23 Mar 2009 17:37:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384691#M349282</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-03-23T17:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384692#M349283</link>
      <description>Here:&lt;BR /&gt;&lt;BR /&gt;# ll -d /etc/passwd&lt;BR /&gt;-r--r--r--   1 0          sys           7732 Mar 16 04:31 /etc/passwd&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Mar 2009 18:43:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384692#M349283</guid>
      <dc:creator>C_V</dc:creator>
      <dc:date>2009-03-23T18:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384693#M349284</link>
      <description>What about "ll -d / /etc"&lt;BR /&gt;&lt;BR /&gt;I assume you ran the "ll -d /etc/passwd" as root based on the "#" prompt. It still does not show the user owner of the file. Instead of&lt;BR /&gt;&lt;BR /&gt;-r--r--r-- 1 0 sys 7732 Mar 16 04:31 /etc/passwd&lt;BR /&gt;&lt;BR /&gt;It should look like&lt;BR /&gt;&lt;BR /&gt;-r--r--r-- 1 root sys 7732 Mar 16 04:31 /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Note that it should show "root" instead of "0" (zero). Check out the contents of /etc/password specifically the syntax about the root and other system user accounts such as bin.</description>
      <pubDate>Mon, 23 Mar 2009 19:55:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384693#M349284</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-03-23T19:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384694#M349285</link>
      <description>&amp;gt; Check out the contents of /etc/password &lt;BR /&gt;&lt;BR /&gt;That should be /etc/passwd</description>
      <pubDate>Mon, 23 Mar 2009 20:03:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384694#M349285</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-03-23T20:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384695#M349286</link>
      <description>Here hope this helps&lt;BR /&gt;&lt;BR /&gt;$ ll -d / /etc /etc/passwd&lt;BR /&gt;drwxr-xr-x  26 0          root          1024 Dec 16 21:32 /&lt;BR /&gt;dr-xr-xr-x  32 2          bin           7168 Mar 16 04:31 /etc&lt;BR /&gt;-r--r--r--   1 0          sys           7732 Mar 16 04:31 /etc/passwd&lt;BR /&gt;$ more /etc/passwd&lt;BR /&gt;root:vUm/wrr2KDgKg:0:3:Root Account:/root:/sbin/sh&lt;BR /&gt;daemon:*:1:5::/:/sbin/sh&lt;BR /&gt;bin:*:2:2::/usr/bin:/sbin/sh&lt;BR /&gt;sys:*:3:3::/:&lt;BR /&gt;adm:*:4:4::/var/adm:/sbin/sh&lt;BR /&gt;uucp:*:5:3::/var/spool/uucppublic:/usr/lbin/uucp/uucico&lt;BR /&gt;lp:*:9:7::/var/spool/lp:/sbin/sh&lt;BR /&gt;nuucp:*:11:11::/var/spool/uucppublic:/usr/lbin/uucp/uucico&lt;BR /&gt;hpdb:*:27:1:ALLBASE:/:/sbin/sh&lt;BR /&gt;nobody:*:-2:-2::/:&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Mar 2009 20:15:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384695#M349286</guid>
      <dc:creator>C_V</dc:creator>
      <dc:date>2009-03-23T20:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384696#M349287</link>
      <description>It's what I asked before but unfortunately it does not help. When you run this "ll" commnad earlier were you logged in as root?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; # ll -d /etc/passwd&lt;BR /&gt;&amp;gt; -r--r--r-- 1 0 sys 7732 Mar 16 04:31 /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Also are you running NIS on this server? (type ypwhich)</description>
      <pubDate>Mon, 23 Mar 2009 20:31:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384696#M349287</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-03-23T20:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384697#M349288</link>
      <description>Yes i was&lt;BR /&gt;&lt;BR /&gt;NIS is not configured in the server</description>
      <pubDate>Mon, 23 Mar 2009 21:08:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384697#M349288</guid>
      <dc:creator>C_V</dc:creator>
      <dc:date>2009-03-23T21:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Not receiving emails</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384698#M349289</link>
      <description>&amp;gt;TTr: delete the nobody user or change the UID to a positive value.&lt;BR /&gt;&lt;BR /&gt;-2 is the proper value for nobody.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Something is preventing the user owner from displaying in /etc/mail. It shows "2" and "0" instead of "bin" and "root"&lt;BR /&gt;&lt;BR /&gt;The last time this happened, restarting pwgrd(1M) fixed it, not NIS.</description>
      <pubDate>Tue, 24 Mar 2009 01:54:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-receiving-emails/m-p/4384698#M349289</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-03-24T01:54:36Z</dc:date>
    </item>
  </channel>
</rss>

