Hi

I run a bit more complicated setup[0]. Part of this setup are MDA
scripts which adds some header fields to the mail and then pipe the
mail back to opensmtpd via /usr/sbin/sendmail.

We recently found a problem with this. When whe have some more mails
going parallel through this MDA (i.e. because it's originated on
a mailinglist) this might fail because the sendmail command failes
sometimes. This is because opensmtpd limits the connection to the
control socket to 32[1] connection per user.

I would like to understand whats the reason for this quite low limit.
Also I'm currently unsure what a reasonable default limit would be.
An option to change this limit would also be nice. I check if I can
write a patch for this on the weekend.

In our primary case we currently check if we can run the mda as the user
the mail is for. But this is not possible for all our recipients, because
not all of them correspond to an account.

Philipp

[0] a complete overview is online: 
https://satanist.bureaucracy.de/smtpd/complex.html
[1] usr.sbin/smtpd/control.c line 320

Reply via email to