sendmail/MS multiple outbound queues?
Jeff A. Earickson
jaearick at colby.edu
Fri Mar 10 15:16:04 GMT 2006
Greg,
What may be going on is the issue of multiple recipients in the
To: line with different domains. I found a message in my fast queue
this morning going to a (nonresponsive) outside domain, where I
want only "@colby.edu" messages in that queue. Checking the
syslogs, I found that the original message was going to:
To: user1 at colby.edu, user2 at colby.edu, user3 at slowhost.com
After the queue runner did its thing, the message got delivered to
the two local addresses fast, but the message hung around in
the fast queue still trying to deliver to slowhost.com. From a
"mailq" point of view, all I saw later was a single recipient
message in the "wrong" queue. This is probably what you see too.
Jeff Earickson
Colby College
On Fri, 10 Mar 2006, Greg Matthews wrote:
> Date: Fri, 10 Mar 2006 10:01:18 +0000
> From: Greg Matthews <gmatt at nerc.ac.uk>
> Reply-To: MailScanner discussion <mailscanner at lists.mailscanner.info>
> To: MailScanner discussion <mailscanner at lists.mailscanner.info>
> Subject: Re: sendmail/MS multiple outbound queues?
>
> 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.
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
More information about the MailScanner
mailing list