Outgoing Queue Dir Ruleset

Julian Field MailScanner at ecs.soton.ac.uk
Wed Aug 29 10:49:39 IST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Jim Hermann wrote:
>> Jim Hermann wrote:
>>     
>>> No. I was hoping to use a Ruleset for the Outgoing Queue Dir and use
>>> separate instances of sendmail to handle each outgoing 
>>>       
>> queue directory.  Is
>>     
>>> there a way to have MS tell sendmail to use different 
>>>       
>> configuration files
>>     
>>> for each outgoing queue directory?
>>>   
>>>       
>> Only by hacking the code, sorry. It's not built-in 
>> functionality, sorry.
>>
>> 2nd thoughts: can you put a ruleset on sendmail2? The conf file will 
>> tell you if you can or not, I can't remember.
>>     
>
> I don't feel bad for not noticing.  ;)
>
> Now my MailScanner.conf contains:
>
> Outgoing Queue Dir = /etc/MailScanner/rules/outgoing.rules
> Sendmail2 = /etc/MailScanner/rules/sendmail2.rules
> Use Default Rules With Multiple Recipients = yes
> Delivery Method = batch
>
> /etc/MailScanner/rules/outgoing.rules contains:
>
> To: *@aol.com
> /home/virtual/FILESYSTEMTEMPLATE/services/sendmail/mqueue.scanned1
> To: *@cs.com
> /home/virtual/FILESYSTEMTEMPLATE/services/sendmail/mqueue.scanned1
> To: *@comcast.net
> /home/virtual/FILESYSTEMTEMPLATE/services/sendmail/mqueue.scanned2
> To: *@yahoo.com
> /home/virtual/FILESYSTEMTEMPLATE/services/sendmail/mqueue.scanned2
>
> FromOrTo: default
> /home/virtual/FILESYSTEMTEMPLATE/services/sendmail/mqueue.scanned
>
> /etc/MailScanner/rules/sendmail2.rules contains:
>
> To: *@aol.com           /usr/sbin/sendmail -L sm-mailscanner1
> -OProcessTitlePrefix=sm-mailscanner1 -ODeliveryMode=background -C
> /etc/mail/sm-mailscanner1.cf
> To: *@cs.com            /usr/sbin/sendmail -L sm-mailscanner1
> -OProcessTitlePrefix=sm-mailscanner1 -ODeliveryMode=background -C
> /etc/mail/sm-mailscanner1.cf
> To: *@comcast.net       /usr/sbin/sendmail -L sm-mailscanner2
> -OProcessTitlePrefix=sm-mailscanner2 -ODeliveryMode=background -C
> /etc/mail/sm-mailscanner2.cf
> To: *@yahoo.com       /usr/sbin/sendmail -L sm-mailscanner2
> -OProcessTitlePrefix=sm-mailscanner2 -ODeliveryMode=background -C
> /etc/mail/sm-mailscanner2.cf
>
> FromOrTo: default       /usr/sbin/sendmail -L sm-mailscanner
> -OProcessTitlePrefix=sm-mailscanner -ODeliveryMode=background -C
> /etc/mail/sm-mailscanner.cf
>
> MailScanner stores the email in the correct directory but does not use the
> correct version of sendmail2.  It does use the default value of sendmail2.
> The "sm-mailscanner" shows up in the log.  How do I get the Ruleset to match
> the other values for Sendmail2?
>   
You upgrade to my next release :-)
I have just found the bug and fixed it.

Jules

- -- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

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


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.3 (Build 3017)
Comment: (pgp-secured)
Charset: ISO-8859-1

wj8DBQFG1UEzEfZZRxQVtlQRAkM0AKCxOtAKfzdRMH4FKPtMi2XEvC5XHACeKP8R
3ObgpFL/qDs1cb37n4Z0mJQ=
=umQw
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list