Classes of service using advanced queuing techniques.

Julian Field mailscanner at ecs.soton.ac.uk
Wed Dec 15 21:29:36 GMT 2004


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

This sounds pretty good. Fancy putting together a FAQ on what you can
achieve by doing this, what extra facilities it provides and why it is
useful, together with how you actually do it.

It never occurred to me someone would do this. You guys really impress
me (occasionally ;-)

Rose, Bobby wrote:

>Speaking of extended queue groups, has anyone created a sendmail ruleset
>to allow queue groups to be based on IP address instead of the sender or
>recipient?
>
>I'm using queue groups with MailScanner with the advice of another MS
>user.  What I had to do was create a copy of the MailScanner.conf (etc),
>check_mailscanner (bin) script and the MailScanner script (bin) with
>different names and check_mailscanner script is modified to call the
>copied MailScanner script in bin.  The second MailScanner.conf is
>modified to look at a different queue level and uses a different pid
>file name.  The end result is two separate MailScanner processes each
>looking at different queues.  Sendmail handles the queuing using the
>extended groups.
>
>For us, the end result is one queue is for virus & spam checking and the
>other queue is just for virus checking.  This helped our performance a
>lot because messages from the university's list server aren't being
>checked for spam.  Before we'd have large backups when "all user" type
>messages were sent out forcing us to stop spamassassin checking in MS
>until the queues cleared.
>
>It would be nice if the queue groups could use IP addresses though.
>
>
>-=B
>
>
>-----Original Message-----
>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
>Behalf Of Errol Neal
>Sent: Wednesday, December 15, 2004 3:34 PM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Classes of service using advanced queuing techniques.
>
>Hi everyone. Been a long time since I posted to this list since I
>switched jobs. Happy holidays and hope everyone is doing well.
>
>I've been looking into implementing a hierarchy of service levels for
>mail delivery using the queuing capabilities of Sendmail and the
>multiple outbound queue groups found in the custom functions of
>MailScanner. What I'd like to do on the inbound side is to drop mail in
>one of several queues based upon the recipient domain and other stuff.
>This capability is already available to me through the use of the
>extended queue groups. So, to realize my ambitions, I'd like MailScanner
>to do the following:
>
>1. Pick up mail dropped in multiple queues/*
>
>Since the dx and qx files will be split into separate directories, I
>need to know if MailScanner can handle this. The directory structure
>will be something like this
>
>                        /var/spool/mqueue
>                                                /highpriority
>
>/dx
>
>/qx
>                                                /lowpriority
>
>/dx
>
>/qx
>
>2. Drop processed mail into multiple outgoing queues.
>
>I'm already using the feature &MultipleQueueDir to drop spam into a slow
>queue, however I want to prioritize outbound mail on the basis of it's
>final destination as well. Now I've tried using the following in
>CustomConfig.pm:
>
>                        return '/var/spool/mqueue.outbound.fast'
>if $messages->{fromdomain}, veryimportantclient.com;
>
>However, that did not work (If you are laughing at me, please do not.. I
>have very little programming ability). Now, when I say "it did not
>work", I did not get an error and the queue was actually used, however
>the messages that went into the queue were not those that I wanted to.
>
>Is what I want to do possible? Secondly, does how does MailScanner
>determine which message to process first in a batch of say 100 messages?
>Is it FIFO based upon the time stamp on the file, or does it honor the
>message priority assigned to the queue file by sendmail?
>
>Thanks in advance.
>
>Errol Neal
>
>
--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

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

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list