Re: [vchkpw] new quota support question
OK OK. Brian had me thinking that the quota was stored in a database with all of that talk about pw_shell and limits API calls. I now see that (as I originally thought), the quota is actually stored in the 'maildirsize' file. (I opened it up and looked at it in my maildir) It is used from the file *only* if you use maildrop. If you use vpopmail the info is stored either in the password file or the database. snip SO: Would anyone be opposed to moving the 'domain' quota out of the qmailadmin limits file (I'm assuming it's stored there since Brian said it was) and into a separate 'domainquota' file? Yes. Many people use other tools in addition to qmailadmin that manipulate the database directly to control these things. I know I'm not alone. There have been several other posts by others using the database that manipulate the db directly. Doing this would require *another* file to be opened and maintained by the admin tools and again puts a limit into the control of the end user. I use the limits from the db, and enforce them with system quotas. This is for both user quotas and domain quotas. Brian
[vchkpw] SpamAssassin/vmodinfo changes
Hello, I've added support for SpamAssassin into vdelivermail (basically, it will just add the SpamAssassin score of the mail if activated and NEVER delete mail on the server). Further, I added the -w switch to vmodinfo which has it display all users in a domain, handy if you want to just know about them or feed them to some scripts to do something with them (in my case, I wanted the feature so I can set quotas for them all with xargs ;-). Anyway, find the tarball at http://buz.ch/software. I'd very like to hear comments and bug reports about SpamAssassin integration (-w switch was simple enough ;-). From all I can tell, there shouldn't be any licensing issues as the spamassassin client stuff seems to be under the BSDL or alike license and thus can be incorporated into GPL projects just fine.
Re: [vchkpw] new quota support question
On Friday 07 March 2003 08:01, Brian Kolaci wrote: OK OK. Brian had me thinking that the quota was stored in a database with all of that talk about pw_shell and limits API calls. I now see that (as I originally thought), the quota is actually stored in the 'maildirsize' file. (I opened it up and looked at it in my maildir) It is used from the file *only* if you use maildrop. If you use vpopmail the info is stored either in the password file or the database. snip SO: Would anyone be opposed to moving the 'domain' quota out of the qmailadmin limits file (I'm assuming it's stored there since Brian said it was) and into a separate 'domainquota' file? Yes. Many people use other tools in addition to qmailadmin that manipulate the database directly to control these things. First off, I downloaded the 3.19 distribution from Bill Shupp's site and read README.quotas. With that in mind, here are my comments: OK. I see the pw_shell field in my domain tables. Is the user quota value in the maildirsize file ever re-syncronized with the pw_shell variable? If so... when? And if you change the pw_shell variable, does it automatically re-sync the quota value in the maildirsize file? *IF* vpopmail re-syncs the 'maildirsize' file with the value of the pw_shell variable, then I don't care if people modify the pw_shell variable from their scripts. All I care about is that file being correct so that external NON- vpopmail programs can correctly enforce the user quota. *IF* vpopmail does NOT re-sync the 'maildirsize' file with the value of the pw_shell variable, then I think this needs to be implemented. I know I'm not alone. There have been several other posts by others using the database that manipulate the db directly. Doing this would require *another* file to be opened and maintained by the admin tools and again puts a limit into the control of the end user. I use the limits from the db, and enforce them with system quotas. I'm not trying to make things harder for admins, I'm just trying to make the maildir quotas readily enforcable by third party apps, like maildrop and courier-IMAP. (And others if they support Maildir++ AND our domainquotas) Firstly, I'd like to note that your quota patch doesn't yet appear to be included in the main vpopmail development branch. This makes your argument about putting a 'limit' into the control of the end user not applicable. If it ain't included in the distribution yet then it's still up for change. And frankly, if it isn't in a production release yet, it's up for change as well. Now, as I said before, I'm ALL FOR letting the end user modify these limit values easily. However, I'm still a little unclear about exactly what happens if the user specifies --enable-mysql-limits at configure time. The README.quotas file states that everything in the .qmailadmin-limits file would now be stored in a limits table in the database. I have NO PROBLEM with that. However, lets create another file called 'domainquota' for each domain quota that gets synchronized with the database whenever changes are made. This wouldn't require any changes to the vpopmail API, but rather changes to the internals that the API calls. And if the user doesn't specify --enable-mysql-limits, then the file will STILL exist, but it can either be read directly, or syncronized with an identical value in the .qmailadmin-limits file (quota 50, etc...). Does this sound reasonable? I'm not trying to kill functionality here! I'm trying to save it by allowing third party apps to easily enforce domain quotas! This is for both user quotas and domain quotas. Brian -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net We are actively looking for companies that do a lot of long distance faxing and want to cut their long distance bill by up to 50%. Contact [EMAIL PROTECTED] for more info.
[vchkpw] Setting unlimited quota with vsetuserquota? How?
Hello, this might seem stupid, but how am I supposed to set unlimited quota for single users with vsetuserquota? Intuitively, I'd have expect 0 or -1 but both seem to yield in a 0 quota, i.e. account has 100% used space even with only one mail in there. I'd appreciate any clarification on this issue. Regards and TIA, Gabriel
[vchkpw] 5.3.18 vpopbull -V
A bit of a scare/nuisance, if you use -V , the username gets printed twice. eg: vpopbull -V -f filename domain.com [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] It looks like it's been sent twice. -n -V only prints the domain once. This patch adds some extra text just to show what's happening. --- vpopmail-5.3.18/vpopbull.c Thu Feb 20 13:48:32 2003 +++ vpopmail-5.3.18-vfe/vpopbull.c Fri Mar 7 09:05:51 2003 @@ -175,17 +175,20 @@ if ( !in_exclude_list( fsx, domain, pwent-pw_name) ) { if ( Verbose == 1 ) { -printf([EMAIL PROTECTED], pwent-pw_name, domain); +printf(Working on: [EMAIL PROTECTED], pwent-pw_name, domain); } if ( DoNothing == 0 ) { if(copy_email( fsi, filename, domain, pwent) == 0) { if ( Verbose == 1 ) { -printf([EMAIL PROTECTED], pwent-pw_name, domain); +printf(Success: [EMAIL PROTECTED], pwent-pw_name, domain); } } else { printf([EMAIL PROTECTED]: ERROR COPYING TO %s\n, pwent-pw_name, domain, pwent-pw_dir); } + } + else { +printf(Skipped (-n): [EMAIL PROTECTED], pwent-pw_name, domain); } } }
Re: [vchkpw] new quota support question
On Friday 07 March 2003 09:47, Jesse Guardiani wrote: On Friday 07 March 2003 08:01, Brian Kolaci wrote: Hang on. I think I just realized what I've been missing the entire time: The USER QUOTAS still work! That means that maildrop and courier still enforce them. But when you create a domain, you can specify a domain quota and vpopmail internally limits the size of each user quota based on the domain quota. Maildrop STILL WORKS with domain quotas. Everything is compatible as long as your domain admins use qmailadmin to set up domain quotas. I'm truely sorry about all of that. I get it now. I feel really really silly. Thanks for your patience! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net We are actively looking for companies that do a lot of long distance faxing and want to cut their long distance bill by up to 50%. Contact [EMAIL PROTECTED] for more info.
Re: [vchkpw] new quota support question
On Friday 07 March 2003 10:13, Jesse Guardiani wrote: On Friday 07 March 2003 09:47, Jesse Guardiani wrote: On Friday 07 March 2003 08:01, Brian Kolaci wrote: Hang on. I think I just realized what I've been missing the entire time: The USER QUOTAS still work! That means that maildrop and courier still enforce them. So, Bill, why don't you think Ken might not sign off on this? But when you create a domain, you can specify a domain quota and vpopmail internally limits the size of each user quota based on the domain quota. Maildrop STILL WORKS with domain quotas. Everything is compatible as long as your domain admins use qmailadmin to set up domain quotas. I'm truely sorry about all of that. I get it now. I feel really really silly. Thanks for your patience! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net We are actively looking for companies that do a lot of long distance faxing and want to cut their long distance bill by up to 50%. Contact [EMAIL PROTECTED] for more info.
Re: [vchkpw] 5.3.18 vpopbull -V
Hi Rick, sorry for that silly question. What does vpopbull do? Oliver Etzel A bit of a scare/nuisance, if you use -V , the username gets printed twice. eg: vpopbull -V -f filename domain.com [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] It looks like it's been sent twice. -n -V only prints the domain once. This patch adds some extra text just to show what's happening.
Re: [vchkpw] 5.3.18 vpopbull -V
It basically sends an email to everyone in a domain. Kind of like Vpop Bulletin. It's great for sending notifications to all users. Rick On Fri, 2003-03-07 at 09:20, Oliver Etzel - GoodnGo.COM (R) wrote: Hi Rick, sorry for that silly question. What does vpopbull do? Oliver Etzel A bit of a scare/nuisance, if you use -V , the username gets printed twice. eg: vpopbull -V -f filename domain.com [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] It looks like it's been sent twice. -n -V only prints the domain once. This patch adds some extra text just to show what's happening.
RE: [vchkpw] Setting unlimited quota with vsetuserquota? How?
Set the quota to NOQUOTA -Original Message- From: Gabriel Ambuehl [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 6:59 AM To: [EMAIL PROTECTED] Subject: [vchkpw] Setting unlimited quota with vsetuserquota? How? Hello, this might seem stupid, but how am I supposed to set unlimited quota for single users with vsetuserquota? Intuitively, I'd have expect 0 or -1 but both seem to yield in a 0 quota, i.e. account has 100% used space even with only one mail in there. I'd appreciate any clarification on this issue. Regards and TIA, Gabriel
Re[2]: [vchkpw] Setting unlimited quota with vsetuserquota? How?
-BEGIN PGP SIGNED MESSAGE- Hello Clayton, Friday, March 7, 2003, 4:44:07 PM, you wrote: Set the quota to NOQUOTA Thanks. That should probably get into usage of vsetuserquota, I guess... Best regards, Gabriel -BEGIN PGP SIGNATURE- Version: PGP 6.0.2i iQEVAwUBPmiySsZa2WpymlDxAQFKiQgAywk6liU/qUM1w2USTWYnAo7bDGdH2xTg 1Fpw8I/7E2X3X6vUdA+U1SrxXLovLkNPCpAgoUqm5S/5RIECpAkysTZEcBqjFbkw riNc3UKLBX+waT2xyFFvXXWAFmwxOnR8FcCoadVvrlx4/aXvodofywelGY1ZP8k+ ORZRiyCkW1oHQNlZkRE14F6gpecv3RUKLtQ92JWJlB+Q6BBijELMstbgIOvn4b3r nWvNEEs3QjGqoaHWR0LeR+Vz1zvrA7NJip/OR1JCTiURUPnQTMdZut9irOQO9MCE AmFYjF9sDOLkXXI2Gf0cbK4q+O4Jo0l+605GQyemlLSgcr+JkSNGvQ== =T30t -END PGP SIGNATURE-
Re[6]: [vchkpw] Setting unlimited quota with vsetuserquota? How?
-BEGIN PGP SIGNED MESSAGE- Hello Clayton, Friday, March 7, 2003, 5:01:31 PM, you wrote: Yeah.. I agree that it should be in the usage for it, it would make sense since it's not a numerical value so nobody would logically guess it. I'll patch that the next time I fiddle with the SpamAssassin stuff (most likely later today) Best regards, Gabriel -BEGIN PGP SIGNATURE- Version: PGP 6.0.2i iQEVAwUBPmi1Y8Za2WpymlDxAQFL2gf/WoNXQVaSZyktahDMuiHhN5scp+0Gy5hS dZDpnkexF4msJ3ct/ZjvBI79IhNOXxT6CjV1nWx89S22FCFre4VTtBWJmZV8xXnT zzgieViFhMwmSia0pgXGAuCWL2px2Em7bD6na4yc191bWAcGlhnJSurpxyfnfqPG 6rb1QtQmre94EVwRPIX+YLm5pyzvFjW4XSqAJHNeX8wXeNwC+oY53p3JAvQQx/Ol 7SFykvOrYALhdhgnnjXkuxdO+1pxDTxIUviw/EJ81GVBfNmRVphW0tM7vR/0W9j9 pMh8WwHGmVt1nfWG6zbOY72v0Y6JgKAf93X3a1Q/4GjMw9QNqfZaxg== =Y5L6 -END PGP SIGNATURE-
[vchkpw] Re: domain problem
Thanks for the great help. I am now able to receive mail and check it with sqwebmail. I do still notice one thing. When I first installed on the new box, vpopmail user and group was #97. It was #89 on the first box so I changed it to #89 on the new box after noticing problems. Now I have reconfigured and reinstalled vpopmail, sqwebmail, vqadmin, and qmailadmin so they will all 'see' the new user number. When I look at /var/qmail/usera/assign I see than when I create new domains the user/group is #97. Also, if I ls -all /home/vpopmail/domains I see the user and group is 97 and not 'vopmail' or something. I can't login with qmailadmin either, any domain or account. Please help, I'm loosing it, : ). Clayton Weise writes: In /var/qmail/users/assign. You'll notice that the uid/gid of vpopmail is in that file, change it to the new uid/gid of the vpopmail user then run /var/qmail/bin/qmail-newu -Clayton -Original Message- From: jake [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 1:30 PM To: [EMAIL PROTECTED] Subject: [vchkpw] domain problem I installed vpopmail on a server, then moved to a new box and moved data over. 1 thing i missed was the user account, the vpopmail user was 97 on one box and is 89 on the other. I have a domain that I cannot add or delete. I changed the file permissions on the domain's folder but that didn't help. When I do a vdominfo it shows that domain as owned by the old user acount, #97. Even if I mv the folder for that domain out of the domains directory, it still shows up in vdominfo. If I use vdomdel it says that domain doesn't exist, if I try to create is, it says it's already there. Where else is virtual domain info kept? -- jake
RE: [vchkpw] Re: domain problem
Typically when people recompile vpopmail they do it by running a make clean or make distclean in the source directory and reconfiguring it. I've found this to be just a tad unreliable and I usually erase the source dir, and untar a fresh batch of source to make my new build. This usually resolves oddities like you described below. Also, after a make install-strip vpopmail will attempt to chown everything with the vpopmail:vchkpw user and group. Sometimes to verify (usually for my own sanity more than anything else) before I run the make install-strip I'll move the ~vpopmail/bin to ~vpopmail/bin.old that way I know that when it installs it won't fail at attempting to overwrite a file that's currently in use. I also, before the make install-strip, stop any pop3 or smtp services that might be using vpopmail for the same reason. Give that a shot. -Clayton -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 8:01 AM To: Clayton Weise Cc: [EMAIL PROTECTED] Subject: [vchkpw] Re: domain problem Thanks for the great help. I am now able to receive mail and check it with sqwebmail. I do still notice one thing. When I first installed on the new box, vpopmail user and group was #97. It was #89 on the first box so I changed it to #89 on the new box after noticing problems. Now I have reconfigured and reinstalled vpopmail, sqwebmail, vqadmin, and qmailadmin so they will all 'see' the new user number. When I look at /var/qmail/usera/assign I see than when I create new domains the user/group is #97. Also, if I ls -all /home/vpopmail/domains I see the user and group is 97 and not 'vopmail' or something. I can't login with qmailadmin either, any domain or account. Please help, I'm loosing it, : ). Clayton Weise writes: In /var/qmail/users/assign. You'll notice that the uid/gid of vpopmail is in that file, change it to the new uid/gid of the vpopmail user then run /var/qmail/bin/qmail-newu -Clayton -Original Message- From: jake [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 1:30 PM To: [EMAIL PROTECTED] Subject: [vchkpw] domain problem I installed vpopmail on a server, then moved to a new box and moved data over. 1 thing i missed was the user account, the vpopmail user was 97 on one box and is 89 on the other. I have a domain that I cannot add or delete. I changed the file permissions on the domain's folder but that didn't help. When I do a vdominfo it shows that domain as owned by the old user acount, #97. Even if I mv the folder for that domain out of the domains directory, it still shows up in vdominfo. If I use vdomdel it says that domain doesn't exist, if I try to create is, it says it's already there. Where else is virtual domain info kept? -- jake
[vchkpw] vpopmail 5.3.19
Thursday March 06 2003 21:23, Andrew Kohlsmith wrote to All: Complaining? Just asking a question. Not an unreasonable wish, either! AK You come across as if you're entitled to the feature in this AK release. Everyone's entitled to their opinion - as long they keep it to themselves. I posted the same question a long time ago. Can't recall the answer, but somehow understood that it might be implemented in a subsequent version. I still think user expiry is one of the 'must-have' features. KS KARICO Business Services Toronto, ON Canada http://www.karico.ca
Re: [vchkpw] SpamAssassin/vmodinfo changes
On Friday, March 7, 2003, at 06:33 AM, Gabriel Ambuehl wrote: Hello, I've added support for SpamAssassin into vdelivermail (basically, it will just add the SpamAssassin score of the mail if activated and NEVER delete mail on the server). Further, I added the -w switch to vmodinfo which has it display all users in a domain, handy if you want to just know about them or feed them to some scripts to do something with them (in my case, I wanted the feature so I can set quotas for them all with xargs ;-). Anyway, find the tarball at http://buz.ch/software. I'd very like to hear comments and bug reports about SpamAssassin integration (-w switch was simple enough ;-). From all I can tell, there shouldn't be any licensing issues as the spamassassin client stuff seems to be under the BSDL or alike license and thus can be incorporated into GPL projects just fine. Gabriel, Thanks for sharing your changes. However, did you address the problems I pointed out with the last version of these changes? Your email does dot indicate either way. (http://www.mail-archive.com/[EMAIL PROTECTED]/msg11282.html). Also, can you provide a patch to the current development release, 5.3.19? Regards, Bill Shupp
Re: [vchkpw] 5.3.18 vpopbull -V
On Friday, March 7, 2003, at 07:10 AM, Rick Romero wrote: A bit of a scare/nuisance, if you use -V , the username gets printed twice. eg: vpopbull -V -f filename domain.com [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] It looks like it's been sent twice. -n -V only prints the domain once. This patch adds some extra text just to show what's happening. vpopbull-5-3-18.diff Thanks, I'll look into it. Regards, Bill
Re: [vchkpw] new quota support question
On Friday, March 7, 2003, at 07:15 AM, Jesse Guardiani wrote: So, Bill, why don't you think Ken might not sign off on this? Because I can't read his mind. I put together what I think is appropriate. That doesn't mean he will agree. Since he was the one to implement vadddomain -u to support system quotas, I don't know he needs non-system quotas. Bill
Re: [vchkpw] new quota support question
On Friday 07 March 2003 12:29, Bill Shupp wrote: On Friday, March 7, 2003, at 07:15 AM, Jesse Guardiani wrote: So, Bill, why don't you think Ken might not sign off on this? Because I can't read his mind. I put together what I think is appropriate. That doesn't mean he will agree. Since he was the one to implement vadddomain -u to support system quotas, I don't know he needs non-system quotas. Gotcha. I need them, for what it's worth. :) Thanks for the info. Bill -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net We are actively looking for companies that do a lot of long distance faxing and want to cut their long distance bill by up to 50%. Contact [EMAIL PROTECTED] for more info.
Re: [vchkpw] vpopmail 5.3.19
On Friday, March 7, 2003, at 08:44 AM, Kari Suomela wrote: Everyone's entitled to their opinion - as long they keep it to themselves. I posted the same question a long time ago. Can't recall the answer, but somehow understood that it might be implemented in a subsequent version. I still think user expiry is one of the 'must-have' features. Then by all means, submit a patch and I'll be happy to test it. Regards, Bill Shupp
Re: [vchkpw] vpopmail 5.3.19
On Friday 07 March 2003 11:44, Kari Suomela wrote: Thursday March 06 2003 21:23, Andrew Kohlsmith wrote to All: Complaining? Just asking a question. Not an unreasonable wish, either! AK You come across as if you're entitled to the feature in this AK release. Everyone's entitled to their opinion - as long they keep it to themselves. I posted the same question a long time ago. Can't recall the answer, but somehow understood that it might be implemented in a subsequent version. I still think user expiry is one of the 'must-have' features. I think it's a pretty good idea myself, especially with MySQL support. We use expiry all the time with radius, and it'd only be natural for email accounts too. I think the list might want to add this to their collective list of things to do in the future. I might be interested in working on it once I get out from under this mound of other things to do. It wouldn't hurt to discuss implementation in the meantime. That way whoever decides to code it wouldn't have to actually think, just code. KS KARICO Business Services Toronto, ON Canada http://www.karico.ca -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net We are actively looking for companies that do a lot of long distance faxing and want to cut their long distance bill by up to 50%. Contact [EMAIL PROTECTED] for more info.
[vchkpw] Re: domain problem
That did it! Thanks again for the assistance. Sqwebmail was broken after that so I did the same thing to it and now it works great. I still see one problem, when I do 'qmailctl stat' it show pop3d up for 0 or 1 second. I can't see any log entries that would point to why. The qmail handbook suggests there could be problems with a run script, but I haven't touched any and it was working. I checked to make sure nothing else is running on port 110. Could something I did with all this vpopmail stuff have done something? My /var/qmail/supervise/qmail-pop3d/run file: #!/bin/sh # Dave Sill, 2001-11-06 # For use with The qmail Handbook, ISBN 1893115402 MAXPOP3D=`head -1 /var/qmail/control/concurrencypop3` if [ -z $MAXPOP3D ]; then echo MAXPOP3D is unset in echo $0 exit 1 fi exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.pop3.cdb -c $MAXPOP3D \ 0 110 /var/qmail/bin/qmail-popup uptimecomputing.com /home/vpopmail/bin/vchkpw \ /var/qmail/bin/qmail-pop3d Maildir 21 Clayton Weise writes: Typically when people recompile vpopmail they do it by running a make clean or make distclean in the source directory and reconfiguring it. I've found this to be just a tad unreliable and I usually erase the source dir, and untar a fresh batch of source to make my new build. This usually resolves oddities like you described below. Also, after a make install-strip vpopmail will attempt to chown everything with the vpopmail:vchkpw user and group. Sometimes to verify (usually for my own sanity more than anything else) before I run the make install-strip I'll move the ~vpopmail/bin to ~vpopmail/bin.old that way I know that when it installs it won't fail at attempting to overwrite a file that's currently in use. I also, before the make install-strip, stop any pop3 or smtp services that might be using vpopmail for the same reason. Give that a shot. -Clayton
Re: [vchkpw] vpopmail 5.3.19
At 13:03 07/03/2003 -0500, you wrote: SF Define user expiry for me, I'm curious as to what you mean. I will, if you post to the list. I had assumed you had, but I had missed it. I'm not be confrontational, I'm simply curious if you're referring to a system where I clients e-mail account or domains expire at a certain date, or something else. -- Steve.
RE: [vchkpw] change the default-domain
As noted just a few minutes ago in a previous email on a different topic. Erase your source and start with a fresh batch, that should alleviate the problem. -Original Message- From: tech [mailto:[EMAIL PROTECTED] Sent: Friday, February 07, 2003 10:46 AM To: [EMAIL PROTECTED] Subject: [vchkpw] change the default-domain Hi i've installed Qmail with LWQ and the rest with http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm It works. But now i wont to change the default-domain. Of cours i've read the FAQ and find that i just have to make distclean ; ./configure with your options ; make ;make install-strip I did it but my default-domain steel the old one. Any suggestion Boris
RE: [vchkpw] Re: domain problem
Well.. for one thing, I've never seen qmail-pop3d used with the -x option, so I'm not sure how tcpserver handles that. I can't say for sure whether it would work or not. One thing is simply to try and run that script as-is and see what errors you get (if any). Also, check your pop3d log files and see if they report any errors. And last, but not least, make sure that no other applications are listening on port 110. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 9:46 AM To: Clayton Weise Cc: [EMAIL PROTECTED] Subject: [vchkpw] Re: domain problem That did it! Thanks again for the assistance. Sqwebmail was broken after that so I did the same thing to it and now it works great. I still see one problem, when I do 'qmailctl stat' it show pop3d up for 0 or 1 second. I can't see any log entries that would point to why. The qmail handbook suggests there could be problems with a run script, but I haven't touched any and it was working. I checked to make sure nothing else is running on port 110. Could something I did with all this vpopmail stuff have done something? My /var/qmail/supervise/qmail-pop3d/run file: #!/bin/sh # Dave Sill, 2001-11-06 # For use with The qmail Handbook, ISBN 1893115402 MAXPOP3D=`head -1 /var/qmail/control/concurrencypop3` if [ -z $MAXPOP3D ]; then echo MAXPOP3D is unset in echo $0 exit 1 fi exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.pop3.cdb -c $MAXPOP3D \ 0 110 /var/qmail/bin/qmail-popup uptimecomputing.com /home/vpopmail/bin/vchkpw \ /var/qmail/bin/qmail-pop3d Maildir 21 Clayton Weise writes: Typically when people recompile vpopmail they do it by running a make clean or make distclean in the source directory and reconfiguring it. I've found this to be just a tad unreliable and I usually erase the source dir, and untar a fresh batch of source to make my new build. This usually resolves oddities like you described below. Also, after a make install-strip vpopmail will attempt to chown everything with the vpopmail:vchkpw user and group. Sometimes to verify (usually for my own sanity more than anything else) before I run the make install-strip I'll move the ~vpopmail/bin to ~vpopmail/bin.old that way I know that when it installs it won't fail at attempting to overwrite a file that's currently in use. I also, before the make install-strip, stop any pop3 or smtp services that might be using vpopmail for the same reason. Give that a shot. -Clayton
[vchkpw] Re: domain problem
Nothing in the pop3d log since 3/4, when this all started. If I just run the 'run' script it starts supervising pop3d, but it still only runs 1 sec at max. netstat -p -l shows nothing on port 110. The -x option to tcpserver is straight from Dave Sill's script that he sends with The Qmail Handbook, and it was working before so I think it is safe. When I just do this part of the run file: ~# /var/qmail/bin/qmail-popup uptimecomputing.com \ /home/vpopmail/bin/vchkpw \ /var/qmail/bin/qmail-pop3d Maildir 21 I get to a login, I give it a good USER/PASS and then it says: -ERR this user has no $HOME/Maildir Looks like it doesn't know where to look for Maildirs anymore. I can't figure out why yet. Clayton Weise writes: Well.. for one thing, I've never seen qmail-pop3d used with the -x option, so I'm not sure how tcpserver handles that. I can't say for sure whether it would work or not. One thing is simply to try and run that script as-is and see what errors you get (if any). Also, check your pop3d log files and see if they report any errors. And last, but not least, make sure that no other applications are listening on port 110. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 9:46 AM To: Clayton Weise Cc: [EMAIL PROTECTED] Subject: [vchkpw] Re: domain problem That did it! Thanks again for the assistance. Sqwebmail was broken after that so I did the same thing to it and now it works great. I still see one problem, when I do 'qmailctl stat' it show pop3d up for 0 or 1 second. I can't see any log entries that would point to why. The qmail handbook suggests there could be problems with a run script, but I haven't touched any and it was working. I checked to make sure nothing else is running on port 110. Could something I did with all this vpopmail stuff have done something? My /var/qmail/supervise/qmail-pop3d/run file: #!/bin/sh # Dave Sill, 2001-11-06 # For use with The qmail Handbook, ISBN 1893115402 MAXPOP3D=`head -1 /var/qmail/control/concurrencypop3` if [ -z $MAXPOP3D ]; then echo MAXPOP3D is unset in echo $0 exit 1 fi exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.pop3.cdb -c $MAXPOP3D \ 0 110 /var/qmail/bin/qmail-popup uptimecomputing.com /home/vpopmail/bin/vchkpw \ /var/qmail/bin/qmail-pop3d Maildir 21 Clayton Weise writes: Typically when people recompile vpopmail they do it by running a make clean or make distclean in the source directory and reconfiguring it. I've found this to be just a tad unreliable and I usually erase the source dir, and untar a fresh batch of source to make my new build. This usually resolves oddities like you described below. Also, after a make install-strip vpopmail will attempt to chown everything with the vpopmail:vchkpw user and group. Sometimes to verify (usually for my own sanity more than anything else) before I run the make install-strip I'll move the ~vpopmail/bin to ~vpopmail/bin.old that way I know that when it installs it won't fail at attempting to overwrite a file that's currently in use. I also, before the make install-strip, stop any pop3 or smtp services that might be using vpopmail for the same reason. Give that a shot. -Clayton
Re: [vchkpw] Re: domain problem
Hi [EMAIL PROTECTED], On Fri, 07 Mar 2003 12:36:27 -0600 [EMAIL PROTECTED] wrote: Nothing in the pop3d log since 3/4, when this all started. If I just run the 'run' script it starts supervising pop3d, but it still only runs 1 sec Do a 'svc -d /path/to/pop3d_startup' and execute the run-script _manually_ on a shell. You should see why it is exiting immediately and therefore be able to solve the problem before continuing and giving the supervise-script a 'svc -u ...' again. -- Peter
Re: [vchkpw] vpopmail 5.3.19
I still think user expiry is one of the 'must-have' features. Personally I don't think it belongs in vpopmail. A shell script that runs once a week/month that queries the database for users older than x and runs vdeluser $user would be stupid-simple to implement. Unless you are asking for something else, I don't see how this belongs in vpopmail at all... Regards, Andrew
[vchkpw] Re: domain problem
If I do svc -d /var/qmail/supervise/qmail-pop3d then run the run script from a shell, the thing works. I can hit the pop server no problem. If I stop that shell and do svc -u /service/qmail-pop3d, qmailctl stat still shows it up for 0 or 1 second. If I do ps -ef | grep pop I see the errors below. I can't see why I can run the script from the shell no problem but supervise has problems with it. root 309 301 0 09:47 ?00:00:00 readproctitle service errors: ... unable to start qm ail-pop3d/run: exec format error?supervise: fatal: unable to start qmail-pop3d/run: exec format erro r?supervise: fatal: unable to start qmail-pop3d/run: exec format error?supervise: fatal: unable to s tart qmail-pop3d/run: exec format error?supervise: fatal: unable to start qmail-pop3d/run: exec form at error?supervise: fatal: unable to start qmail-pop3d/run: exec format error? root 314 308 0 09:47 ?00:00:00 supervise qmail-pop3d qmaill 322 315 0 09:47 ?00:00:00 /usr/local/bin/multilog t /var/log/qmail/pop3d Peter Palmreuther writes: Hi [EMAIL PROTECTED], On Fri, 07 Mar 2003 12:36:27 -0600 [EMAIL PROTECTED] wrote: Nothing in the pop3d log since 3/4, when this all started. If I just run the 'run' script it starts supervising pop3d, but it still only runs 1 sec Do a 'svc -d /path/to/pop3d_startup' and execute the run-script _manually_ on a shell. You should see why it is exiting immediately and therefore be able to solve the problem before continuing and giving the supervise-script a 'svc -u ...' again. -- Peter
Re[2]: [vchkpw] SpamAssassin/vmodinfo changes
Hi Bill Shupp, you wrote. BS On Friday, March 7, 2003, at 06:33 AM, Gabriel Ambuehl wrote: Hello, I've added support for SpamAssassin into vdelivermail (basically, it will just add the SpamAssassin score of the mail if activated and NEVER delete mail on the server). Further, I added the -w switch to vmodinfo which has it display all users in a domain, handy if you want to just know about them or feed them to some scripts to do something with them (in my case, I wanted the feature so I can set quotas for them all with xargs ;-). Anyway, find the tarball at http://buz.ch/software. I'd very like to hear comments and bug reports about SpamAssassin integration (-w switch was simple enough ;-). From all I can tell, there shouldn't be any licensing issues as the spamassassin client stuff seems to be under the BSDL or alike license and thus can be incorporated into GPL projects just fine. BS Gabriel, BS Thanks for sharing your changes. However, did you address the problems BS I pointed out with the last version of these changes? Your email does BS dot indicate either way. BS (http://www.mail-archive.com/[EMAIL PROTECTED]/msg11282.html). Also, Mh that one didn't made it to me. Will look into it. In my cases, the fallback worked, tho. Mail just did get delivered without any trouble. I'll test this some more. BS can you provide a patch to the current development release, 5.3.19? Uhm there's a new devel release? Couldn't find it some days ago? I'll have a go, sure. Furthermore, what do you guys think about having it per user configureable (with like a .usespamassassin file in Maildir)? Any chance to see such a setting incorporated into qmailadmin (not very useful if qmailadmin doesn't support it itself)? Maybe I should provide lib functions to read and set it? Regards, Gabriel
Re: Re[4]: [vchkpw] SpamAssassin/vmodinfo changes
Gabriel Ambuehl wrote: -BEGIN PGP SIGNED MESSAGE- Hello Dave, Hi Gabriel. No need to CC me, I get the list email just as fast :) Friday, March 7, 2003, 9:09:17 PM, you wrote: The lack of being able to turn it off per user is probably the only thing that holds me back from using it :) I suppose adding a new field into vpasswd is a nono as it would break a lot of existing code, right? So the flagfile is probably the best idea (easy to implement, too). Thoughts? Yes, I think some sort of dotfile would be the best. Then any number of tools could use it. Suggestion, for those of us that use sql user prefs. If the dotfile is present but empty, just make the connection to spamc/spamd, assuming that vpopmail support in spamassassin is being used. If there's text in the dotfile, use that for the -u option Best regards, Gabriel Dave
Re: [vchkpw] tcp.smtp file perms/owns for -enable-roaming-users?
Hi Ben, Apologies if this is already answered elsewhere -- I didn't see it. What should the file permissions and ownership be for the tcprules tcp.smtp file in order to enable vpopmail pop-before-smtp roaming user support? In other words, for qmail/vpopmail to temporarily add an IP address for pop-before-stmp temp-relay support, what setup do I need? vpopmail doesn't need to write to tcp.smtp (as you can see, the file never changes, even not without roaming users). tcp.smtp only contains _static_ rules for allowing/disallowing connections and relaying. vpopmail saves relaying information in ~vpopmail/etc/open-smtp, and it creates tcp.smtp.cdb (which is used by tcpserver) from both tcp.smtp and open-smtp. In short, you need: - read permissions on tcp.smtp - write permissions on tcp.smtp.cdb Judge for yourself if relaying data is sensible or not, to decide if you want these files to be group- or world-readable, or not. Jonas
Re: [vchkpw] Problem....
Hi Bill, Unfortunately it is in the file rcpthosts. Any other ideas ?? Yes - please provide proper error reports. In your case, at least the full target address, the output of qmail-showctl, and the full error message. No part of qmail says exactly relay denied, so please be specific, or we don't understand exactly what your problem is about. Thanks, Jonas
[vchkpw] vchkpw core dumps
Hi all, I have set up vpopmail 5.3.16 over qmail 1.03 on solaris 2.7 sparc. I'm running qmail + pop + smtp out of daemontools with tcpserver, similar to LWQ. I have patched tcpserver with André Oppermann's SSL/TLS patch. qmail has been patched with: ext_todo-20030105 smtpd-auth-0.31 tarpit (Chris Johnson's) maildir++ (vpopmail 5.3.16) I am trying to get Secure POP3 going. My regular pop3 is working fine; here is my /service/qmail-pop3d/run script: #!/bin/sh LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH exec /usr/local/bin/softlimit -m 300 \ /usr/local/bin/tcpserver -H -R \ -c `cat /var/qmail/control/concurrencypop` \ 0 pop3 \ /var/qmail/bin/qmail-popup unix11.broadviewnet.net \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21 my spop3 is not working fine. Here is my /service/qmail-pop3d-ssl/run script: #!/bin/sh LD_LIBRARY_PATH=/usr/local/ssl/lib:$LD_LIBRARY_PATH PATH=/var/qmail/bin:/usr/local/bin:/usr/local/ssl/bin:/usr/bin export PATH LD_LIBRARY_PATH #exec /usr/local/bin/softlimit -m 300 \ exec /usr/local/bin/tcpserver -H -R \ -c `cat /var/qmail/control/concurrencyspop` \ -s -n /service/qmail-pop3d-ssl/cert.pem \ 0 spop3 \ /var/qmail/bin/qmail-popup unix11.broadviewnet.net \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21 When I use Outlook Express to connect, the secure tunnel establishes fine, but authentication doesnt work. Outlook express returns -ERR aack, child crashed (likely from qmail-popup, and proving the tunnel itslef is working fine). Afterwards, inside my /service/qmail-pop3d-ssl/ directory, there is a core file from vchkpw. I have also noticed that if I remove /usr/bin from the path, then Outlook Express times out Your POP3 server has not respodned in 60 seconds... and there is no core file. Another thing I have tried (although I was [pretty] sure it wasnt the problem), is I re-installed the plain-vanilla tcpserver and used stunnel from openssl to create the tunnel. Symptoms are identical. One of the core files is at http://www.broadviewnet.net/jimj/vchkpw.core (i dont really know what i should do with it besides delete ;) ) None of my logs seem to have any relevent info (no new info in the pop3d-ssl log at all).. Since there were no intersting logs, I ran svc -dk /service/qmail-pop3d-ssl and ensured nothing was listening on port 995/tcp. I then executed /service/qmail-pop3d/run and watched for output while I did a secure pop from outlook, but there were no messages printed to me. Any hints / advice ? -jim
[vchkpw] vpopmail 5.3.19
Friday March 07 2003 09:33, Bill Shupp wrote to All: I still think user expiry is one of the 'must-have' features. BS Then by all means, submit a patch and I'll be happy to test it. If I knew how, I would have done it ages ago. KS KARICO Business Services Toronto, ON Canada http://www.karico.ca
[vchkpw] vpopmail 5.3.19
Friday March 07 2003 13:39, Steve Fulton wrote to Kari Suomela: SF Define user expiry for me, I'm curious as to what you mean. SF confrontational, I'm simply curious if you're referring to a SF system SF where I clients e-mail account or domains expire at a certain SF date, or SF something else. We don't offer lifetime email accounts, so setting the accounts to expire automatically at the end of their term, is what we'd like to do. KS KARICO Business Services Toronto, ON Canada http://www.karico.ca
Re: [vchkpw] tcp.smtp file perms/owns for -enable-roaming-users?
On Friday 07 March 2003 19:55, Benjamin Tomhave wrote: His ~vpopmail/etc/open-smtp a file I should have manually created at some point in time (touch open-smtp)? It does not currently exist, and probably explains why the pop-before-smtp has never functioned. I'm going to assume this file should be owned by vpopmail:vchkpw. Where I'm also lost, then, is that my /etc/tcp.smtp and /etc/tcp.smtp.cdb files are both owned by root:root at present (this seems incorrect to me) and are both chmod 644. I am, btw, using a mysql backend, too...I second Jesse's comments... I may just be mouthing off again, but I gather from the last paragraph in INSTALL that vpopmail may not even bother with vpopmail/etc/tc.smtp and open-smtp anymore. I think the default may be to assume that since you're using MySQL, you should use Matt Simerson's tcpserver-mysql patch. The relay table is certainly populated in my database, but the vpopmail/etc/tcp.smtp.cdb is NOT generated. Personally, I don't have any qualms about vpopmail defaulting to MySQL based tcpserver relay control when I'm using MySQL. However, I strongly disagree with the INSTALL wording if that's the case! It makes it sound like Matt's patch is only suggested, but it honestly seems to be REQUIRED when mysql support is enabled in vpopmail. I have now installed Matt's patch in my tcpserver. -Original Message- From: Jonas Pasche [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 3:36 PM To: [EMAIL PROTECTED] Subject: Re: [vchkpw] tcp.smtp file perms/owns for -enable-roaming-users? Hi Ben, Apologies if this is already answered elsewhere -- I didn't see it. What should the file permissions and ownership be for the tcprules tcp.smtp file in order to enable vpopmail pop-before-smtp roaming user support? In other words, for qmail/vpopmail to temporarily add an IP address for pop-before-stmp temp-relay support, what setup do I need? vpopmail doesn't need to write to tcp.smtp (as you can see, the file never changes, even not without roaming users). tcp.smtp only contains _static_ rules for allowing/disallowing connections and relaying. vpopmail saves relaying information in ~vpopmail/etc/open-smtp, and it creates tcp.smtp.cdb (which is used by tcpserver) from both tcp.smtp and open-smtp. In short, you need: - read permissions on tcp.smtp - write permissions on tcp.smtp.cdb Judge for yourself if relaying data is sensible or not, to decide if you want these files to be group- or world-readable, or not. Jonas -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net We are actively looking for companies that do a lot of long distance faxing and want to cut their long distance bill by up to 50%. Contact [EMAIL PROTECTED] for more info.
Re: [vchkpw] vpopmail 5.3.19
KS, Maybe you could hire someone to do it for you. Open Source needs any resource from anybody. It's not an endless fountain of resources for you to get money. Solidarity is key in the whole Open Source system. Jordi Roca - Original Message - From: Kari Suomela To: [EMAIL PROTECTED] Sent: Saturday, March 08, 2003 12:43 AM Subject: [vchkpw] vpopmail 5.3.19 Friday March 07 2003 09:33, Bill Shupp wrote to All: I still think user expiry is one of the 'must-have' features.BS Then by all means, submit a patch and I'll be happy to test it.If I knew how, I would have done it ages ago.KS KARICO Business Services Toronto, ON Canada http://www.karico.ca