From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter.Stern@weizmann.ac.il Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: sendmail question Date: Wed, 09 Jul 2003 11:55:56 +0300 (IDT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200307090855.LAA28813@chemphys.weizmann.ac.il> Reply-To: Peter.Stern@weizmann.ac.il NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1057741118 15886 80.91.224.249 (9 Jul 2003 08:58:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2003 08:58:38 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Jul 09 10:58:36 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19aAjg-0003wX-00 for ; Wed, 09 Jul 2003 10:55:37 +0200 Original-Received: (qmail 6675 invoked by uid 5); 9 Jul 2003 08:56:10 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 6666 invoked by uid 49493); 9 Jul 2003 08:56:10 -0000 Original-Received: from peter@chemphys.weizmann.ac.il by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(0.3/5.0):. Processed in 0.528206 secs); 09 Jul 2003 08:56:10 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 9 Jul 2003 08:56:09 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HHR00G9V25K35@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 09 Jul 2003 04:56:08 -0400 (EDT) Original-Received: from chemphys.weizmann.ac.il (chemphys.weizmann.ac.il [132.77.58.13]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HHR00H5O258SA@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 09 Jul 2003 04:55:58 -0400 (EDT) Original-Received: (from peter@localhost) by chemphys.weizmann.ac.il (8.9.3/8.9.3) id LAA28813 for tru64-unix-managers@ornl.gov; Wed, 09 Jul 2003 11:55:56 +0300 (IDT) Original-To: tru64-unix-managers@ornl.gov X-Mailer: ELM [version 2.5 PL3] Xref: main.gmane.org gmane.os.tru64.managers:4792 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4792 OK, I solved it. The default load factor for queueing messages in sendmail is: # load average at which we just queue messages #O QueueLA=8 which I changed to: Ox20 (more appropriate to a 4 cpu ES40) and restarted sendmail. Size is apparently also a factor, but I haven't found where it's set yet. Thanks to Nikola Milutinovic for some useful insights. Regards, Peter Forwarded message: > From peter Wed Jul 9 11:39:21 2003 > Subject: sendmail question (addendum) > To: tru64-unix-managers@ornl.gov > Date: Wed, 9 Jul 2003 11:39:21 +0300 (IDT) > From: Peter.Stern@weizmann.ac.il > Reply-to: Peter.Stern@weizmann.ac.il > X-Mailer: ELM [version 2.5 PL3] > Content-Length: 2898 > > I have looked at the full mail headers of some of this mail and from > this it is apparent that the mail is being delivered to my local machine > almost immediately, but it is being held in /var/spool/mqueue (for > delivery at a later time). So the questions now are: > > 1. Why does this happen? Is it a function of system load, message size > or both (the pri=number is simply size+3000)? > 2. What do I have to change (in sendmail.cf?) to change this behavior? > 3. How can I get messages in /var/spool/mqueue to be delivered > immediately (restarting sendmail doesn't do it)? > > Thanks, > Peter > > Original message: > > > Dear Experts: > > > > I have the following problem which isn't strictly a Tru64 Unix > > problem. A certain user is sending mail from an outside account > > to her local account. Mail without attachments arrives immediately > > while mail sent with an attached file (even a small text file) is > > delayed by several hours. For example (from /var/adm/syslog.dated/x/mail.log): > > > > Jul 8 07:48:57 chemphys sendmail[5732]: HAA05732: from=, > > size=1092637, class=0, pri=1122637, nrcpts=1, msgid= > 80748330.962136-103000@ccsg.tau.ac.il>, proto=ESMTP, relay=doar2.weizmann.ac.il > > [132.77.22.87] > > > > > > Jul 8 17:39:11 chemphys sendmail[26938]: HAA05732: to=, d > > elay=09:50:14, xdelay=00:00:00, mailer=local, stat=Sent > > > > and this is just one example of about a dozen instances. My question > > is, where is this mail being held up? Is it at the sending mailer, at > > our institute mail server (which all outside mail passes through) or on > > my local machine (chemphys)? If locally, where can I find it and what > > can I do to prevent this? I am aware of the fact that a particular > > mailer may have some policy about deferring mail delivery of mail over a > > certain size, etc., but how can I find out which one it might be? Does > > the fact that my mail.log gets notification of the mail, but the mail > > isn't delivered to the user's inbox for several hours indicate that the > > mail has been delivered to chemphys and is being held up locally? If > > so, how can I change this? > > > > Here's an example of mail WITHOUT an attached file (no delay): > > > > Jul 8 08:07:05 chemphys sendmail[5513]: IAA05513: from=, > > size=3075, class=0, pri=33075, nrcpts=1, msgid= > 390.960380-100000@ccsg.tau.ac.il>, proto=ESMTP, relay=doar2.weizmann.ac.il [132. > > 77.22.87] > > Jul 8 08:07:09 chemphys sendmail[6548]: IAA05513: to=, de > > lay=00:00:04, xdelay=00:00:01, mailer=local, stat=Sent > > > > > > We are running v4.0f pl7 and sendmail v8.9.3. > > > > TIA, > > Peter > > > > Peter Stern > > Chemical Physics Department > > Weizmann Institute of Science > > 76100 Rehovot, ISRAEL > > > > email: Peter.Stern@weizmann.ac.il > > phone: 972-8-9342096 > > fax: 972-8-9344123 > > > > > >