Re: [vchkpw] Qmail keeps failing!
On Thursday 07 July 2005 10:01 pm, Paul Theodoropoulos wrote: At 05:36 PM 7/7/2005, you wrote: On Wednesday 06 July 2005 06:50 pm, Paul Theodoropoulos wrote: assuming you're running daemontools, cd /service/smtpd/env/CONCURRENCY echo 255 CONCURRENCY svc -t /service/smtpd CONCURRENCY is not an environment variable tcpservers afaik. Also, /service/smtpd/env would not be read unless you have an envdir invocation. I would suggest, rather, having the OP look at the -c flag to tcpserver in his startup script, rather than giving very specific (and probably not fitting his setup) instructions :) oops. 'my bad'. i've used the qmail-conf package for so long now, and it has the qmail 'look and feel' so much so that it is indistinguishable from more recent djb packages (djbdns for example). aight, at least it's not gentoo's qmail ebuilds... ugh... HORRID. *disclaimer* I am a gentoo user. http://www.din.or.jp/~ushijima/qmail-conf.html i'd never go anywhere without it. makes life significantly easier. I'll have to check it out :) -Jeremy -- Jeremy Kitchen + kitchen @ #qmail #gentoo on EFnet IRC kitchen at scriptkitchen dot com pgpBmW1qWrWqv.pgp Description: PGP signature
Re: [vchkpw] Qmail keeps failing!
In a message dated 7/8/2005 12:39:29 A.M. Pacific Daylight Time, [EMAIL PROTECTED] writes: daemontools I am running daemontools, but there is no directory that looks like that on my system. [EMAIL PROTECTED] ~]# cd /service[EMAIL PROTECTED] service]# lsqmail-pop3d qmail-send qmail-smtpd[EMAIL PROTECTED] service]# cd qmail-smtpd[EMAIL PROTECTED] qmail-smtpd]# lslog run supervise[EMAIL PROTECTED] qmail-smtpd]# ls -a. .. log run supervise
Re: [vchkpw] Qmail keeps failing!
[EMAIL PROTECTED] said the following on 7/8/2005 8:28 AM: In a message dated 7/8/2005 12:39:29 A.M. Pacific Daylight Time, [EMAIL PROTECTED] writes: daemontools I am running daemontools, but there is no directory that looks like that on my system. [EMAIL PROTECTED] ~]# cd /service [EMAIL PROTECTED] service]# ls qmail-pop3d qmail-send qmail-smtpd [EMAIL PROTECTED] service]# cd qmail-smtpd [EMAIL PROTECTED] qmail-smtpd]# ls log run supervise [EMAIL PROTECTED] qmail-smtpd]# ls -a . .. log run supervise Read more about it here: http://cr.yp.to/daemontools.html
Re: [vchkpw] Qmail keeps failing!
Rick van Vliet wrote: [EMAIL PROTECTED] said the following on 7/8/2005 8:28 AM: In a message dated 7/8/2005 12:39:29 A.M. Pacific Daylight Time, [EMAIL PROTECTED] writes: daemontools I am running daemontools, but there is no directory that looks like that on my system. [EMAIL PROTECTED] ~]# cd /service [EMAIL PROTECTED] service]# ls qmail-pop3d qmail-send qmail-smtpd [EMAIL PROTECTED] service]# cd qmail-smtpd [EMAIL PROTECTED] qmail-smtpd]# ls log run supervise [EMAIL PROTECTED] qmail-smtpd]# ls -a . .. log run supervise Read more about it here: http://cr.yp.to/daemontools.html Sorry if I repeated anything with that link. I missed the reference to the directory that your'e looking for. rick PS, I loved SDiego! Wow what a neat downtown/waterfront. Sorry we didn't connect for a cocktail or a sandwich or something. Have a good weekend.
Re: [vchkpw] Qmail keeps failing!
Hello everyone, Here is the update on this crazy server issue which is leaning closer and closer to a case of SFA (stupid flippn' administrator). My server appears to be running daemontools ok. I need to investigate daemontools more closely over the course of the day, but daemontools truly does not seem to be contributing to the problem or the solution (from what I can see). I can find no reference to this /env/CONCURRENCY directory on this system at all! Correct me if I am wrong, 1 My CONCURRENCIES are max-ing out and raising the limit is not the solution. 2 Qmail, VPopmail, and QMail scanner are respawning 3 Each spawn will eat a few CONCURRENCIES? 4 Editing evn variables won't prevent the respawning? So it would appear that this knucklehead administrator has to find out why this thing is respawning all the time and that should solve the core issue of this "qmail keeps failing" issue. Pointers? Suggestions? Albert Einstein, The most difficult problems have the simplest solutions! Brad Sumrall
RE: [vchkpw] Qmail keeps failing!
Brad, Turn on debugging in qmail-scanner. I believe you may find an answer there. That's the process that seems to be "hanging". I believe if you open qmail-scanner-queue.pl you'll find a line that starts with DEBUG and it's probably set to zero. Set it to one and you'll get more information in /var/spool/qmail-scanner (I think that's it .. been a while). Unless you're using some specific function of qmail-scanner that Simscan doesn't have, I would strongly recommend switching over to Simscan. It really reduced my server load and is much faster. Charlie PS: Got your private email. Will respond later. :) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 7:21 AMTo: vchkpw@inter7.comSubject: Re: [vchkpw] Qmail keeps failing! Hello everyone, Here is the update on this crazy server issue which is leaning closer and closer to a case of SFA (stupid flippn' administrator). My server appears to be running daemontools ok. I need to investigate daemontools more closely over the course of the day, but daemontools truly does not seem to be contributing to the problem or the solution (from what I can see). I can find no reference to this /env/CONCURRENCY directory on this system at all! Correct me if I am wrong, 1 My CONCURRENCIES are max-ing out and raising the limit is not the solution. 2 Qmail, VPopmail, and QMail scanner are respawning 3 Each spawn will eat a few CONCURRENCIES? 4 Editing evn variables won't prevent the respawning? So it would appear that this knucklehead administrator has to find out why this thing is respawning all the time and that should solve the core issue of this "qmail keeps failing" issue. Pointers? Suggestions? Albert Einstein, The most difficult problems have the simplest solutions! Brad Sumrall
Re: [vchkpw] Qmail keeps failing!
[EMAIL PROTECTED] said the following on 7/8/2005 9:20 AM: Hello everyone, Correct me if I am wrong, 1 My CONCURRENCIES are max-ing out and raising the limit is not the solution. 2 Qmail, VPopmail, and QMail scanner are respawning 3 Each spawn will eat a few CONCURRENCIES? 4 Editing evn variables won't prevent the respawning? Brad Sumrall Can you post on the list, again(?) your unedited output of qmail-showctl. What does your qmailctl stat tell you about this spawning. Services up and staying up? 'messages in queue' reasonable? These items may help folks here help you. How much if anything do you know about the installation process used, when this qmail (note the small 'q') server was cobbled together? This may soon start to look like a qmail list issue, have you looked into the archives over here: http://gossamer-threads.com/lists/qmail/users/ (good search function)
Re: [vchkpw] Qmail keeps failing!
In a message dated 7/8/2005 7:46:11 A.M. Pacific Daylight Time, [EMAIL PROTECTED] writes: qmail-showctl [EMAIL PROTECTED] ~]# /var/qmail/bin/qmail-showctlqmail home directory: /var/qmail.user-ext delimiter: -.paternalism (in decimal): 2.silent concurrency limit: 255.subdirectory split: 211.user ids: 501, 502, 503, 0, 504, 505, 506, 507.group ids: 501, 502. badmailfrom: (Default.) Any MAIL FROM is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is entekbuckets.com. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: Remote concurrency is 255. databytes: (Default.) SMTP DATA limit is 0 bytes. defaultdomain: Default domain name is entekbuckets.com. defaulthost: (Default.) Default host name is entekbuckets.com. doublebouncehost: (Default.) 2B recipient host: entekbuckets.com. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is entekbuckets.com. helohost: (Default.) SMTP client HELO host name is entekbuckets.com. idhost: (Default.) Message-ID host name is entekbuckets.com. localiphost: (Default.) Local IP address becomes entekbuckets.com. locals:Messages for your_fqdn_hostname are delivered locally.Messages for your_fqdn_hostname are delivered locally. me: My name is entekbuckets.com. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is entekbuckets.com. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. rcpthosts:SMTP clients may send messages to recipients at your_fqdn_hostname.SMTP clients may send messages to recipients at your_fqdn_hostname.SMTP clients may send messages to recipients at entekbuckets.com.SMTP clients may send messages to recipients at usahouston.net. morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. smtpgreeting: (Default.) SMTP greeting: 220 entekbuckets.com. smtproutes: (Default.) No artificial SMTP routes. spfbehavior: (Default.) The SPF behavior is 0. spfexp: (Default.) The SPF default explanation is: 550 See http://spf.pobox.com/why.html?sender=%{S}ip=%{I}receiver=%{xR}. spfguess: (Default.) The guess SPF rules are: . spfrules: (Default.) The local SPF rules are: . timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds. timeoutremote: (Default.) SMTP client data timeout is 1200 seconds. timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds. virtualdomains:Virtual domain: entekbuckets.com:entekbuckets.com concurrencyincoming: I have no idea what this file does. servercert.pem: I have no idea what this file does. clientcert.pem: I have no idea what this file does. defaultdelivery: I have no idea what this file does. [EMAIL PROTECTED] ~]# qmailctl stat/service/qmail-send: up (pid 4304) 1632 seconds/service/qmail-send/log: up (pid 4305) 1632 seconds/service/qmail-smtpd: up (pid 4301) 1632 seconds/service/qmail-smtpd/log: up (pid 4306) 1632 seconds/service/qmail-pop3d: up (pid 4302) 1632 seconds/service/qmail-pop3d/log: up (pid 4303) 1632 secondsmessages in queue: 0messages in queue but not yet preprocessed: 0 [EMAIL PROTECTED] ~]# ps -auxWarning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.3/FAQUSER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMANDroot 1 0.0 0.1 1684 544 ? S 07:33 0:01 init [5]root 2 0.0 0.0 0 0 ? SN 07:33 0:00 [ksoftirqd/0]root 3 0.0 0.0 0 0 ? S 07:33 0:00 [events/0]root 4 0.0 0.0 0 0 ? S 07:33 0:00 [khelper]root 9 0.0 0.0 0 0 ? S 07:33 0:00 [kthread]root 18 0.0 0.0 0 0 ? S 07:33 0:00 [kacpid]root 117 0.0 0.0 0 0 ? S 07:33 0:00 [kblockd/0]root 177 0.0 0.0 0 0 ? S 07:33 0:00 [pdflush]root 178 0.0 0.0 0 0 ? S 07:33 0:00 [pdflush]root 180 0.0 0.0 0 0 ? S 07:33 0:00 [aio/0]root 179 0.0 0.0 0 0 ? S 07:33 0:00 [kswapd0]root 125 0.0 0.0 0 0 ? S 07:33 0:00 [khubd]root 274 0.0 0.0 0 0 ? S 07:33 0:00 [kseriod]root 468 0.0 0.0 0 0 ? S 07:33 0:00 [ata/0]root 472 0.0 0.0 0 0 ? S 07:33 0:00 [scsi_eh_0]root 488 0.0 0.0 0 0 ? S 07:33 0:00 [kmirrord/0]root 499 0.0 0.0 0 0 ? S 07:33 0:00 [kjournald]root 1549 0.0 0.0 2340 468 ? Ss 07:33 0:00 udevdroot 1563 0.0 0.0 0 0 ? S 07:33 0:00 [scsi_eh_1]root 1564 0.0 0.0 0 0 ? S 07:33 0:00 [aacraid]root 2110 0.0 0.0 0 0 ? S 07:33 0:00 [khpsbpkt]root 2187 0.0 0.0 0 0 ? S 07:33 0:00 [knodemgrd_0]root 2545 0.0 0.0 0 0 ? S 07:33 0:00 [kjournald]named 2976 0.0 0.5 36228 2768 ? Ssl 07:34 0:00 /usr/sbin/named -root 2989 0.0 0.1 1588 588 ? Ss 07:34 0:00 syslogd -m 0root 2993 0.0 0.0 1536 464 ? Ss 07:34 0:00 klogd -xrpc 3014 0.0 0.1 1672 632 ? Ss 07:34 0:00 portmaprpcuser 3034 0.0 0.1 1712 764 ? Ss 07:34 0:00 rpc.statdroot 3070 0.0 0.1 4052 1004 ? Ss 07:34 0:00 rpc.idmapdroot 3152 0.0 0.1 2716 528 ? Ss 07:34 0:00 nifd -nnobody 3183 0.0 0.1 13376 1024 ? Ssl 07:34 0:00 mDNSResponderldap 3203 0.0 0.6
Re: [vchkpw] Qmail keeps failing!
At 07:20 AM 7/8/2005, you wrote: I can find no reference to this /env/CONCURRENCY directory on this system at all! as i mentioned in a response last night when jeremy pointed out that env/CONCURRENCY isn't a default, i use the qmail-conf package, which makes the qmail package conform, generally, to djb's newer schema for services (a la djbdns). i highly recommend it, as it makes configuration and startup considerably simpler, and it's not full of non-conformant, kludgy stuff like qmailrocks (which i personally detest). http://www.din.or.jp/~ushijima/qmail-conf.html Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com
Re: [vchkpw] Qmail keeps failing!
[EMAIL PROTECTED] wrote: I have a fairly new installation of Qmail running, and when it works, it works great. But, from time to time it will begin to time out. There are zero error messages appearing in any of the logs /var/log/messages or /var/log/qmail. All services are running A packet sniffer shows the entire session going as what would appear to be normal. I receive the final POP Request: QUIT packet and the mail server replying POP Response: +OK Though the mail will not leave Outlook This is a LAN wide issue on all workstations. The only thing that looks out of the nor is in my running processes that are listed below from doing a ps -aux Note: network issue are ruled out. The network is entirely Cisco and wide open on the inside and confirmed error free at router and switching level. This error occurs when trying to send mail only and can be quickly band-aided by running a restore script of the master configuration from weeks back. Surely you can see this as being a pain. This problem occurs daily MY ps -aux vpopmail 4417 0.0 0.2 3500 1176 ?S00:05 0:00 /var/qmail/bin/qm qscand4418 0.0 0.7 8984 3988 ?S00:05 0:00 /usr/bin/perl -T vpopmail 4476 0.0 0.2 3500 1376 ?S00:19 0:00 /var/qmail/bin/qm qscand4477 0.0 0.9 9664 4780 ?S00:19 0:00 /usr/bin/perl -T Are you running some kind of perl-based filter forking or starting for every message? This is a sure way to bring any production system down. Alex.
Re: [vchkpw] Qmail keeps failing!
On Wed, 6 Jul 2005 17:50:17 EDT [EMAIL PROTECTED] wrote: vpopmail 4417 0.0 0.2 3500 1176 ?S 00:05 0:00 /var/qmail/bin/qm qscand4418 0.0 0.7 8984 3988 ? S00:05 0:00 /usr/bin/perl -T Hello, is it qmail-scanner calling spamassassin for every qmail-queue process spawned? If this is your case, depending on your hardware resources and email traffic, increasing incoming / local / remote / concurrency limits is the perfect method of bringing your system down to its knees, and below :) If I were you, I should first reconfigure qmail-scanner to not use spamassassin at all, I'd call SA only for local delivery. After all, would you like to have your outgoing mails marked (even accidentally) as spam? Don't think so ;) I could never understand why on earth would any reasonable admin call a perl program from another perl program for every message delivered by a mailserver. -- Adi Pircalabu (PGP Key ID 0x04329F5E) -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://www.bitdefender.com/
Re: [vchkpw] Qmail keeps failing!
Good point, I had increased the concurrency limits to 255 based on a previous suggestion by another gentleman. The concurrencies were running 30/30, you could see what was filling up based on the behavior. tail -f /var/log/qmail/qmail-smtp/current show this and nothing else:@400042cc596c30281e0c tcpserver: end 24543 status 256@400042cc596c30283194 tcpserver: status: 29/30@400042cc596c30284134 tcpserver: status: 30/30@400042cc596c302850d4 tcpserver: pid 30981 from 12.41.204.71@400042cc59810249bb44 tcpserver: ok 30981 entekbuckets.com:192.168.0.49:25 dcmgatemt01.hertz.com:12.41.204.71::33001@400042cc5981024f54dc tcpserver: end 30981 status 0@400042cc5981024f647c tcpserver: status: 29/30@400042cc5981024f741c tcpserver: status: 30/30@400042cc5981024f7fd4 tcpserver: pid 31079 from 65.54.175.87@400042cc59810811fc94 tcpserver: ok 31079 entekbuckets.com:192.168.0.49:25 bay104-dav15.bay104.hotmail.com:65.54.175.87::1089 Is your suggestion to lower the concurrency limits back to 30 and disable SA for outgoing email? If so, where do I find this switch? Brad Sumrall
Re: [vchkpw] Qmail keeps failing!
On Thu, 7 Jul 2005 03:43:25 EDT [EMAIL PROTECTED] wrote: Is your suggestion to lower the concurrency limits back to 30 and disable SA for outgoing email? I'd rather suggest modifying the concurrency values after getting rid of spamassassin from qq and testing the behaviour. If so, where do I find this switch? You can search for scanner_array in your qmail-scanner wrapper and take spammassassin out of there. Alternately, if you use qmail-scanner ONLY for SpamAssassin, disable it completely. -- Adi Pircalabu (PGP Key ID 0x04329F5E) -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://www.bitdefender.com/
Re: [vchkpw] Qmail keeps failing!
On Wednesday 06 July 2005 06:50 pm, Paul Theodoropoulos wrote: At 03:57 PM 7/6/2005, you wrote: In a message dated 7/6/2005 3:46:31 P.M. Pacific Daylight Time, [EMAIL PROTECTED] writes: change the CONCURRENCY environment variable Where can I locate the change the CONCURRENCY environment variables? Brad Sumrall assuming you're running daemontools, cd /service/smtpd/env/CONCURRENCY echo 255 CONCURRENCY svc -t /service/smtpd CONCURRENCY is not an environment variable tcpservers afaik. Also, /service/smtpd/env would not be read unless you have an envdir invocation. I would suggest, rather, having the OP look at the -c flag to tcpserver in his startup script, rather than giving very specific (and probably not fitting his setup) instructions :) -Jeremy -- Jeremy Kitchen + kitchen @ #qmail #gentoo on EFnet IRC kitchen at scriptkitchen dot com pgpkVme61ftms.pgp Description: PGP signature
Re: [vchkpw] Qmail keeps failing!
Hello all! First off, I would truly like to thank all of the people who have responded to my post. Your level of support has been all so helpful. Everyone that has passed my emailhas beeninvestigated deeply. The best part is that I have more question due to the enlightenment I now have, and a few suggestions for the developers. Quickly, my background is USMC and self taught training. My expertise is in routing / networks / and apps that support them. I have about 6 collage credits towards programming, so my c++ is very basic with many memory leaks etc...in my programs which is why I leave most of that to you guys (and girls!). So, as a knuckle head who stepped away from Microsoft about 3 years ago to Linux (gratefully), I think I am slightly past novice. So my questions are very legit for the typical admin embracing QMail. Quick follow up because most of the previous emails have been chopped from the replies. My original problem was qmail failing. After a day or so or less, outgoing emails would not make it out. Our typical mail program is MS Outlook. (Yes, I know, MS sucks, but preferred with my customers). MS Outlook would just sit there and time out on an outgoing email request. A gentlemen pointed out he my CONCURRENCY limits were max-ing out. They were set to 30 for an office of about 23 workstations (makes sense because Microsoft does not like to let go of stuff). I set the limits to the max. Ok, someone pointed out that this was not a good idea unless I wanted my server to come to it's knees due to a memory flood. I began to see this response and switched it to 115. Ok, it seems to be doing ok now, but... (yes, all can criticize me on this, but the situation merits it right now) This server right now is also being used as a master file server for engineering data. This 115 might very well shoot me in the foot very soon due to load issues I was told to disable spamassasin for out going emails. (good point but how?) Or disable it all together (can't, this IP was identified and a prime spam source when MS Exchange was running the email (go figure, someone hacked Exchange 2003). I just had a gentleman refer to a -c flag adjustment (Dude, chu wanna come work for me? You are on a level way above me. Keep up the good work!) I followed the QMailRocks installation to the "t" for this Qmail installation. Ok, the nuts and bolts, I can find no indication that I am scanning outgoing email at all, in the Qmail scanner. How do I find/verify and disable? What are the key apps I should launch to see what or who has control in qmail issues and why (i am aware of the obvious /var/log/ and netstat and ps and the other very basics.) What are the recommendations to tune this system correctly (this is a new install and 3rd qmail install for myself)\ Suggestion for the developers A simple question during configure for the expected number of users... To prevent this obvious and known issue. Thank YOU, Thank YOU everyone!!! Brad Sumrall
Re: [vchkpw] Qmail keeps failing!
Let's make my last thread public as well,,, some good info will come from it!!! Brad
Re: [vchkpw] Qmail keeps failing!
At 05:36 PM 7/7/2005, you wrote: On Wednesday 06 July 2005 06:50 pm, Paul Theodoropoulos wrote: assuming you're running daemontools, cd /service/smtpd/env/CONCURRENCY echo 255 CONCURRENCY svc -t /service/smtpd CONCURRENCY is not an environment variable tcpservers afaik. Also, /service/smtpd/env would not be read unless you have an envdir invocation. I would suggest, rather, having the OP look at the -c flag to tcpserver in his startup script, rather than giving very specific (and probably not fitting his setup) instructions :) oops. 'my bad'. i've used the qmail-conf package for so long now, and it has the qmail 'look and feel' so much so that it is indistinguishable from more recent djb packages (djbdns for example). http://www.din.or.jp/~ushijima/qmail-conf.html i'd never go anywhere without it. makes life significantly easier. but fubars everything if one forgets that it's not default qmail behaviour. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com
Re: [vchkpw] Qmail keeps failing!
On Thursday, July 7 at 09:18 PM, quoth [EMAIL PROTECTED]: I was told to disable spamassasin for out going emails. (good point but how?) Depends on how you have it all set up. I understand you use qmail-scanner? Basically, you want to unset QMAILQUEUE whenever RELAYCLIENT is set. The easiest way is to add a shell script to your run file. The basic run file looks like this: tcpserver ${TCPSERVER_OPTIONS} qmail-smtpd So change it to: tcpserver ${TCPSERVER_OPTIONS} nospamforrelay.sh qmail-smtpd Where nospamforrelay.sh is a shell script that looks like this: #!/bin/sh test `printenv | grep RELAYCLIENT` unset QMAILQUEUE exec $* Or disable it all together (can't, this IP was identified and a prime spam source when MS Exchange was running the email (go figure, someone hacked Exchange 2003). What's that got to do with spam filtering for outgoing email? I can find no indication that I am scanning outgoing email at all, in the Qmail scanner. Because that's not qmail-scanner's purview. Check out The Big Qmail Picture to familiarize yourself with how things work (http://www.nrg4u.com/). Qmail-scanner gets stuck between qmail-smtpd and qmail-queue, depending on the contents of the QMAILQUEUE environment variable. How do I find/verify and disable? Does outbound email get tagged with X-Spam-Status headers? If so, then you're scanning them unnecessarily. If not, then you're all set. What are the key apps I should launch to see what or who has control in qmail issues and why (i am aware of the obvious /var/log/ and netstat and ps and the other very basics.) vi /service/qmail-smtpd/run ;) ~Kyle -- As we enjoy great Advantages from the Inventions of others we should be glad of an Opportunity to serve others by any Invention of ours, and this we should do freely and generously. -- Benjamin Franklin signature.asc Description: Digital signature
RE: [vchkpw] Qmail keeps failing!
Brad, If you need some help contact me off list. I'd be more than happy to donate an hour or so to help you get going. A little advice. I hate stepping on the hard work of others but this isn't the first time I've heard of problems with the Qmail Rocks instructions. Follow Bill Shupp's toaster instructions of Life With Qmail and you shouldn't have any problems. Here's how I do my installations. Usually takes me two to three hours total depending on how many brain-farts I have :) and how fast the Internet connection is. I usually just download everything as I need it. I use Mandrake so I urpmi stuff as needed as well. You sound small enough that you probably don't need to use MySQL or PostgreSQL. I use PostgreSQL personally. If you are going to store your users in a database then you'll need to have that all installed prior to starting the process. install qmail with no patches install vpopmail patch qmail with Bill Shupp's toaster patch and custom patch reinstall qmail install clamav install razor-agents install spamassassin install ripmime install simscan install daemontools install ucspi install maildrop install courier-auth install courier-imap install squirrelmail I think that's about it. I'm sure I had a lapse in memory somewhere. I have BGP on the brain right now! :). The order should be about right too. I'm sure someone here will let me know if I missed anything. :) For your size of office, I'd say a concurrency of 20 should be sufficient. Looking back to your process list, it appears you have some process that's hanging and causing you to have too many concurrent connections. I run a small ISP with about 1500 addresses on my server. I run my concurrency max at 100 but rarely see over 10 to 20 connections. My max today was close to 40. That's both inbound and outbound SMTP connections. Using simscan, I scan every message using SpamAssassin and ClamAV and don't have concurrency issues. Hope you find this information useful. Charlie From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 07, 2005 6:19 PMTo: vchkpw@inter7.comSubject: Re: [vchkpw] Qmail keeps failing! Hello all! First off, I would truly like to thank all of the people who have responded to my post. Your level of support has been all so helpful. Everyone that has passed my emailhas beeninvestigated deeply. The best part is that I have more question due to the enlightenment I now have, and a few suggestions for the developers. Quickly, my background is USMC and self taught training. My expertise is in routing / networks / and apps that support them. I have about 6 collage credits towards programming, so my c++ is very basic with many memory leaks etc...in my programs which is why I leave most of that to you guys (and girls!). So, as a knuckle head who stepped away from Microsoft about 3 years ago to Linux (gratefully), I think I am slightly past novice. So my questions are very legit for the typical admin embracing QMail. Quick follow up because most of the previous emails have been chopped from the replies. My original problem was qmail failing. After a day or so or less, outgoing emails would not make it out. Our typical mail program is MS Outlook. (Yes, I know, MS sucks, but preferred with my customers). MS Outlook would just sit there and time out on an outgoing email request. A gentlemen pointed out he my CONCURRENCY limits were max-ing out. They were set to 30 for an office of about 23 workstations (makes sense because Microsoft does not like to let go of stuff). I set the limits to the max. Ok, someone pointed out that this was not a good idea unless I wanted my server to come to it's knees due to a memory flood. I began to see this response and switched it to 115. Ok, it seems to be doing ok now, but... (yes, all can criticize me on this, but the situation merits it right now) This server right now is also being used as a master file server for engineering data. This 115 might very well shoot me in the foot very soon due to load issues I was told to disable spamassasin for out going emails. (good point but how?) Or disable it all together (can't, this IP was identified and a prime spam source when MS Exchange was running the email (go figure, someone hacked Exchange 2003). I just had a gentleman refer to a -c flag adjustment (Dude, chu wanna come work for me? You are on a level way above me. Keep up the good work!) I followed the QMailRocks installation to the "t" for this Qmail installation. Ok, the nuts and bolts, I can find no indication that I am scanning outgoing email at all, in the Qmail scanner. How do I find/verify and disable? What are the key apps I should launch to see what or who has contro
Re: [vchkpw] Qmail keeps failing!
On Wednesday 06 July 2005 04:50 pm, [EMAIL PROTECTED] wrote: I have a fairly new installation of Qmail running, and when it works, it works great. But, from time to time it will begin to time out. what will? There are zero error messages appearing in any of the logs /var/log/messages or /var/log/qmail. All services are running A packet sniffer shows the entire session going as what would appear to be normal. I receive the final POP Request: QUIT packet and the mail server replying POP Response: +OK ok, this doesn't really help, but ok. Though the mail will not leave Outlook leave outlook? I thought you were trying to pop mail? Are you having trouble sending mail or fetching mail with pop3? If the former, please use 'telnet' to connect to your smtp server and attempt to send an email. If that doesn't work, post the results to the qmail mailing list, since that would not be related to vpopmail. If the latter, please use 'telnet' to connect to your pop3 server and attempt to retrieve email. If that doesn't work, post the results here, as it could potentially be related to vpopmail. an example telnet session for SMTP: $ telnet mail.example.com 25 EHLO my.machines.name 250-mail.example.com 250-PIPELINING 250 8BITMIME MAIL FROM: [EMAIL PROTECTED] 250 ok RCPT TO: [EMAIL PROTECTED] 250 ok DATA 354 go ahead Subject: test test . 250 Ok qq 1234 qp 49029 QUIT an example telnet session for pop3: $ telnet mail.example.com 110 +OK [EMAIL PROTECTED] USER bob +OK PASS password +OK LIST 1 123 2 123 3 123 . RETR 1 email here . QUIT +OK -Jeremy -- Jeremy Kitchen + kitchen @ #qmail #gentoo on EFnet IRC kitchen at scriptkitchen dot com pgpFTsV7WjNw2.pgp Description: PGP signature
Re: [vchkpw] Qmail keeps failing!
Sending an email from outlook will "time out"! It will just sit there and stare at us trying to send, and nothing happens but a "session timed out" error. Brad
Re: [vchkpw] Qmail keeps failing!
On Wednesday 06 July 2005 05:17 pm, [EMAIL PROTECTED] wrote: Sending an email from outlook will time out! It will just sit there and stare at us trying to send, and nothing happens but a session timed out error. check your smtp logs. If you are hitting your concurrency limit, increase it. -Jeremy -- Jeremy Kitchen + kitchen @ #qmail #gentoo on EFnet IRC kitchen at scriptkitchen dot com pgpeag60p6dXS.pgp Description: PGP signature
Re: [vchkpw] Qmail keeps failing!
a tail -f /var/log/qmail/qmail-smtp/current show this and nothing else: @400042cc596c30281e0c tcpserver: end 24543 status 256@400042cc596c30283194 tcpserver: status: 29/30@400042cc596c30284134 tcpserver: status: 30/30@400042cc596c302850d4 tcpserver: pid 30981 from 12.41.204.71@400042cc59810249bb44 tcpserver: ok 30981 entekbuckets.com:192.168.0.49:25 dcmgatemt01.hertz.com:12.41.204.71::33001@400042cc5981024f54dc tcpserver: end 30981 status 0@400042cc5981024f647c tcpserver: status: 29/30@400042cc5981024f741c tcpserver: status: 30/30@400042cc5981024f7fd4 tcpserver: pid 31079 from 65.54.175.87@400042cc59810811fc94 tcpserver: ok 31079 entekbuckets.com:192.168.0.49:25 bay104-dav15.bay104.hotmail.com:65.54.175.87::1089
Re: [vchkpw] Qmail keeps failing!
At 03:24 PM 7/6/2005, you wrote: a tail -f /var/log/qmail/qmail-smtp/current show this and nothing else: @400042cc596c30281e0c tcpserver: end 24543 status 256 @400042cc596c30283194 tcpserver: status: 29/30 @400042cc596c30284134 tcpserver: status: 30/30 @400042cc596c302850d4 tcpserver: pid 30981 from 12.41.204.71 @400042cc59810249bb44 tcpserver: ok 30981 entekbuckets.com:192.168.0.49:25 dcmgatemt01.hertz.com:12.41.204.71::33001 @400042cc5981024f54dc tcpserver: end 30981 status 0 @400042cc5981024f647c tcpserver: status: 29/30 @400042cc5981024f741c tcpserver: status: 30/30 @400042cc5981024f7fd4 tcpserver: pid 31079 from 65.54.175.87 @400042cc59810811fc94 tcpserver: ok 31079 entekbuckets.com:192.168.0.49:25 bay104-dav15.bay104.hotmail.com:65.54.175.87::1089 right. notice the status: 30/30. that means all 30 of the allowed smtp connections are 'filled'. increase your SMTP concurrency limit. /var/qmail/control/concurrence[local/remote]. restart smtp. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com
Re: [vchkpw] Qmail keeps failing!
At 03:38 PM 7/6/2005, you wrote: right. notice the status: 30/30. that means all 30 of the allowed smtp connections are 'filled'. increase your SMTP concurrency limit. /var/qmail/control/concurrence[local/remote]. restart smtp. doh. that would be the concurrency for deliveries of course. if you're using daemontools (you should be), change the CONCURRENCY environment variable. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com
Re: [vchkpw] Qmail keeps failing!
In a message dated 7/6/2005 3:39:04 P.M. Pacific Daylight Time, [EMAIL PROTECTED] writes: /var/qmail/control/concurrence You are the MAN! Thank you! I will know for sure if it works tomorrow, but I see exactly what you see and it make complete sense!!! Thank you thank you thank you! Brad Sumrall
Re: [vchkpw] Qmail keeps failing!
In a message dated 7/6/2005 3:46:31 P.M. Pacific Daylight Time, [EMAIL PROTECTED] writes: change the CONCURRENCY environment variable Where can I locate the change the CONCURRENCY environment variables? Brad Sumrall
Re: [vchkpw] Qmail keeps failing!
I changed the /var/qmail/control/concurrencyincoming from 30 to 3000 the /var/qmail/control/concurrencyremote I left at 255 That should do it? Brad
Re: [vchkpw] Qmail keeps failing!
At 03:57 PM 7/6/2005, you wrote: In a message dated 7/6/2005 3:46:31 P.M. Pacific Daylight Time, [EMAIL PROTECTED] writes: change the CONCURRENCY environment variable Where can I locate the change the CONCURRENCY environment variables? Brad Sumrall assuming you're running daemontools, cd /service/smtpd/env/CONCURRENCY echo 255 CONCURRENCY svc -t /service/smtpd Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com
Re: [vchkpw] Qmail keeps failing!
At 04:02 PM 7/6/2005, you wrote: I changed the /var/qmail/control/concurrencyincoming from 30 to 3000 the /var/qmail/control/concurrencyremote I left at 255 That should do it? there's a compiled in limit of 255 for both variables. trust me, you don't want or need it over 255. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com