Spamassassin is slow - any tips or good commercial alternative?

Martin.Hepworth martinh at solidstatelogic.com
Thu Jun 19 09:01:29 IST 2008


Charlie

Reject non-valid email recipients on the incoming MTA.

If you're growing at that rate I suggest you get a couple of machines to round robin DNS load share the mailscanner job, then if one goes pop the other will be to carry on.

--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
> Of Charlie
> Sent: 19 June 2008 01:41
> To: MailScanner discussion
> Subject: Spamassassin is slow - any tips or good commercial
> alternative?
>
>
> >> The concern is that I am eventually looking to have over 10,000
> >> users, so will be receiving, and then sending, multiple emails per
> >> second.
> >> Even now, with only 1,500 users, people have started reporting "Too
> > many concurrent SMTP connections; Please try again later"
>
> >I manage a mail cluster for an ISP that has about 100,000
> subscribers
> >online at any given time.  I'd hazard a guess that close to all of
> >those subscribers have a mail client running the whole time.
>  We have
> >implemented an exim set up that allows 3 concurrent connections from
> >the subscriber IP pools, 5 from from other IP's and a
> maximum number of
> >simultaneous SMTP sessions of 1000 per server.  This is on
> each server
> >in the cluster (4 servers in total) and we only ever see the maximum
> >concurrent per IP rules being hit, never the maximum total.
>
> >As you didn't mention which MTA you're using, I can't give config
> >examples, but make sure you pay close attention to the
> default max-per-
> >IP and max-total SMTP session limits.  If these are still
> the defaults,
> >they are probably far too restrictive for a multi-thousand user mail
> >hub.  Also, if you're not already, put some thought into connection
> >mitigation techniques such as RBL's, grey listing, etc.
> >These will have a dramatic effect on external sites chewing
> up all your
> >SMTP connections.  Also if your users are the sort of people who sit
> >there smashing the "send and receive" button in their mail
> client, you
> >may also want to think about rate-limiting connections from
> any single
> >IP...be careful if you implement this, you can DoS your users if it
> >isn't done right!!
>
> Thank you James - this will be very helpful I suspect.
> We also are using Exim as the MTA, so any specific config
> advice for Exim would also be greatly appreciated :) BTW we
> are using one server (Pentium 4, 2.4GHz, 1GB RAM), currently
> have 1500 active paid users,  and am expecting up to
> 10,000-15,000 active paid users in the future (say,
> 1 or 2 years from now).
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>




**********************************************************************
Confidentiality : This e-mail and any attachments are intended for the 
addressee only and may be confidential. If they come to you in error 
you must take no action based on them, nor must you copy or show them 
to anyone. Please advise the sender by replying to this e-mail 
immediately and then delete the original from your computer.
Opinion : Any opinions expressed in this e-mail are entirely those of 
the author and unless specifically stated to the contrary, are not 
necessarily those of the author's employer.
Security Warning : Internet e-mail is not necessarily a secure 
communications medium and can be subject to data corruption. We advise 
that you consider this fact when e-mailing us. 
Viruses : We have taken steps to ensure that this e-mail and any 
attachments are free from known viruses but in keeping with good 
computing practice, you should ensure that they are virus free.

Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales 
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, 
United Kingdom
**********************************************************************



More information about the MailScanner mailing list