mqueue.in and chrooted virtual webs
Julian Field
mailscanner at ecs.soton.ac.uk
Wed Jun 26 16:25:40 IST 2002
At 15:42 26/06/2002, you wrote:
>Hello,
>
>We are trying to get mailscanner working on a linux box that is running
>virtual
>web sites in a chrooted configuration. The problem is the system has multiple
>directories that can be defined as (/var/spool/mqueue.in). Is there a
>way to
>have mailscanner monitor more than one queue directory... For example we
>need to
>monitor the following directories:
>
>/var/spool/mqueue.in
>/home/virtual/site001/var/spool/mqueue.in
>...
>/home/virtual/sitennn/var/spool/mqueue.in
>
>Basically the reason for this is email sent from a user of a virtual site is
>handled by sendmail in a chrooted environment where the root dir is really
>/home/virtual/siteXXX. Obviously all mail dumped there is never getting
>processed.
>
>So I am trying to find an elegant solution but wondered what the app can
>support.
>
>1. Is it possible to have mailscanner scan multiple inbound
>directories? If not
>can mailscanner handle a wildcarded path for the Incoming Queue Dir?
No and no.
>2. Or is it possible to run multiple copies of mailscanner with each process
>responsible for watching the queue for its web site?
Yes. You'll need a separate mailscanner.conf for each domain as well, but
if you are running chrooted you'll probably have this already so the
domains can all have their own individual settings for everything.
--
Julian Field Teaching Systems Manager
jkf at ecs.soton.ac.uk Dept. of Electronics & Computer Science
Tel. 023 8059 2817 University of Southampton
Southampton SO17 1BJ
More information about the MailScanner
mailing list