Spam/bounce problem

Julian Field mailscanner at ecs.soton.ac.uk
Thu Dec 18 14:14:49 GMT 2003


At 14:04 18/12/2003, you wrote:
>Is it possible to run bounced messages (from:<>) in a different queue with
>lower priority? Any ideas on how to do this the MailScanner and sendmail?

You can use a ruleset for the "Outgoing Queue Dir" setting.

In MailScanner.conf put this:
Outgoing Queue Dir = /etc/MailScanner/rules/outgoing.queue.rules

Then in outgoing.queue.rules put this:

From:   /^$/            /var/spool/mqueue.slow
FromOrTo: default       /var/spool/mqueue

Then
         mkdir /var/spool/mqueue.slow
         nice sendmail -q60m -OQueueDirectory=/var/spool/mqueue.slow

No immediate delivery attempt will be made on messages put into
mqueue.slow. They will just attempt a delivery when the once-per-hour queue
runner sweeps the queue. The "nice" will make that queue runner operate at
a low CPU priority so it can't steal the machine when it sweeps the queue.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



More information about the MailScanner mailing list