query

Mariano Absatz el.baby at GMAIL.COM
Tue Jul 13 17:05:18 IST 2004


On Tue, 13 Jul 2004 15:23:39 +0100, Julian Field
<mailscanner at ecs.soton.ac.uk> wrote:
> At 15:07 13/07/2004, you wrote:
> >i would like to run two copies of mailscanner at the same time on the
> >same box is there any way to do his.  I have sendmail and postfix
> >running on the box and they coexeist happily but i would like to be able
> >to get Mailscanner to scan with both of them.
>
> Yes, no problem. Just tell it two different sets of incoming and outgoing
> queue directories.
You must have 2 different configuration files for this to work. If you
want to do this, you must start MailScanner passing the configuration
file as its first (only) argument.

My old startup script at
http://baby.com.ar/MailScanner/StartupScripts/MailScanner  (which ONLY
starts MailScanner, you have to start up sendmail and postfix on your
own) allows you to do this easily.

You must create 2 copies of this script (e.g. one called
MailScanner-SM and the other MailScanner-PF) and edit the first lines.

Specifically, you could only edit the line that says:
INSTANCENAME="MailScanner"
and put
INSTANCENAME="MailScanner-SM"
in one and
INSTANCENAME="MailScanner-PF"
in the other.

Then you create your two configuration files as MailScanner-SM.conf
and MailScanner-PR.conf and that's it.

Please, check out the directories as well... the script is based on a
/opt/MailScanner installation, but you will have to change that if
MailScanner is elsewhere.

Regards.


--
Mariano Absatz - El Baby
el (dot) baby (AT) gmail (dot) com
el (punto) baby (ARROBA:@) gmail (punto) com

-------------------------- 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