Hi,
all depends on how you restart qmail. If you do simple qmailctl stop,
qmailctl start, you're bound to get in trouble.
Why? Well, it is just possible that qmailctlstop does not stop fully.
I had a setup once that was tricky to restart. I used to:
# qmailctl stop
but then always do:
# qmailctl stat
to see if it really is down. I waited a few seconds and checked again.
If it was not down, I killed the processes that
were still running:
[EMAIL PROTECTED]:~# qmailctl stat
/service/qmail-send: up (pid 6419) 1219640 seconds
/service/qmail-send/log: up (pid 6417) 1219640 seconds
/service/qmail-smtpd: up (pid 6421) 1219641 seconds
/service/qmail-smtpd/log: up (pid 6415) 1219641 seconds
As you see here, you have the pid shown. So if it's still running after
qmailctl stop. Kill it and there you are.
You can start after that.
But please also explain why the idea to restart every 5 minutes, it's
intriguing.
Regards,
Maciej
Why are you restarting the qmail-server every 5 minutes in the first
place?
E:S
*From:* Newbie Qmail [mailto:[EMAIL PROTECTED]
*Sent:* Donnerstag, 12. Juni 2008 18:47
*To:* toaster@shupp.org
*Subject:* [toaster] qmail send receive
Good evening everybody
I have a strange problem in my qmail server. First let me brief about
my qmail setup
i am using debian 3.1 OS and qmail+spamassassin+clamav . So far the
server was doing it pretty good. The problem started after my
vacation holls. my colleague was telling he didnt add/modify anything
this mail server other than one cronjob
(cronjob is restarting the qmail server every 5 minutes.)
Now the problem is if the qmail server is not getting restarted, the
mails are not getting delivered to internal/external users
had a look at qmail-send/run, nothing seems modified.
can anyone helpme out here....
kavitha