Re: Side note
What are the contents of the qmail control files? did you use Bruce G's qmail rpm for the Redhat 7 build? If so, did you rm the qmail job from /etc/cron.hourly/ ?? Adam At 04:31 PM 12/15/00 -0700, [EMAIL PROTECTED] wrote: Yes, the domains tree is owned by vpopmail.vchkpw. drwx--4 vpopmail vchkpw 4096 Dec 15 15:53 blah.com drwx--4 vpopmail vchkpw 4096 Nov 1 14:59 test.com [root@isis domains]# cd test.com [root@isis test.com]# ls total 24 drwx--4 vpopmail vchkpw 4096 Nov 1 14:59 . drwx-- 14 vpopmail vchkpw 4096 Dec 15 12:50 .. -rw---1 vpopmail vchkpw 34 Nov 1 14:47 .dir-control -rw---1 vpopmail vchkpw 55 Aug 18 11:10 .qmail-default drwx--3 vpopmail vchkpw 4096 Aug 18 11:10 postmaster drwx--3 vpopmail vchkpw 4096 Aug 18 11:10 test [root@isis test.com]# cd ../blah.com [root@isis blah.com]# ls total 20 drwx--4 vpopmail vchkpw 4096 Dec 15 15:53 . drwx-- 14 vpopmail vchkpw 4096 Dec 15 12:50 .. -rw---1 vpopmail vchkpw 55 Dec 15 12:47 .qmail-default drwx--3 vpopmail vchkpw 4096 Dec 15 15:53 blah drwx--3 vpopmail vchkpw 4096 Dec 15 12:47 postmaster Thanks for the idea though; Tren. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - Tren Blackburn - Ownermailto:[EMAIL PROTECTED] = = End of Time Networks http://www.theendoftime.net - - (403) 269-2122 = =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- On Fri, 15 Dec 2000, DC Mahoney wrote: On Fri, Dec 15, 2000 at 04:15:28PM -0700, [EMAIL PROTECTED] wrote: And as a side note, I cannot even delete the domain. [root@isis bin]# ./vdeldomain test.com Error: Could not add domain Did you check that the domains tree is owned by the proper owner and group? That error message suggests perhaps not. Dan Mahoney [EMAIL PROTECTED]
Re: my setting of the vpopmail won't work
Richard, Why are you using vmailmgr by the way??? You don't need it if you're using vpopmail Adam At 01:38 PM 11/29/00 +0800, richard wrote: Dear Adam and all, I think that you are right for the RPM qmail that cause the overload of the system. Here is the files I used: courier-imap-0.31-1.src.rpm ucspi-tcp-0.88-1.i386.rpm daemontools-0.70-1.i386.rpm ucspi-unix-0.34-1.i386.rpm qmail-1.03+patches-16.src.rpmvmailmgr-0.96.9-1.i386.rpm supervise-scripts-2.4-1.src.rpm It is already qmail-1.03+patches-16.src.rpm. So, what can I do to avoid this problem? The files have been download there: http://em.ca/~bruceg/qmail+patches/ Yours, Richard Ao - Original Message - From: "Adam Manock" [EMAIL PROTECTED] To: "richard" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 28, 2000 8:33 PM Subject: Re: my setting of the vpopmail won't work Richard, Which version of Bruce's rpm are you using?? v.15 was buggy. Broken paths in run scripts, and supervise constantly restarting them cause load averages like what you're getting. Use v.16. Oh, and use multilog :-) em.ca/~bruceg/qmail+patches/loggers Adam At 01:04 PM 11/28/00 +0800, richard wrote: Dear Peter and all, Also, for the POP3 checking, I can use the postmaster%test2.com for the first time. But, after a while, I can not check into the account as it always say my password is incorrect. I am wondering what is wrong in my setting. If I had to guess, you installed qmail from Bruce Guenter's RPMs. Make sure the cron job /etc/cron.hourly/qmail has been deleted, or it will overwrite your vpopmail configuration in /var/qmail/users/assign. Thanks. After I have deleted the cron, the accounts remain here from yesterday to today. It is the RPMs problem. My delicated server is at the testing stage and there is no other users, but I have notice the following with "top" 12:45pm up 1 day, 52 min, 2 users, load average: 1.86, 1.93, 1.95 91 processes: 87 sleeping, 4 running, 0 zombie, 0 stopped CPU states: 9.3% user, 90.6% system, 0.0% nice, 0.0% idle Mem: 256524K av, 250232K used,6292K free, 69696K shrd, 187556K buff Swap: 530064K av, 820K used, 529244K free 29316K cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 387 root 11 0 548 548 448 R72.8 0.2 992:40 syslogd 3 root 0 0 00 0 SW0.7 0.0 7:08 kupdate The single process "syslogd" occupies more than 90% CPU resource. At the monent the "top" just type, it is about 40% system, but it grows up really very fast to the above figure. I have tested the RPM qmail vpopmail on another testing server. The situation is the same too. But, before I use this setting, I use sendmail and the figure is nearly zero. Is there anything wrong in my setting? Yours, Richard Ao - Original Message - From: "Peter Green" [EMAIL PROTECTED] To: "richard" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, November 26, 2000 12:08 AM Subject: Re: my setting of the vpopmail won't work [ Please configure your e-mail client to wrap lines at or around 72 characters. ] * richard [EMAIL PROTECTED] [001125 04:07]: Then, when I run the command at bin directory: [root@ns28 bin]# ./vadddomain test2.com Please enter password for postmaster: enter password again: [root@ns28 bin]# ./vadduser [EMAIL PROTECTED] Alternatively, you can (should?) run these commands as use vpopmail. Unless, of course, /home/vpopmail/bin/vadddomain is setuid to user vpopmail... Please enter password for [EMAIL PROTECTED]: enter password again: Error: Unable to chdir to vpopmail/domains directory My vpopmail directory is /home/vpopmail with vpopmail as the owner and vchkpw as the group. What about the /home/vpopmail/domains directory? Also, for the POP3 checking, I can use the postmaster%test2.com for the first time. But, after a while, I can not check into the account as it always say my password is incorrect. I am wondering what is wrong in my setting. If I had to guess, you installed qmail from Bruce Guenter's RPMs. Make sure the cron job /etc/cron.hourly/qmail has been deleted, or it will overwrite your vpopmail configuration in /var/qmail/users/assign. /pg -- Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] --- "Problem solving under linux has never been the circus that it is under AIX." (By Pete Ehlke in comp.unix.aix)
Re: my setting of the vpopmail won't work
Richard, Which version of Bruce's rpm are you using?? v.15 was buggy. Broken paths in run scripts, and supervise constantly restarting them cause load averages like what you're getting. Use v.16. Oh, and use multilog :-) em.ca/~bruceg/qmail+patches/loggers Adam At 01:04 PM 11/28/00 +0800, richard wrote: Dear Peter and all, Also, for the POP3 checking, I can use the postmaster%test2.com for the first time. But, after a while, I can not check into the account as it always say my password is incorrect. I am wondering what is wrong in my setting. If I had to guess, you installed qmail from Bruce Guenter's RPMs. Make sure the cron job /etc/cron.hourly/qmail has been deleted, or it will overwrite your vpopmail configuration in /var/qmail/users/assign. Thanks. After I have deleted the cron, the accounts remain here from yesterday to today. It is the RPMs problem. My delicated server is at the testing stage and there is no other users, but I have notice the following with "top" 12:45pm up 1 day, 52 min, 2 users, load average: 1.86, 1.93, 1.95 91 processes: 87 sleeping, 4 running, 0 zombie, 0 stopped CPU states: 9.3% user, 90.6% system, 0.0% nice, 0.0% idle Mem: 256524K av, 250232K used,6292K free, 69696K shrd, 187556K buff Swap: 530064K av, 820K used, 529244K free 29316K cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 387 root 11 0 548 548 448 R72.8 0.2 992:40 syslogd 3 root 0 0 00 0 SW0.7 0.0 7:08 kupdate The single process "syslogd" occupies more than 90% CPU resource. At the monent the "top" just type, it is about 40% system, but it grows up really very fast to the above figure. I have tested the RPM qmail vpopmail on another testing server. The situation is the same too. But, before I use this setting, I use sendmail and the figure is nearly zero. Is there anything wrong in my setting? Yours, Richard Ao - Original Message - From: "Peter Green" [EMAIL PROTECTED] To: "richard" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, November 26, 2000 12:08 AM Subject: Re: my setting of the vpopmail won't work [ Please configure your e-mail client to wrap lines at or around 72 characters. ] * richard [EMAIL PROTECTED] [001125 04:07]: Then, when I run the command at bin directory: [root@ns28 bin]# ./vadddomain test2.com Please enter password for postmaster: enter password again: [root@ns28 bin]# ./vadduser [EMAIL PROTECTED] Alternatively, you can (should?) run these commands as use vpopmail. Unless, of course, /home/vpopmail/bin/vadddomain is setuid to user vpopmail... Please enter password for [EMAIL PROTECTED]: enter password again: Error: Unable to chdir to vpopmail/domains directory My vpopmail directory is /home/vpopmail with vpopmail as the owner and vchkpw as the group. What about the /home/vpopmail/domains directory? Also, for the POP3 checking, I can use the postmaster%test2.com for the first time. But, after a while, I can not check into the account as it always say my password is incorrect. I am wondering what is wrong in my setting. If I had to guess, you installed qmail from Bruce Guenter's RPMs. Make sure the cron job /etc/cron.hourly/qmail has been deleted, or it will overwrite your vpopmail configuration in /var/qmail/users/assign. /pg -- Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] --- "Problem solving under linux has never been the circus that it is under AIX." (By Pete Ehlke in comp.unix.aix)
Re: 553 sorry, that domain isn't in my list of allowed rcpthosts(#5.7.1)
And I thought it was just me Yeah.. Check for typos... I managed to create a cbd file instead of cdb. Took me an hour or so to track it down too! Adam At 01:14 PM 11/22/00 -0800, Chris Bunnell wrote: I just wanted to share my rather embarrassing experience with this same type of problem: I was seeing the same thing. I ended up having a friend look at my tcp.smtp file. Within seconds he said, "Uhh, is that supposed to be spelled that way? Or did you F**K up?" I couldn't believe my eyes. I had misspelled RELAYCLIENT DU!!! What an idiot ! :) As soon as I spelled it right, it worked fine! Chris Bunnell - Original Message - From: "Michael T. Babcock" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: "Peter Green" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, November 22, 2000 12:38 PM Subject: Re: 553 sorry, that domain isn't in my list of allowed rcpthosts(#5.7.1) RE: 553 sorry, that domain isn't in my list of allowed rcpthosts(#5.7.1) [...] rcpthosts has NOTHING to do whatsoever with relaying. What does ``TCP'' mean exactly? It has a lot to do with the problem at hand though. If your tcpserver rules say ":accept" but not ":accept,RELAYCLIENT=\"\"", then you'll only accept mail to domains in rcpthosts. The fact that they're getting this error means they're not allowed to relay -- the rcpthosts is being checked as a last check before denying the request ... but you knew that ;-). -- Michael T. Babcock, C.T.O. FibreSpeed http://www.fibrespeed.net/~mbabcock
Re: Vpopmail with procmail
* Chris Bunnell [EMAIL PROTECTED] [001119 15:08]: Ahh, the $1.98 question... That's exactly what I DON'T know how to do. There isn't a documented method of telling the Makefile to build to use Maildir rather than mbox... You don't need to do anything. It's just there. I am using 3.15. I've read in a few places that it "supports Maildir out of the box..." and yet when I set it up, it wanted to use /var/mail/spool ... etc. I read the INSTALL and everything else, and it appears that I need to edit the Makefile and possibly the src/authenticate.c file. I gave it the Nah, just make sure that your target mailboxes end in a slash. For instance, I filter all of my mail for this list into a separate mailbox: MAILDIR=/home/pcg/mail [...] :0 * ^Delivered-To: mailing list [EMAIL PROTECTED] lists/vpopmail/ Thus, all of this mailing list e-mail goes into a Maildir at /home/pcg/mail/lists/vpopmail/. I don't know if the trailing slash thing is actually documented... :( In any case, if you want to test it to just get all of your e-mail delivered to $HOME/Maildir/, set up the following .procmailrc file: # change for your Maildir/ path DEFAULT=/home/macgyver/Maildir/ That's it! /pg -- Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] --- "By golly, I'm beginning to think Linux really *is* the best thing since sliced bread." (By Vance Petree, Virginia Power)
Re: recommended setup for pop3
Re: recommended setup for pop3 My initial connections are a little slow in the morning after my Redhat 7.0 box has been sleeping overnight, but otherwise my pop3d runs just fine as set up by Bruce Guenter's qmail-1.03+patches-16.src.rpm exec tcpserver -dHRvX -c "$concurrency" \ -x /etc/tcpcontrol/pop-3.cbd 0 pop-3 \ qmail-popup "$hostname" \ $checkpass \ qmail-pop3d Maildir/ I think some clients need the delay -d rather than -D to connect right. --R stops tcpserver from trying to obtain $TCPREMOTEINFO from the remote host. hope that fixes it for you :-) Adam At 03:11 PM 11/8/00 -0800, James wrote: Can someone that's running vpopmail with 600+ users please recommend a better way of running the pop3 service? My current setup is running it out of tcpserver, and my run script(for svscan) is at the end of this message. The problem that I'm having with this setup, is many many people are getting a fairly decent amount of lag when first connecting to the server.. at least 20 seconds.. but many people are also NOT having any lag at all. I've managed to connect to the server with over 200 simultaneous sessions, and I still had room for more. Another problem is that some of our customers' email clients are timing out during authorization (but they do manage to connect). None of this can be internet lag, as it's all local network traffic. I've noticed at most 8 concurrent pop3 sessions going. I'm completely lost as to where to go with this now. I really hate the idea of having to go back to NT for email, but this may be the only option, as too many people are calling up to complain. In case anyone is interested, the server is FreeBSD 4.1.1-STABLE. It's services include: smtp, pop3, and http for sqwebmail. The box is a Pentium I - 200MMX, with 64MB RAM, 160MB swap, a 20GB drive, and a Netgear FA310TX NIC. Here's the contents of the pop3 run script: #!/bin/sh exec /usr/local/bin/softlimit -m 100 \ /usr/local/bin/tcpserver -H -D -c 150 -v \ -u vpopmail -g vchkpw 0 pop3 /var/qmail/bin/qmail-popup \ mail.ourdomain.net /usr/local/vpopmail/bin/vchkpw \ /var/qmail/bin/qmail-pop3d Maildir 21