RE: [toaster] qmail send receive
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
[toaster] RE: clamav
Yes, any particular problem? If Simscan is giving you trouble, this works for me: cd /var/src/tar wget http://garr.dl.sourceforge.net/sourceforge/simscan/simscan-1.4.0.tar.gz wget http://qmail.jms1.net/simscan/simscan-1.4.0-clamav.patch cd ../ tar -xzf tar/simscan-1.4.0.tar.gz cd simscan-1.4.0 patch -p1 ../tar/simscan-1.4.0-clamav.patch ./configure --enable-user=clamav \ --enable-clamav=y \ --enable-spam=y \ --enable-spam-passthru=y \ --enable-per-domain=y \ --enable-ripmime \ --enable-attach=y \ --enable-received=y make make install-strip -- Ystävällisin terveisin / Best regards Jussi Siponen System Specialist -- Seasam Service Oy -Original Message- From: Qmail List [mailto:[EMAIL PROTECTED] Sent: 1. huhtikuuta 2008 0:53 To: toaster@shupp.org Subject: [toaster] clamav Hi, Has anyone successfully run shupp toaster with clamav 0.92.1? Regards
[toaster] RE: what's up with clamav ???
Patch does indeed apply cleanly even to the latest ClamAV. Problem is, the ClamAV folks have changed their malware database format. Simscan can't extract the version information anymore. It kind of works if you have a previous installation (simscanmk -g throws a tantrum, though), but simscan won't compile with the latest ClamAV. I've not checked if Simscan 1.4.0 solves this (available from Inter7 and Sourceforge), has anyone tested it? -- Ystävällisin terveisin / Best regards Jussi Siponen System Specialist -- Seasam Service Oy - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25. tammikuuta 2008 8:42 To: toaster@shupp.org Subject: Re: [toaster] what's up with clamav ??? ClamAV v0.92 is easy enough to install afterwards. Just download it and follow the install instructions. The take a look at Bill's patch. He is only patching the conf file so you can copy his changes and make them manually. You can try the patch straight forward as it may apply successfully since the patch adjust common settings that were not removed in the new version.
RE: [toaster] Problem with Outgoing mail
The error is yadda-yadda SMTP yadda-yadda..., so that does not suggest IMAP problems to me. Take it one step at a time: - Is Squirrelmail configured to use SMTP (tcp/25)? - Is SMTP service active? (netstat -na, look for 0.0.0.0:25) - What happens when you try to connect to SMTP locally (telnet localhost 25)? - If telneting to port 25 locally is giving you trouble, check your qmail-smtpd logs and tcp.smtp file. -- Ystävällisin terveisin / Best regards Jussi Siponen - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25. heinäkuuta 2007 9:56 To: toaster@shupp.org Subject: Re: [toaster] Problem with Outgoing mail Hi, configuration issue of squirrel? Have you set correct type of IMAP in squirrel's configuration? What about other webmail, does it work? Roman [EMAIL PROTECTED] napsal(a): Hi All, I have just configured my first mail server qmail + vpopmail + courier-imap + squirrelmail. Everything has gone well at the time of installation. When iam testing my server it started giving me errors. When iam sending a mail from the web inetrface of squirrelmail, it simply saying Error : Server Replied. I tried to reconfigure squirrel mail and no use. when i check th logs iam getting as follows, [Tue Jul 24 23:42:00 2007] [error] [client 192.168.0.238] PHP Notice: Undefined property: Deliver_SMTP::$dlv_msg in /var/www/html/squirrelmail- 1.4.9a/src/compose.php on line 1615, referer: http://192.168.0.90/squirrelmail- 1.4.9a/src/compose.php?mailbox=INBOXstartMessage=1 ... SNIP ... Undefined property: Deliver_SMTP::$dlv_server_msg in /var/www/html/squirrelmail-1.4.9a/src/compose.php on line 1617, referer: http://192.168.0.90/squirrelmail-1.4.9a/src/compose.php? mailbox=INBOXstartMessage=1 Any clue please. Thanks in Advance, Kris.
RE: [toaster] How to install SpamAssassin?
-Original Message- From: Hillbun [mailto:[EMAIL PROTECTED] Sent: 15. kesäkuuta 2007 10:09 To: toaster@shupp.org Subject: [toaster] How to install SpamAssassin? ERROR: the required Net::DNS (version 0.34) module is installed, but is not an up-to-date version. at lib/Mail/SpamAssassin/Util/DependencyInfo.pm line 293, STDIN line 1. How to solve it? Please help me, Thank you! You could try: cd /root perl -MCPAN -e shell install Net::DNS Best regards Jussi Siponen System Specialist - Seasam Service Oy Mikonkatu 16 FIN-50100 MIKKELI, Finland www.seasamservice.fi -