<?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: Odd Sendmail Behaviour in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566067#M919745</link>
    <description>Cheers for help all. Problem was nis was in nsswitch.conf for the aliases database when we have no nis map for that. Took it out and it processed the hundred odd mails backed up. Good thing I didn't try that when there were 40,000 mails waiting.......</description>
    <pubDate>Fri, 17 Aug 2001 08:40:56 GMT</pubDate>
    <dc:creator>Sam Rudland</dc:creator>
    <dc:date>2001-08-17T08:40:56Z</dc:date>
    <item>
      <title>Odd Sendmail Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566054#M919732</link>
      <description>I have a HPUX 11 server that is running sendmail. I can send mail (note the play on words!) okay - but I am seeing sendmail process' hogging CPU time to a long time. The ps listing says it is processing a message, but mail doesn't go out very often and a number of these process accumulate, until I start getting very high response times as a result.&lt;BR /&gt;&lt;BR /&gt;Any ideas of how I can go about solving this??&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Sam</description>
      <pubDate>Thu, 16 Aug 2001 14:30:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566054#M919732</guid>
      <dc:creator>Sam Rudland</dc:creator>
      <dc:date>2001-08-16T14:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Sendmail Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566055#M919733</link>
      <description>Hi Sam,&lt;BR /&gt;&lt;BR /&gt;The problem might be caused by bad permissions.&lt;BR /&gt;The permissions should be&lt;BR /&gt;&lt;BR /&gt;dr-xr-xr-x bin: bin /etc&lt;BR /&gt;dr-xr-xr-x bin:bin /etc/mail&lt;BR /&gt;-rw-r--r-- root:sys /etc/mail/aliases&lt;BR /&gt;-rw-r--r-- root:mail /etc/mail/aliases.db&lt;BR /&gt;&lt;BR /&gt;After checking the permissions, stop and re-start sendmail&lt;BR /&gt;/sbin/init.d/sendmail stop&lt;BR /&gt;/sbin/init.d/sendmail -q -v &lt;BR /&gt;(to force immediate processing of sendmail's message queue)&lt;BR /&gt;&lt;BR /&gt;-HTH&lt;BR /&gt;I am RU</description>
      <pubDate>Thu, 16 Aug 2001 14:42:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566055#M919733</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-08-16T14:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Sendmail Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566056#M919734</link>
      <description>Hi Sam:&lt;BR /&gt;&lt;BR /&gt;Knowledge Base document #KBRC00002189 suggests that this may be a permission problem:&lt;BR /&gt;&lt;BR /&gt;/begin_quote/&lt;BR /&gt;&lt;BR /&gt;PROBLEM&lt;BR /&gt;The sendmail process is at the top of the list as far as CPU usage. Attempts to stop sendmail using:&lt;BR /&gt;/sbin/init.d/sendmail stop&lt;BR /&gt;result in the following errors:&lt;BR /&gt;&lt;BR /&gt;"hash map "Alias0": unsafe map file /etc/mail/aliases.db: world writable directory"&lt;BR /&gt;"hash map "Alias0": unsafe map file /etc/mail/aliases: world writable directory"&lt;BR /&gt;&lt;BR /&gt;RESOLUTION&lt;BR /&gt;These types of problems often are due to a permission problem either on the /etc/mail/aliases, /etc/mail/aliases.db file, OR on one of the parent directories, namely /etc or /etc/mail.&lt;BR /&gt;&lt;BR /&gt;To resolve the problem, make sure the following&lt;BR /&gt;permissions are set:&lt;BR /&gt;&lt;BR /&gt;dr-xr-xr-x  29 bin        bin           6144 May 10 12:30 /etc&lt;BR /&gt;dr-xr-xr-x   2 bin        bin           1024 May 10 13:43 /etc/mail&lt;BR /&gt;-rw-r--r--   1 root       sys            835 Aug 30  1999 /etc/mail/aliases&lt;BR /&gt;-rw-r--r--   1 root       mail         32768 May 10 13:43 /etc/mail/aliases.db&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/sendmail stop&lt;BR /&gt;should now work.&lt;BR /&gt;&lt;BR /&gt;Re-start it using:&lt;BR /&gt;/sbin/init.d/sendmail start&lt;BR /&gt;and run:&lt;BR /&gt;sendmail -q -v&lt;BR /&gt;to force immediate processing of sendmail's message queue.&lt;BR /&gt;&lt;BR /&gt;/end_quote/&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 16 Aug 2001 14:48:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566056#M919734</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-08-16T14:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Sendmail Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566057#M919735</link>
      <description>Perms were all okay - but I found in /var/spool/mqueue a massive amount of mail that was meant to have been sent over the past few weeks/months that appears to have never been processed!! These are mailings that should have come from cron jobs. Any ideas why there were so many not sent??</description>
      <pubDate>Thu, 16 Aug 2001 14:50:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566057#M919735</guid>
      <dc:creator>Sam Rudland</dc:creator>
      <dc:date>2001-08-16T14:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Sendmail Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566058#M919736</link>
      <description>Hi Sam:&lt;BR /&gt;&lt;BR /&gt;I'd delete the ancient stuff.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 16 Aug 2001 15:05:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566058#M919736</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-08-16T15:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Sendmail Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566059#M919737</link>
      <description>Do you know there was 44254 old mails waiting to go?!?&lt;BR /&gt;&lt;BR /&gt;The delete may take some time. When I ran the sendmail -q -v it was processing about 300 and then hanging on one indefinitely, this process then acted just like the others and started consuming CPU time while not appearing to do much else. Do you know of a way to find out more info about why it was hanging??</description>
      <pubDate>Thu, 16 Aug 2001 15:09:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566059#M919737</guid>
      <dc:creator>Sam Rudland</dc:creator>
      <dc:date>2001-08-16T15:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Sendmail Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566060#M919738</link>
      <description>Sam-&lt;BR /&gt;&lt;BR /&gt;How does the mail.log look?  does it say that there are any problems (like mail undeliverable)?  You could look in the syslog for kicks as well.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Thu, 16 Aug 2001 15:21:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566060#M919738</guid>
      <dc:creator>Mark Vollmers</dc:creator>
      <dc:date>2001-08-16T15:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Sendmail Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566061#M919739</link>
      <description>mail.log was massive. I have cleared out /var/spool/mqueue, there are a few items left, but a sendmail -q -v fails to process these items. It lists nine other items, one of which is destined for me. These items have sub-items  (listed in mail.log) that I have deleted from the mqueue directory. Repeated sendmail -q -v's try to send these items still. Do you know how I flush the queue completely??</description>
      <pubDate>Thu, 16 Aug 2001 15:31:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566061#M919739</guid>
      <dc:creator>Sam Rudland</dc:creator>
      <dc:date>2001-08-16T15:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Sendmail Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566062#M919740</link>
      <description>Hi Sam,&lt;BR /&gt;&lt;BR /&gt;I think Mark meant check the mail.log, anyway,&lt;BR /&gt;before you noticed the problem was sendmail running? 44254 is a lot of mails, but did they indicate the cron job ran or failed? ;)&lt;BR /&gt;how long has the machine been up? &lt;BR /&gt;Just do a "grep rebooted /var/adm/syslog/mail.log" that would give an idea if anyone else tried bouncing sendmail on that machine.&lt;BR /&gt;But good your problem is resolved&lt;BR /&gt;&lt;BR /&gt;-Regards&lt;BR /&gt;I am RU</description>
      <pubDate>Thu, 16 Aug 2001 15:32:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566062#M919740</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-08-16T15:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Sendmail Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566063#M919741</link>
      <description>Hi Sam,&lt;BR /&gt;&lt;BR /&gt;If you don't really care about the mails in the queue, i think it is safe to delete all the files in the /var/spool/mqueue.&lt;BR /&gt;&lt;BR /&gt;-Regards&lt;BR /&gt;I am RU</description>
      <pubDate>Thu, 16 Aug 2001 15:37:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566063#M919741</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-08-16T15:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Sendmail Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566064#M919742</link>
      <description>I rebooted the machine two weeks ago. The cron jobs all ran okay - sendmail appears to be broken though. Even after clearing the dir down mail is still getting stuck and customers do like their reports....! I checked sendmail.cf and the right queue directory is assigned.&lt;BR /&gt;&lt;BR /&gt;Any sendmail experts around?!?</description>
      <pubDate>Thu, 16 Aug 2001 15:40:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566064#M919742</guid>
      <dc:creator>Sam Rudland</dc:creator>
      <dc:date>2001-08-16T15:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Sendmail Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566065#M919743</link>
      <description>Hi Sam,&lt;BR /&gt;&lt;BR /&gt;We had this problem once, where the messages would just queue up. Further investigation revelead that the load average on the machine was high. Sendmail (by default) only queues message when the load average gets above 8.&lt;BR /&gt;&lt;BR /&gt;There are certain parameters in the sendmail.cf&lt;BR /&gt;QueueLA=8, change it a higher number.&lt;BR /&gt;Also there is another parameter RefuseLA=12, which indicates sendmail will refuse connections if the load average goes above 12. change these parameters to a higher number and restart sendmail.&lt;BR /&gt;&lt;BR /&gt;That might help&lt;BR /&gt;-I am RU</description>
      <pubDate>Thu, 16 Aug 2001 16:10:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566065#M919743</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-08-16T16:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Sendmail Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566066#M919744</link>
      <description>Sam,&lt;BR /&gt;&lt;BR /&gt;You haven't said anything about the system and network configuration. If you're sending mails to the internet maybe there is bottleneck in your connection. Be also very carefull with big messages. Sendmail doesn't handle them very well and can even make the OS crash. If it is not a problem set the MaxMessageSize in sendmail.cf in to something small (a couple of Megs) and see if smaller messages are exchanged easier. From my experience the REAL problems in sendmail come either from a big number of huge mails or network routing and name resolving problems. Check them both...&lt;BR /&gt;Regards&lt;BR /&gt;George</description>
      <pubDate>Fri, 17 Aug 2001 05:00:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566066#M919744</guid>
      <dc:creator>George Logiadis</dc:creator>
      <dc:date>2001-08-17T05:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Sendmail Behaviour</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566067#M919745</link>
      <description>Cheers for help all. Problem was nis was in nsswitch.conf for the aliases database when we have no nis map for that. Took it out and it processed the hundred odd mails backed up. Good thing I didn't try that when there were 40,000 mails waiting.......</description>
      <pubDate>Fri, 17 Aug 2001 08:40:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/odd-sendmail-behaviour/m-p/2566067#M919745</guid>
      <dc:creator>Sam Rudland</dc:creator>
      <dc:date>2001-08-17T08:40:56Z</dc:date>
    </item>
  </channel>
</rss>

