On Tue, 26 Oct 2004, Jos� Luis Solano wrote:

> Hi all, I installed a qmail-ldap in April, and now I have a new
> project. Current project needs the following architecture:
>
>            e-mails I/O
>                  |
>                  |=20
> -----------------------------------------
>              antivirus
>                   |
>              antispam
>                   |
>           administrator filter
>                   |
>              user filter
> ------------------------------------------
>                   |
>                   |
>            mailboxes
>
> So, when an email arrives to my systems the first step is the
> antivirus, second antispam, third  administrator filters (rules
> written by the system administrator to filter mails) and the last one
> is the user filter (rules written by the user, owner account to filter
> his mail)
>
> My questions is: is it possible to have only one qmail server in only
> one machine with the four steps: antivirus, antispam, administrator
> filter and user filter?
>
> My first idea was to have four qmail servers in the same machine using
> different ports, but this solution is not correct for my project. So
> anybody has any idea to help me??

Sure, its possible to do on one server, though depending on your volume of
mail, it might choke. Having spam/virus filters in place easily halves the
capacity of your mail server (perhaps even more, I have been shocked at
the performance tests on my mail servers when I have turned these things
off)

Now for your situation, I have similar setup, but not quite in that order.
I use qscanq/clamav in front of everything for virus scanning. If a virus
is found, the smtp connection is cut off, and the mail is not accepted.
After that everything gets run by the rules in /var/qmail/control/*
(mostly badmailfrom and badmailfrom-unknown) and finally, at delivery, I
use maildrop to invoke spamassassin, but that could be used to create
custom rules as well. Maildrop works nicely with Maildirs and had LDAP
functionality as well. Works like a champ for my mail cluster that
processes ~3 milllion messages/day. But I am using 20 machines behind a
hardware load balancer, a NetApp filer, and another couple of LDAP
servers.

Good luck in this project, you have your work cut out for you.

Andreas Stollar
Head of Engineering Research
Speakeasy, Inc.

Reply via email to