Mailscanner and Multiple output queues

Julian Field mailscanner at ecs.soton.ac.uk
Fri Mar 21 12:18:29 GMT 2003


At 11:51 21/03/2003, you wrote:
>We are considering implementing mutliple output queues to try to improve
>performance on our mailserver and I wonder if anyone could give me an
>idea of a ruleset for this. Ideally we would like mailscanner to write
>to one of a set of output queues, distributing mail roughly evenly
>across these directories.

Outgoing Queue Dir = /etc/MailScanner/rules/outgoing.queue.rules

and then in that file:
From:   /^[a-g]/                /var/spool/mqueue1
From:   /^[h-m]/                /var/spool/mqueue2
From:   /^[n-s]/                /var/spool/mqueue3
From:   /^[t-z]/                /var/spool/mqueue4
FromOrTo:       default         /var/spool/mqueue5

This just splits into 5 queues based on the first letter of the sender's
address. Hopefully that gives you enough of an idea of what you can do...
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list