Re: SpamAssassian with FreeBSD and Big Mail Server

From: Oliver Brandmueller (ob_at_e-Gitt.NET)
Date: 02/23/05

  • Next message: Vahric MUHTARYAN: "RE: SpamAssassian with FreeBSD and Big Mail Server"
    Date: Wed, 23 Feb 2005 13:24:25 +0100
    To: freebsd-isp@freebsd.org
    
    

    Hi.

    On Wed, Feb 23, 2005 at 01:01:14PM +0200, Vahric MUHTARYAN wrote:
    > Really I don't know can I say a big mail server which have
    > 30,000 mailbox on it 1200+ simultaneously connections (pop,smtp,webmail).
    > ?ncoming smtp connections are between 200-400 . We want to run spam software
    > on it but machine can't handle it for this reason we seperated machine
    > freebsd+exim+SpamAssassian but on 400 connection machine goes down average
    > is very high , cpu usage really too high .
    >
    > I want to learn Anybody Who have closer or bigger system and
    > using SpamAssassian ?!
    > Really this 400 connection simultaneously can be limit for spam software ?!
    > I mean Anybody can handle more ?!
    > I have to design distributed environment ?!
    >
    > My Hardware is (for spam)
    > 2 X PIII 1G + 1 GB RAM + 2 DISK RAID 0 SCSI 10000 RPM

    You don't tell us, how you use SpamAssassin currently.

    If you use spamd for connection time checking by exiscan keep in mind,
    that each mail connection lasts longer, so you need a lot more
    filedescriptors than before on the machine with the MTA!

    I'm currently using amavisd-new (want to go away from that, it's eating
    too much resources) on 4 loadbalanced Dual Xeon machines. We scan for
    spam and viruses. Each of the machines is able to filter about 400.000
    mails per day, given that you have peak times and ow traffic times.
    (RAID 10 over 4 10krpm disks on hardware RAID, dual Xeon 2.4 GHz, 2 GB
    RAM/each machine). spamd itelf won't need so many resources as
    amavisd-new (this is a legacy setup).

    SpamAssassin needs a lot of RAM. Also keep in mind, that usually you are
    asking different nameservers for blacklists and stuff like that. That
    means, that filtering an e-mail takes a certain time, no matter how fast
    your system is. Dual P3 1 GHz and nly 1 Gig of RAM looks pretty much
    like a bottleneck to me, even without all the amavisd overhead.

    Have a look at "top", at "systat -vmstat", "iostat -d 1" and such, to
    get a clue, if your processors are too slow (only little I/O, enough
    free memory, 0 idle time over long periods), if you are lacking RAM (few
    free memory, lot's of I/O) or if you have an I/O problem (a lot of
    processor idle time, but the disks having >>400 ios per second all the
    time).

    My Spam filters are not quite the same as your, as the still have their
    MTA, do virus checking and have queues, so they need a lot of IO
    anyways. The don't have swap space: as soon as they start swapping,
    things get worse, becuse there's too much disk io and they get very
    slow. So have a look at your swap space. Are you using Swap at all? When
    th machines get loaded, do they start swapping very hard? That'd
    probably kill them.

    Another thing: using RAID 0 is VERY RISKY in any mail environment. RAID
    (especially in this case) is not so much about data security (if the
    spamd breaks the connection, the mail is still not lost), but about
    availability. You are close to the edge in your environment. one disk
    breaking would mean hours (if not days!) without accepting mails or
    without filtering. I would really think that over.

    - Oliver

    -- 
    | Oliver Brandmueller | Offenbacher Str. 1  | Germany       D-14197 Berlin |
    | Fon +49-172-3130856 | Fax +49-172-3145027 | WWW:   http://the.addict.de/ |
    |               Ich bin das Internet. Sowahr ich Gott helfe.               |
    | Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! |
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: Vahric MUHTARYAN: "RE: SpamAssassian with FreeBSD and Big Mail Server"

    Relevant Pages

    • Re: Let spamassassin fetch (Intermail)
      ... > filtering and SA will start working. ... >> I have gone through the mails looking alike. ... >> What is the scansetup for local.cf in spamassassin, ... > your spam emails from your spam emails emails from ...
      (alt.linux)
    • Re: (postfix) SPAM filter?
      ... filtering, as they don't actually take measure on the content of the ... I tweaked the rules very slightly to cause a score for legitimate mail to fail just below the threshold for rejection, and I've not had a single false positive since. ... Policyd-weight rejects between 50% and 80% of the incoming mail before the mail server ever even processes it. ... I also use spamassassin, and I have set it up so that borderline mail that's rejected gets copied to a folder so I can review it. ...
      (freebsd-questions)
    • Re: Filtering mail based on header contents
      ... I know spamassassin can be configured to drop ... bounce a spam, then you should not drop spam email. ... or just send them all to a mailbox. ... The system we use has two tiers: mail enters the filtering server running ...
      (freebsd-questions)
    • Re: IMAP Server suggestions
      ... >>Can I ask to take a look at your .procmailrc as I've had some issue's ... >>with procmail not filtering my mail into the inbox's properly (all over ... > # them and automagically teaches them to the bayes db. ... Also, don't scan anything from the SpamAssassin list, since ...
      (freebsd-questions)
    • Re: Brand new to Linux - good software sites?
      ... none catch everything' approach, which means SpamAssassin:) ... From the coomand-line, the coomand `shred'. ... to destroy a disk, use a hammer. ... Anything inbetween physical destruction and writing something once to ...
      (uk.comp.os.linux)

  • Quantcast