Ah, forgot to mention, white and black lists ;)

/Toms

----- Original Message ----- From: <s...@datanet.hu>
To: "Toms Trankalis" <toms.tranka...@telia.lv>
Cc: <clapf-users@lists.acts.hu>
Sent: Tuesday, July 31, 2007 5:39 PM
Subject: Re: [clapf-users] ;)


Hello Toms,

The HW requirements depend on how many messages you have to process in a day, in an hour and how many paralel requests
you plan to handle. You should calculate your peak load
and add a little to that number (30-40%).

Most cpu power and memory are required by spamassassin
and mysql at your configuration. You should run spamassassin
with its daemon stuff (spamc, spamd). I cannot estimate
that need maybe other people on the list can.

As Johannes pointed it clapf could be (much) faster if you
put its queue directory (default: /opt/av/tmp) to ram disk
(or tmpfs).

Memory for clapf can be calculated as follows:

(max. number of paralel request + 1) * (max. message size)

And if I were you I would try the following setup:

2 mail gateways accepting the messages from the Internet
and they both run postfix+clapf+clamav+spamassassin. They
virus scan the incoming emails, decide whether they are spam
or not, then forward to a 3rd computer storing all the
mailboxes. This latter box may have a cheaper setup
as it runs only pop3/imap daemons, and postfix can
simply deliver the incoming emails to the user mailboxes.
Antivirus and antispam stuffs are the resource heavy parts.

And at the end: if you find it that your hw cannot handle
the load with spamassassin you may replace it with a more
resource friendly antispam solution ;-)


Digitally yours,

SJ

On Tue, 31 Jul 2007, Toms Trankalis wrote:

Hi ;)

I thought maybe you can help me on this. I dont have much experience with
highload server.
I want to run two servers (gateways) which share load and one server which
has all the mailboxes and spamcheck.

Each gateway will have postfix+clapf+clamav

Mailserver postfix(possibly with
ssl)+dovecot(imap,pop3,ssl)+dovecot-lda+amavisd+spamassasin
User lookups, white, blacklisting, spamassassin tag level points are stored
in mysql database.
Atm database has 3k mailboxes.

dovecot-lda slows down performance a little bit, but i couldnt found a
better solution to work with quotas.

So the question is, what hardware would be more than enough to handle the
load?


-

/Toms Trankalis









Reply via email to