Hi list,

I need to setup an environment made up of multiple MTAs to accept incoming 
mail, in load balance configuration. One of the requirements is bandwidth 
quotas for sasl users; due to the fact that we can't predict which server the 
user will submit mail to, every MTA must perform policy delegation against one 
single backend.
What is the best way to accomplish this task?
I thought about 2 possibilities:

1) x MTAs + x policyd daemons (one for every MTA server) + 1 external db
2) x MTAs + 1 external policyd daemon (used by all MTAs) + 1 external db

AFAIK, possibility n.1 could lead to a race condition on the db: each policyd 
daemon could overwrite results previously written by others about the current 
cumulative size of mail submitted by a user. Am I right?
If so, is possibility n.2 the only viable option? How will a single policyd 
daemon deal with the load of multiple (let's say 5) high-traffic (>20.000 
mail/day/mta) MTAs? Of course I'll set the number of policyd concurrent threads 
accurately.

Thanks a lot for your support,
Fabio
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to