🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #61

Re: Problem with IDA Sendmail and Program Execution

#61
From: Andy Linton
Date: Wed, 04 Nov 1992 22:11
29 lines
1885 bytes
In article <1992Nov4.193747.5757@kocrsv01.delcoelect.com>, swlodin@kocrsv01.delcoelect.com (Steve Lodin) writes:

|> When sending email to a program, it takes a long time for the message to be
|> sent.  First it gets queued, then sometime down the road, it gets sent.
|> It's almost like there needs to be X number of queued messages before they
|> will be sent to the program.

Look at the flags on the program mailer definition in the sendmail.cf. Here's
mine by way of example:

Mprog,    P=/bin/sh,    F=DFMPelsu, S=0, R=0, A=sh -c $u

The 'F=DFMPelsu' above gives the flags used on this mailer. The 'e' flag says
that "This mailer is expensive to connect to, so try to avoid connecting
normally; any necessary connection will occur during a queue run". (Appendix C
of Sendmail Installation and Operation Guide)

You could remove this flag or you could increase the frequency at which the
queue is run by changing the parameters in your /etc/rc.local file. Look for
something like:

if [ -f /usr/lib/sendmail -a -f /etc/sendmail.cf ]; then
        /usr/lib/sendmail -bd -q30m; echo -n ' sendmail'
fi

The '-q30m' says run the queue every 30 minutes. If you change this then don't
forget that this change will only take effect at the next reboot. In the
meantime, kill off the running daemon and restart with the new time parameter.
Technical Details
Message-ID: <Bx7pMI.2AC@comp.vuw.ac.nz>
Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!wupost!waikato.ac.nz!comp.vuw.ac.nz!asjl
References: <1992Nov4.193747.5757@kocrsv01.delcoelect.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!wupost!waikato.ac.nz!comp.vuw.ac.nz!asjl
Newsgroups: comp.mail.sendmail
Subject: Re: Problem with IDA Sendmail and Program Execution
Message-ID: <Bx7pMI.2AC@comp.vuw.ac.nz>
From: Andy.Linton@comp.vuw.ac.nz (Andy Linton)
Date: Wed, 4 Nov 1992 22:11:06 GMT
Sender: news@comp.vuw.ac.nz (News Admin)
References: <1992Nov4.193747.5757@kocrsv01.delcoelect.com>
Organization: Computer Science, Victoria University, Wellington, NEW ZEALAND
Nntp-Posting-Host: bats.comp.vuw.ac.nz
Lines: 31