separate queue per domain
Julian Field
mailscanner at ecs.soton.ac.uk
Wed May 5 10:10:12 IST 2004
At 04:46 05/05/2004, you wrote:
>Hi All,
>
>I am trying to seperate the outgoing queues based on domain name (and
>with a default) - how do I go about creating a seperate file for this? -
>
>ie instead of -
>Outgoing Queue Dir = /var/spool/mqueue.exim/input
>
>I wanted to have -
>domain1 = /var/spool/mqueue.exim.domain1.input
>domain2 = /var/spool/mqueue.exim.domain2.input
>default = /var/spool/mqueue.exim.default
It's our old favourite "use a ruleset" answer again :-)
Set
Outgoing Queue Dir = /etc/MailScanner/rules/outgoing.queue.rules
And then in that file put
To: domain1.com /var/spool/mqueue.exim.domain1.input
To: domain2.com /var/spool/mqueue.exim.domain2.input
FromOrTo: default /var/spool/mqueue.exim.default
Please read the MAQ, the location of which is at the bottom of this posting.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-------------------------- MailScanner list ----------------------
To leave, send leave mailscanner to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/ and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html
More information about the MailScanner
mailing list