Just posting this for others who might be having trouble:
I just ran into this problem on FreeBSD6.0 with the latest Plesk. Qmail was rejecting connections on port 25, but was still running (as I'm also running it on 587 and could access it there).
Looking at /var/log/messages gave me this:
smtp/tcp server failing (looping), service terminated
re-hupping inetd fixed things, but only temporarily.... so, I started looking at inetd.
With FreeBSD 6, inetd runs with the rate limiting variable set to 256 connections per minutes. And since qmail runs via inetd, a busy server could easily surpass this limit.
So, I added new flags to /etc/rc.conf in order to bump the limit up, but I also chose to keep the other default settings for FreeBSD (for now). Here's the line to add:
inetd_flags="-wW -C 60 -R 1024"
I believe this has solved my problem, though I'm still keeping an eye on things.
I just ran into this problem on FreeBSD6.0 with the latest Plesk. Qmail was rejecting connections on port 25, but was still running (as I'm also running it on 587 and could access it there).
Looking at /var/log/messages gave me this:
smtp/tcp server failing (looping), service terminated
re-hupping inetd fixed things, but only temporarily.... so, I started looking at inetd.
With FreeBSD 6, inetd runs with the rate limiting variable set to 256 connections per minutes. And since qmail runs via inetd, a busy server could easily surpass this limit.
So, I added new flags to /etc/rc.conf in order to bump the limit up, but I also chose to keep the other default settings for FreeBSD (for now). Here's the line to add:
inetd_flags="-wW -C 60 -R 1024"
I believe this has solved my problem, though I'm still keeping an eye on things.