Michelle Konzack wrote:
> Because an
> experience from last Friday where I have hit the limits  of  my  hosting
> providers mailserver (over 4000 messages stuck  in  the  queue)  I  lock
> already the ~/.promailrc to let only one message  after  one  processing
> per $USER.

You are serializing now?  Or you wish to serialize?

> |     :0fw
> |     * < 250000
> |     |/usr/bin/spamc

Not serialized.  No lock file.  Processing may occur in parallel.

> incoming batch-spam can kill the server which must be responsible  under
> any circumstands...
> 
> How can I solv this problem?

If you want to serialize mail processing to cap the machine load you
could use a procmail lockfile to only process one message at a time.

  :0fw:spamc.lock
  * < 250000
  |/usr/bin/spamc

That would prevent your machine from being overloaded with large
batches of incoming mail.  Message processing would be serialized one
at a time.

Bob

Reply via email to