You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Craig Raw <cr...@quirk.co.za> on 2005/01/22 12:19:44 UTC
Fast-fail with virtual users
I've been taking another look at the number of messages ending up in deadletter with "relaying
denied", and for the current month it is nearing 1.5 Gbs. Bandwidth costs make me need to look again
at fast fail to reduce this.
All of my users are mapped via the JDBCVirtualUserTable mailet, so a quick fix solution would be to
add some code in the doRCPT() method of SMTPHandler to perform the same SELECT statement on the
recieved address, and return a 550 if no results are returned.
Does this sound reasonable? Should I be more concerned about address harvesting?
Thanks,
Craig
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: Hardware and protocol for performances ?
Posted by Danny Angus <da...@gmail.com>.
I think it also depends upon how much mail these people get.
I would think that with hundreds of thousands of users you will be
looking for high availability as well as capacity, and in order to
achieve this I would suggest that you use a clustered database (I'm
not about to recommend anything I'm not a dba) and in front of that
have at least two instances of James.
It is more likely that you would want to have two tiers of Jameses the
front tier inside your firewall performing spam/virus filtering and
forwarding all traffic onto a second tier which performs routing and
delivery.
If your database is HA you can share the db between both tiers, or (if
you were using something like Oracle RAQ or on "big iron") have two db
instances run on the same set of hardware.
You may also want to have secondary servers in a remote location
capable of accepting and queueing incoming mail when your primary site
is down.
Your hardware options shouldn't be limited by James, but a James
architecture on many low capacity boxes may lead you into more complex
set-up.
see http://wiki.apache.org/james/SmartOrSecondaryHost for some ideas
on how to start thinking about a big installation.
d.
On Wed, 26 Jan 2005 13:39:30 +0400, Christophe Laumond <cl...@motet.dk> wrote:
> hello,
>
> We have some questions about the hardware we should use, but we have not
> the possibilities to test the different situations. If you can speak
> about your experience in order to make a choice, it would be very usefull.
>
> Our mail system have 200-300 000 users, so what is better to use :
> - a single computer with a good configuration, and in this case, what is
> the necesary configuration (CPU, RAM, Hard disk, network flow) ?
> - at least two computer, one with database, another with James. And so
> what is the necesary configurations ?
> - a farm of computer with several computer, and so the number of
> computers and their configurations and roles ?
>
> Actually, we principaly use the POP3 ans SMTP fonctionnalities, do you
> think that the IMAP can afford better performance for this number of
> user ? Or should we use a direct access to the database ?
>
> Thanks a lot for your responses.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Hardware and protocol for performances ?
Posted by Christophe Laumond <cl...@motet.dk>.
hello,
We have some questions about the hardware we should use, but we have not
the possibilities to test the different situations. If you can speak
about your experience in order to make a choice, it would be very usefull.
Our mail system have 200-300 000 users, so what is better to use :
- a single computer with a good configuration, and in this case, what is
the necesary configuration (CPU, RAM, Hard disk, network flow) ?
- at least two computer, one with database, another with James. And so
what is the necesary configurations ?
- a farm of computer with several computer, and so the number of
computers and their configurations and roles ?
Actually, we principaly use the POP3 ans SMTP fonctionnalities, do you
think that the IMAP can afford better performance for this number of
user ? Or should we use a direct access to the database ?
Thanks a lot for your responses.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
RE: Fast-fail with virtual users
Posted by "Noel J. Bergman" <no...@devtech.com>.
Craig Raw wrote:
> I've been taking another look at the number of messages ending
> up in deadletter with "relaying denied"
I don't have any, because I switched over to fast-fail ages ago. I have
tons of SPAM that I want to eliminate at fast-fail time, but no relay
denied.
> All of my users are mapped via the JDBCVirtualUserTable mailet
That should not make any difference. The address at which they receive
e-mail on your server should be one of the ones defined as local.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org