PDA

View Full Version : [all variants] Sendmail Access DB Scalability



citaliano
February 6th, 2012, 10:36 PM
Hello,

So here's what I am trying to accomplish. We have a sendmail server and we are trying to stop backscattering. One idea that we came up with to prevent this is to utilize sendmail's access database.

Basically we'd have the first line bounce all mail coming in to our mail server to users in our domain. So for example if my domain is example.com:

example.com REJECT

After that, we'd have a list of users that we'll accept and relay through our servers, like so:

user1@example.com RELAY
user2@example.com RELAY
user3@example.com RELAY
user4@example.com RELAY
...

To get this list of users, we'd have a script that runs a query to our ldap server for a list of active users and dump all of those users into the access file.

My question is, how scalable is the access database file? Would this approach work if our domain contained nearly 50k users?

Thanks in advance,
Corey

nutznboltz
February 7th, 2012, 04:12 PM
Does your LDAP server use SSL? If so you should be aware of this:
https://bugs.launchpad.net/bugs/926350