procmail
[Top] [All Lists]

Re: concurrent sendmails when forwarding

1998-08-15 00:21:57
On Fri, 14 Aug 1998 21:05:36 +0200 (CEST), Walter Haidinger
<walter(_dot_)haidinger(_at_)gmx(_dot_)net> wrote:
How can I stop procmail from running a sendmail process for every mail
forwarded?

I'm no Sendmail guru, but I believe Sendmail has provisions for load
leveling, i.e. it will just queue stuff if the load level is above
some number you specify. Dunno whether this is just for outgoing stuff
or also applicable to local delivery, though. 

(Blows dust off old underutilized Bat Book.) Yeah, setting QueueFactor
(q) and QueueLA (x) to suitable values should do what you want. You
need to have load-balancing support compiled in, though; according to
the Bat Book, sendmail -d3.1 tells whether you have it or not. (Mine
just says getla:0 which I would imagine means I have the support but
the load average was below the cutoff level. RTFM, though.)

In reply to your direct question, I don't think it's possible to batch
run a normal Sendmail on more than one message at a time. I get eerie
ideas of how you could construct a digest from within Procmail and
then deliver that, but I don't suppose that's what you had in mind ...
Another possibility might be to replace Sendmail with something
slighly less heavyweight.

I have a dial-up modem connection to my ISP. Mail is retrieved by
fetchmail and delivered to root's mailbox. In .procmailrc of root's home
directory there are several forward (e.g. ! walter(_at_)localhost)  recipies

(Sounds like you're begging for trouble. Why not use fetchmail's
multidrop feature? See also the standard gripe about how Procmail is
not really the right tool for this in the FAQ; look for the string
"virtual domain". <http://www.iki.fi/~era/procmail/mini-faq.html>)

Hope this helps,

/* era */

-- 
Bot Bait: It shouldn't even matter whether  (`')  Just  (`')  http://www.iki
I am a resident of the State of Washington   \/ Married! \/   .fi/~era/