I was able to fix the problem on my own.
While upgrading to 5.2-stable, I changed one line of code.
In /usr/src/usr.sbin/smtpd/mta_session.c:
old: io_set_timeout(&s->io, 10000);
new: io_set_timeout(&s->io, 300000);
So the timeout is 5 minutes instead of 10 seconds and it works fine.
|