procmail
[Top] [All Lists]

Re: concurrent sendmails when forwarding

1998-08-18 15:24:40
Hi!

I've collected previous replies here. Thanks for each!
A really great list.

On Sun, 16 Aug 1998, Liviu Daia wrote:
| Otherwise a really great. Can't get any simpler.

Yes, it can:

:0:
* conditions
/var/spool/mail/someuser

Indeed. Why should a user mailbox be any different from an ordinary
mail folder... 


On Sat, 15 Aug 1998, David W. Tamkin wrote:
That's what procmail's TRAP variable is for.
 
Which is called when procmail terminates. However, *when* does procmail 
terminate? After each recipe (I doubt that) or after each message in the
mailbox was processed?
If the latter is true, then imagine the mailbox getting filled constantly
by the same rate it is emptied by procmail. Will procmail never terminate
then?
If TRAP is called after each recipe, I could use TRAP="/bin/sleep 3" to
throttle down delivery.


On Mon, 17 Aug 1998, Philip Guenther wrote:
Assuming that "someuser" is an actual user in the password file (I haven't
Right :-)

been following this thread, some maybe that isn't true here), then
the following is probably better:

      :0
      * <condition>
      |procmail -d someuser
[--cut--]
Under normal circumstances, sendmail calls the local mailer to actually
store mail in a file, and since that's procmail (right?), there shouldn't
be a problem.
Right again :-))

What a shortcut! This would eliminate sendmail completely thus hopefully
lowering the system load to an acceptable level. I'll definitely run some
tests!

Again, thanks for all replies!
Regards, Walter


-- 
Haidinger Walter <walter(_dot_)haidinger(_at_)gmx(_dot_)net>
Student of Electrical Engineering, University of Technology, Vienna, Austria
Address: Brunnerstr.6, A-3108 St.P"olten, Austria. Tel.: +43-2742-257191