Hi, Kavitha.

Qmail does not need to be restart on regular basis to make it deliver messages! 
Something is seriously rotten in your system...


You didn't specify if messages are only delayed or if they are stuck in queue 
permanently without the restart.

If they are only delayed, then you may simply have a lame trigger:

>>>>
G.9. qmail is slow if /var/qmail/queue/lock/trigger is gone/has the wrong 
permissions/is a regular file.

qmail-queue and qmail-send communicate via a named pipe called 
/var/qmail/queue/lock/trigger. If this pipe gets messed up, qmail-send doesn't 
notice new messages for a half hour or so.

The best way to ensure that it's set up right is to run "make check" from the 
source directory. If that's not possible, make sure it looks like:

# ls -l /var/qmail/queue/lock/trigger
prw--w--w-   1 qmails   qmail           0 Jul  5 21:25 
/var/qmail/queue/lock/trigger

Pay particular attention to the "p" at the beginning of the line (says it's a 
named pipe), the mode (especially world writable), and the owner/group.
<<<<
http://www.lifewithqmail.org/lwq.html#trigger


If it's not this, then please check that all processes are running (qmailctl 
stat, everything is UP for about the same amount of seconds and has been up for 
a reasonable time):

[EMAIL PROTECTED] ~]# qmailctl stat
/service/clamd: up (pid 4798) 2539401 seconds
/service/clamd/log: up (pid 4182) 2539552 seconds
/service/dnscache: up (pid 4804) 2539401 seconds
/service/dnscache/log: up (pid 4171) 2539552 seconds
/service/qmail-pop3d: up (pid 4807) 2539401 seconds
/service/qmail-pop3d/log: up (pid 4187) 2539552 seconds
/service/qmail-pop3ds: up (pid 4810) 2539401 seconds
/service/qmail-pop3ds/log: up (pid 4188) 2539552 seconds
/service/qmail-send: up (pid 8260) 2538943 seconds
/service/qmail-send/log: up (pid 4185) 2539552 seconds
/service/qmail-smtpd: up (pid 4822) 2539401 seconds
/service/qmail-smtpd/log: up (pid 4175) 2539552 seconds
/service/qmail-submit: up (pid 4828) 2539401 seconds
/service/qmail-submit/log: up (pid 4176) 2539552 seconds
/service/spamd: up (pid 4835) 2539401 seconds
/service/spamd/log: up (pid 4186) 2539552 seconds
messages in queue: 73
messages in queue but not yet preprocessed: 0

If something is notably different from the rest of the list, examine the log 
files for that particular process. Usually they are under /var/log.


If that doesn't reveal anything, check the rest of the logs:

clamd
spamd
qmail
|-- pop3d
|-- pop3ds
`-- smtpd


If *all* else fails, you can abandon the current queue and start over:

qmailctl stop

cd /var/qmail
mv queue queue_OLD

cd /var/src/netqmail-1.05/netqmail-1.05
make setup check
chown -R vpopmail:vchkpw /var/qmail/spam

qmailctl start


BTW: does "qmailctl doqueue" deliver the messages waiting in the queue? If it 
does, use that to keep mail going while you figure out what is going on. It's 
much better than constantly restarting.

--
Ystävällisin terveisin / Best regards
Jussi Siponen
System Specialist -- Seasam Service Oy

-------------------------

From: Newbie Qmail [mailto:[EMAIL PROTECTED]
Sent: 12. kesäkuuta 2008 19: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



Reply via email to