Tom Sommer:
> Hi
> 
> I'm running into problems with OpenDKIM and a 1024 libmilter connection 
> limit (or port-reservation limit) during peak hours.

According to some source code, libmilter uses 'poll' or 'select'.
To change the select() limit you'd have to recompile the library
with a larger FD_SETSIZE value (on LINUX you also need to recompile
glibc).

> Is there any way to limit/throttle the number of connections made to a 
> milter?

Reduce the number of smtpd processes in master.cf:

    postconf -F smtp/inet/process_limit=900

or in main.cf:

    postconf -e default_process_limit=900

Or recompile the libmilter library (and glibc if LINUX).

        Wietse

Reply via email to