sendmail/MS multiple outbound queues?

Greg Matthews gmatt at nerc.ac.uk
Fri Mar 10 10:01:18 GMT 2006


On Thu, 2006-03-09 at 19:13 +0000, Julian Field wrote:
> Easy. Use a ruleset to set the outgoing queue directory.

except I've never got this to work, MS just seems to spread all the mail
around the queue directories regardless of my rules. For instance I have
in MailScanner.conf:

Outgoing Queue Dir = %rules-dir%/outgoing.queue.dir.rules

and the outgoing.queue.dir.rules file looks like:

To:     *@bgs.ac.uk     /var/spool/mqueue/qBGS
#
To:     *@bas.ac.uk     /var/spool/mqueue/qBAS
#
To:     *@nerc.ac.uk    /var/spool/mqueue/qGROUPWISE
To:     *@ceh.ac.uk     /var/spool/mqueue/qGROUPWISE
To:     *@wpo.nerc.ac.uk        /var/spool/mqueue/qGROUPWISE
#
To:     *@soc.soton.ac.uk       /var/spool/mqueue/qSOC
To:     *@noc.soton.ac.uk       /var/spool/mqueue/qSOC
#
FromOrTo:       default         /var/spool/mqueue/qDEFAULT

The whitespace is all tabs in the actual file. When I look at the qf
files in these directories, they dont correspond to the expected
destination addresses. The directories seem to be used randomly.

GREG

> 
> - -- 
> Julian Field

-- 
Greg Matthews           01491 692445
Head of UNIX/Linux, iTSS Wallingford


-- 
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.



More information about the MailScanner mailing list