[vchkpw] vqadmin problem
hello all i am install the vqadmin on redhat. i successfully install it but when i add any domain or view any domain it give me error of permission denied . i can't understand what kind of permission he required. i give full apache permission but it can't working fine. help required with regards.
Re: [vchkpw] Vpopmail Debian
Thanks David for the detailed description. At the moment I am just trying to compile from source after 'Lifewithqmail'. Then I will follow your instructions and ask if I get stuck somewhere. Zeno On 24.10.2002 2:06 Uhr, "David Phillips" <[EMAIL PROTECTED]> wrote: > Zeno Davatz writes: >> So you also suggest not using the binaries from the Debian packages >> for my Mail-setup? > > This is my recommendation for the easiest and best vpopmail setup on Debian. > This is from memory, so I might be missing something: > > * Add Gerrit Pape's repository to your apt sources list. Install the qmail > package. This will install qmail, including the necessary uids and gids: > > http://smarden.org/pape/Debian/qmail.html > > * Install the qmail-run package. This will setup qmail as the mail transfer > agent under daemontools. This will uninstall exim or whatever MTA you > already have installed. > > * Change the /var/qmail/rc file to deliver to Maildir. This will break mail > for local users and cause the mail system not to work as it would on a > standard Debian system. The "mail" program, for example, does not work with > Maildir. But for a POP toaster using vpopmail, this doesn't really matter. > The file should look like this: > > #!/bin/sh > exec env - PATH="/var/qmail/bin:$PATH" \ > qmail-start ./Maildir/ > > * By default, the qmail-run package sets up qmail to log to syslog, as is > standard for Debian. However, the daemontools method (as setup by > qmail-conf) is much better, in my opinion. Fix the qmail-send and > qmail-smtpd services to do this. qmail-smtpd may already be setup this way. > In the log directory of the service directory (say /service/qmail-send/log), > change main to be a symlink to the log directory, say /var/log/qmail-send. > Change the run script for the log service to be as follows: > > #!/bin/sh > exec setuidgid qmaill multilog t ./main > > * Install vpopmail from source. The Debian packages are pretty old and seem > to be buggy, at least the last time I tried. > > * Change the run script for qmail-smtpd (/service/qmail-smtpd/run) to use > vpopmail. The tcp.smtp.cdb file needs to point to the one in the vpopmail > home directory (ex. /home/vpopmail/etc/tcp.smtp.cdb). This step makes > POP-before-SMTP work. > > * Install a qmail-pop3d service. The easiest way to do this is qmail-conf. > You could use qmail-conf to redo all the qmail services, but it is easier to > stick with the ones that qmail-run sets up: > > http://www.din.or.jp/~ushijima/qmail-conf.html > > * Allow incoming connections to pop3d. By default, it does not allow any > connections. There is an add-client script in > /var/qmail/service/qmail-pop3d that can be used. To simply allow > connections from everywhere, create an empty tcp file and run the Makefile. > You will need to run the Makefile after using add-client. > > * Change the qmail-pop3d run script to use vpopmail. It needs to use vchkpw > as the checkpassword program. Change this to your vchkpw program (ex. > /home/vpopmail/bin/vchkpw). The parameter to be changed is the second > parameter to qmail-popup. > > * Restart all of the services: > > svc -t /service/qmail-* > > * You can make things easier if you add /var/qmail/bin and the vpopmail bin > directory to root's PATH. > > -- > David Phillips <[EMAIL PROTECTED]> > http://david.acz.org/ > > > -- Mit freundlichen Grüssen / best regards Zeno Davatz Strategie & Akquisition +41 1 350 85 86 www.ywesee.com > intellectual capital connected > www.generika.cc
Re: [vchkpw] Vpopmail Debian
On 24.10.2002 3:14 Uhr, "Iain" <[EMAIL PROTECTED]> wrote: > Try my up to date debian vpopmail packages here: > > http://linux.myspinach.org/debian Thanks I will give this one a shot an let you know. Anything special I need to know? Zeno > On Wed, 23 Oct 2002 02:10, Zeno Davatz wrote: >> Hi >> >> I'm a Debian user and installed Vpopmail >> vpopmail-bin 4.9.9-1 >> >> And all the other Debian packages that depend on this version. >> >> I done vadddomain and vadduser >> >> When I try to login with my UN and PW my syslog tells me: >> Oct 22 17:54:09 alphonse vpopmail[31832]: vchkpw: password fail >> [EMAIL PROTECTED]:192.168.0.71 >> >> >> Also my TOP tells me: >> 28280 root 20 0 792 792 488 R15.8 0.3 5:49 vchkpw >> 24769 root 20 0 564 564 432 R15.1 0.2 19:49 clearopensmtp >> 28390 root 20 0 576 576 444 R15.1 0.2 5:36 clearopensmtp >> 28556 root 20 0 804 804 492 R15.1 0.3 5:23 vchkpw >> 32047 root 20 0 576 576 444 R15.1 0.2 1:56 clearopensmtp >> 32107 root 20 0 804 804 492 R15.1 0.3 1:54 vchkpw >> >> There goes my CPU power - if I let the server run all night it will >> eventually crash as the processes start doubling themselves. >> >> 1. Why can't I log in >> 2. Why does clearopensmtp and vchkpw eat all my processing power. >> >> Thanks for any help and hints. >> >> Zeno > > -- Mit freundlichen Grüssen / best regards Zeno Davatz Strategie & Akquisition +41 1 350 85 86 www.ywesee.com > intellectual capital connected > www.generika.cc
Re: [vchkpw] Vpopmail Debian
Thanks Jason for the hint. I still got the follwoing questions: On 24.10.2002 6:57 Uhr, "Jason Lim" <[EMAIL PROTECTED]> wrote: > The alternative way, of course, is to use the slightly more out-of-date > packages that Debian provides. > > Download (or dselect) the qmail-src package in Debian, the run > "build-qmail" (during installation this will mention this, so don't > worry). Can you be a bit mor specific here please. > After that, grab the vpopmail packages in Debian as well, and install > those. Ok, I got the new link of Iain now, so will definitely try that. > Blam. Apart from some tweaking, you're done. Can you be more specific on the tweaking? What all did you have to tweak? > Of course, you don't get the new fancy features that are in the latest > versions, but it works, and so far for us it has been reliable. What features will I be missing? Thanks for your help. Zeno > - Original Message - > From: "David Phillips" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, October 24, 2002 10:06 AM > Subject: Re: [vchkpw] Vpopmail Debian > > >> Zeno Davatz writes: >>> So you also suggest not using the binaries from the Debian packages >>> for my Mail-setup? >> >> This is my recommendation for the easiest and best vpopmail setup on > Debian. >> This is from memory, so I might be missing something: >> >> * Add Gerrit Pape's repository to your apt sources list. Install the > qmail >> package. This will install qmail, including the necessary uids and > gids: >> >> http://smarden.org/pape/Debian/qmail.html >> >> * Install the qmail-run package. This will setup qmail as the mail > transfer >> agent under daemontools. This will uninstall exim or whatever MTA you >> already have installed. >> >> * Change the /var/qmail/rc file to deliver to Maildir. This will break > mail >> for local users and cause the mail system not to work as it would on a >> standard Debian system. The "mail" program, for example, does not work > with >> Maildir. But for a POP toaster using vpopmail, this doesn't really > matter. >> The file should look like this: >> >> #!/bin/sh >> exec env - PATH="/var/qmail/bin:$PATH" \ >> qmail-start ./Maildir/ >> >> * By default, the qmail-run package sets up qmail to log to syslog, as > is >> standard for Debian. However, the daemontools method (as setup by >> qmail-conf) is much better, in my opinion. Fix the qmail-send and >> qmail-smtpd services to do this. qmail-smtpd may already be setup this > way. >> In the log directory of the service directory (say > /service/qmail-send/log), >> change main to be a symlink to the log directory, say > /var/log/qmail-send. >> Change the run script for the log service to be as follows: >> >> #!/bin/sh >> exec setuidgid qmaill multilog t ./main >> >> * Install vpopmail from source. The Debian packages are pretty old and > seem >> to be buggy, at least the last time I tried. >> >> * Change the run script for qmail-smtpd (/service/qmail-smtpd/run) to > use >> vpopmail. The tcp.smtp.cdb file needs to point to the one in the > vpopmail >> home directory (ex. /home/vpopmail/etc/tcp.smtp.cdb). This step makes >> POP-before-SMTP work. >> >> * Install a qmail-pop3d service. The easiest way to do this is > qmail-conf. >> You could use qmail-conf to redo all the qmail services, but it is > easier to >> stick with the ones that qmail-run sets up: >> >> http://www.din.or.jp/~ushijima/qmail-conf.html >> >> * Allow incoming connections to pop3d. By default, it does not allow > any >> connections. There is an add-client script in >> /var/qmail/service/qmail-pop3d that can be used. To simply allow >> connections from everywhere, create an empty tcp file and run the > Makefile. >> You will need to run the Makefile after using add-client. >> >> * Change the qmail-pop3d run script to use vpopmail. It needs to use > vchkpw >> as the checkpassword program. Change this to your vchkpw program (ex. >> /home/vpopmail/bin/vchkpw). The parameter to be changed is the second >> parameter to qmail-popup. >> >> * Restart all of the services: >> >> svc -t /service/qmail-* >> >> * You can make things easier if you add /var/qmail/bin and the vpopmail > bin >> directory to root's PATH. >> >> -- >> David Phillips <[EMAIL PROTECTED]> >> http://david.acz.org/ >> >> >> > > > -- Mit freundlichen Grüssen / best regards Zeno Davatz Strategie & Akquisition +41 1 350 85 86 www.ywesee.com > intellectual capital connected > www.generika.cc
RE: [vchkpw] vpopmail quota bugs
Pop3 doesn't know anything about folders. It only knows about the inbox. Regards, Tren -Original Message- From: Chris [mailto:chris@;hkseek.com] Sent: Wednesday, October 23, 2002 7:54 PM To: [EMAIL PROTECTED] Subject: [vchkpw] vpopmail quota bugs when i sent an email using sqwebmail it save a copy in my "sent" folder and i can see the quota report increase. i use sqwebmail move the sent email from "sent" folder to "inbox" and download and remove such email using Outlook Express. but there is no changes on the quota report. is there any patches available for this? or it's the sqwebmail problem? P.S. it's fine if we download and remove the normal incoming email. Chris
[vchkpw] Re: vpopmail quota bugs
Chris writes: when i sent an email using sqwebmail it save a copy in my "sent" folder and i can see the quota report increase. i use sqwebmail move the sent email from "sent" folder to "inbox" and download and remove such email using Outlook Express. but there is no changes on the quota report. is there any patches available for this? or it's the sqwebmail problem? P.S. it's fine if we download and remove the normal incoming email. what version of sqwebmail and vpopmail r u using? regards, Gregor
Re: [vchkpw] Vpopmail Debian
The alternative way, of course, is to use the slightly more out-of-date packages that Debian provides. Download (or dselect) the qmail-src package in Debian, the run "build-qmail" (during installation this will mention this, so don't worry). After that, grab the vpopmail packages in Debian as well, and install those. Blam. Apart from some tweaking, you're done. Of course, you don't get the new fancy features that are in the latest versions, but it works, and so far for us it has been reliable. YMMV. - Original Message - From: "David Phillips" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 24, 2002 10:06 AM Subject: Re: [vchkpw] Vpopmail Debian > Zeno Davatz writes: > > So you also suggest not using the binaries from the Debian packages > > for my Mail-setup? > > This is my recommendation for the easiest and best vpopmail setup on Debian. > This is from memory, so I might be missing something: > > * Add Gerrit Pape's repository to your apt sources list. Install the qmail > package. This will install qmail, including the necessary uids and gids: > > http://smarden.org/pape/Debian/qmail.html > > * Install the qmail-run package. This will setup qmail as the mail transfer > agent under daemontools. This will uninstall exim or whatever MTA you > already have installed. > > * Change the /var/qmail/rc file to deliver to Maildir. This will break mail > for local users and cause the mail system not to work as it would on a > standard Debian system. The "mail" program, for example, does not work with > Maildir. But for a POP toaster using vpopmail, this doesn't really matter. > The file should look like this: > > #!/bin/sh > exec env - PATH="/var/qmail/bin:$PATH" \ > qmail-start ./Maildir/ > > * By default, the qmail-run package sets up qmail to log to syslog, as is > standard for Debian. However, the daemontools method (as setup by > qmail-conf) is much better, in my opinion. Fix the qmail-send and > qmail-smtpd services to do this. qmail-smtpd may already be setup this way. > In the log directory of the service directory (say /service/qmail-send/log), > change main to be a symlink to the log directory, say /var/log/qmail-send. > Change the run script for the log service to be as follows: > > #!/bin/sh > exec setuidgid qmaill multilog t ./main > > * Install vpopmail from source. The Debian packages are pretty old and seem > to be buggy, at least the last time I tried. > > * Change the run script for qmail-smtpd (/service/qmail-smtpd/run) to use > vpopmail. The tcp.smtp.cdb file needs to point to the one in the vpopmail > home directory (ex. /home/vpopmail/etc/tcp.smtp.cdb). This step makes > POP-before-SMTP work. > > * Install a qmail-pop3d service. The easiest way to do this is qmail-conf. > You could use qmail-conf to redo all the qmail services, but it is easier to > stick with the ones that qmail-run sets up: > > http://www.din.or.jp/~ushijima/qmail-conf.html > > * Allow incoming connections to pop3d. By default, it does not allow any > connections. There is an add-client script in > /var/qmail/service/qmail-pop3d that can be used. To simply allow > connections from everywhere, create an empty tcp file and run the Makefile. > You will need to run the Makefile after using add-client. > > * Change the qmail-pop3d run script to use vpopmail. It needs to use vchkpw > as the checkpassword program. Change this to your vchkpw program (ex. > /home/vpopmail/bin/vchkpw). The parameter to be changed is the second > parameter to qmail-popup. > > * Restart all of the services: > > svc -t /service/qmail-* > > * You can make things easier if you add /var/qmail/bin and the vpopmail bin > directory to root's PATH. > > -- > David Phillips <[EMAIL PROTECTED]> > http://david.acz.org/ > > >
[vchkpw] vpopmail quota bugs
when i sent an email using sqwebmail it save a copy in my "sent" folder and i can see the quota report increase. i use sqwebmail move the sent email from "sent" folder to "inbox" and download and remove such email using Outlook Express. but there is no changes on the quota report. is there any patches available for this? or it's the sqwebmail problem? P.S. it's fine if we download and remove the normal incoming email. Chris
Re: [vchkpw] Vpopmail Debian
Zeno Davatz writes: > So you also suggest not using the binaries from the Debian packages > for my Mail-setup? This is my recommendation for the easiest and best vpopmail setup on Debian. This is from memory, so I might be missing something: * Add Gerrit Pape's repository to your apt sources list. Install the qmail package. This will install qmail, including the necessary uids and gids: http://smarden.org/pape/Debian/qmail.html * Install the qmail-run package. This will setup qmail as the mail transfer agent under daemontools. This will uninstall exim or whatever MTA you already have installed. * Change the /var/qmail/rc file to deliver to Maildir. This will break mail for local users and cause the mail system not to work as it would on a standard Debian system. The "mail" program, for example, does not work with Maildir. But for a POP toaster using vpopmail, this doesn't really matter. The file should look like this: #!/bin/sh exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ * By default, the qmail-run package sets up qmail to log to syslog, as is standard for Debian. However, the daemontools method (as setup by qmail-conf) is much better, in my opinion. Fix the qmail-send and qmail-smtpd services to do this. qmail-smtpd may already be setup this way. In the log directory of the service directory (say /service/qmail-send/log), change main to be a symlink to the log directory, say /var/log/qmail-send. Change the run script for the log service to be as follows: #!/bin/sh exec setuidgid qmaill multilog t ./main * Install vpopmail from source. The Debian packages are pretty old and seem to be buggy, at least the last time I tried. * Change the run script for qmail-smtpd (/service/qmail-smtpd/run) to use vpopmail. The tcp.smtp.cdb file needs to point to the one in the vpopmail home directory (ex. /home/vpopmail/etc/tcp.smtp.cdb). This step makes POP-before-SMTP work. * Install a qmail-pop3d service. The easiest way to do this is qmail-conf. You could use qmail-conf to redo all the qmail services, but it is easier to stick with the ones that qmail-run sets up: http://www.din.or.jp/~ushijima/qmail-conf.html * Allow incoming connections to pop3d. By default, it does not allow any connections. There is an add-client script in /var/qmail/service/qmail-pop3d that can be used. To simply allow connections from everywhere, create an empty tcp file and run the Makefile. You will need to run the Makefile after using add-client. * Change the qmail-pop3d run script to use vpopmail. It needs to use vchkpw as the checkpassword program. Change this to your vchkpw program (ex. /home/vpopmail/bin/vchkpw). The parameter to be changed is the second parameter to qmail-popup. * Restart all of the services: svc -t /service/qmail-* * You can make things easier if you add /var/qmail/bin and the vpopmail bin directory to root's PATH. -- David Phillips <[EMAIL PROTECTED]> http://david.acz.org/
RE: [vchkpw] Vpopmail and mysql limits
Thanks... As for waiting 10 months, we didn't know it was around so we really were Not waiting and you know us bitchy sysadmins we want it and we want it Yesterday -John -Original Message- From: Brian Kolaci [mailto:bk@;Kola.com] Sent: Wednesday, October 23, 2002 4:38 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [vchkpw] Vpopmail and mysql limits > On Wednesday, October 23, 2002, at 03:28 PM, John Johnson wrote: > > > ok to use mysql-limits is there a convert program to convert the > > limits > > I have > > Or do I have to start over with them and reset them.. I guess I will > > also have > > To recompile vqadmin and qmailadmin for this as well? > > Qmailadmin and vqadmin do not support the new vlimits functions yet. > vqadmin has its own code to modify the limits file only (not sql). > Brian, the author of this patch, does have his own patches for > qmailadmin I think. So you really can't do anything with them until > you have code to use them. Not sure if Brian is planning to publish > his qmailadmin patch... > > Regards, > > Bill > I see there's been alot of traffic on this today. I've been out (working) most of the day and haven't been able to keep up. It should be easy to put together a utility to convert the limits, not an issue. As for several of the other comments, I'd like to take tonight to think about several of the suggestions and post one myself. I've been running with the current patched API since vpopmail 4.9.6 and its been working well. I also have a patched qmailadmin-1.0.4 with quotas (I forgot who wrote the quota patch), and a patched version of vdelivermail. Both of these use a recursive stat() to determine usage & quota since it was before the Maildir++ quotas were in there, so I always had *regular* disk usage quotas enforced which I believe may differ from the Maildir++ quotas. My intent was to get the API into the library before updating the programs/utilities to actually use the API. I've been sitting on this for about 10 months now (with a working system), and now finally got it into the distribution. Now it seems (from all the traffic on it today) that nobody can wait for it... I think it would be best to get the base correct and sound before actually using it in the utilities and programs. I have some pros/cons (and I'd like to extend the list and send it out to everyone) about the current implementation and want to get some feedback before moving on it. (Its waited 10 months already, another day or two won't hurt). I'll compile and post some questions in a bit to see what people really want/need and make sure this gets done properly. Thanks, Brian
Re: [vchkpw] Vpopmail and mysql limits
> On Wednesday, October 23, 2002, at 03:28 PM, John Johnson wrote: > > > ok to use mysql-limits is there a convert program to convert the > > limits > > I have > > Or do I have to start over with them and reset them.. I guess I will > > also have > > To recompile vqadmin and qmailadmin for this as well? > > Qmailadmin and vqadmin do not support the new vlimits functions yet. > vqadmin has its own code to modify the limits file only (not sql). > Brian, the author of this patch, does have his own patches for > qmailadmin I think. So you really can't do anything with them until > you have code to use them. Not sure if Brian is planning to publish > his qmailadmin patch... > > Regards, > > Bill > I see there's been alot of traffic on this today. I've been out (working) most of the day and haven't been able to keep up. It should be easy to put together a utility to convert the limits, not an issue. As for several of the other comments, I'd like to take tonight to think about several of the suggestions and post one myself. I've been running with the current patched API since vpopmail 4.9.6 and its been working well. I also have a patched qmailadmin-1.0.4 with quotas (I forgot who wrote the quota patch), and a patched version of vdelivermail. Both of these use a recursive stat() to determine usage & quota since it was before the Maildir++ quotas were in there, so I always had *regular* disk usage quotas enforced which I believe may differ from the Maildir++ quotas. My intent was to get the API into the library before updating the programs/utilities to actually use the API. I've been sitting on this for about 10 months now (with a working system), and now finally got it into the distribution. Now it seems (from all the traffic on it today) that nobody can wait for it... I think it would be best to get the base correct and sound before actually using it in the utilities and programs. I have some pros/cons (and I'd like to extend the list and send it out to everyone) about the current implementation and want to get some feedback before moving on it. (Its waited 10 months already, another day or two won't hurt). I'll compile and post some questions in a bit to see what people really want/need and make sure this gets done properly. Thanks, Brian
RE: [vchkpw] smtp-auth
On Wed, 2002-10-23 at 08:30, Clayton Weise wrote: > How do you startup qmail-smtpd? Hi Clayton, thanks for the reply. Tunc Gunergun noted that this behaviour is symptomatic of running qmail-smtpd without a hostname after it. Is that what you were thinking? But how does this effect the other vpopmail domains on that box if at all? I'll post my smtpd 'run' below (sorry for the poor formatting): --- #!/bin/sh . /usr/share/qmail/run-functions # If rblsmtpd is installed, process rbltimeout rbldomains, and antirbldomains if [ -x /usr/bin/rblsmtpd ]; then readdefault domains antirbldomains "" for domain in $domains; do rblopts="$rblopts -a $domain" done readdefault domains rbldomains "" for domain in $domains; do rblopts="$rblopts -r $domain" done readdefault timeout rbltimeout 60 if [ -n "$rblopts" ]; then rbl="/usr/bin/rblsmtpd -t $timeout $rblopts" fi fi # Start daemons. readdefault concurrency concurrencysmtpd 20 readdefault ulimitdata ulimitdata 200 exec \ softlimit -m $ulimitdata \ envuidgid qmaild \ tcpserver -DRUvX -c "$concurrency" -l "`head -1 /var/qmail/control/me`" \ -x /etc/tcpcontrol/smtp.cdb 0 smtp \ fixcrio $rbl qmail-smtpd /usr/local/vpopmail/bin/vchkpw /bin/true --- Thanks again for the reply, Bill
RE: [vchkpw] Vpopmail and mysql limits
Well it would be nice if the patch was out there.. I guess I will hold off On my make install till I get more info on what is going to happen with Qmailadmin and vqadmin -John -Original Message- From: Bill Shupp [mailto:hostmaster@;shupp.org] Sent: Wednesday, October 23, 2002 3:29 PM To: [EMAIL PROTECTED] Subject: Re: [vchkpw] Vpopmail and mysql limits On Wednesday, October 23, 2002, at 03:28 PM, John Johnson wrote: > ok to use mysql-limits is there a convert program to convert the > limits > I have > Or do I have to start over with them and reset them.. I guess I will > also have > To recompile vqadmin and qmailadmin for this as well? Qmailadmin and vqadmin do not support the new vlimits functions yet. vqadmin has its own code to modify the limits file only (not sql). Brian, the author of this patch, does have his own patches for qmailadmin I think. So you really can't do anything with them until you have code to use them. Not sure if Brian is planning to publish his qmailadmin patch... Regards, Bill
Re: [vchkpw] Vpopmail and mysql limits
On Wednesday, October 23, 2002, at 03:28 PM, John Johnson wrote: ok to use mysql-limits is there a convert program to convert the limits I have Or do I have to start over with them and reset them.. I guess I will also have To recompile vqadmin and qmailadmin for this as well? Qmailadmin and vqadmin do not support the new vlimits functions yet. vqadmin has its own code to modify the limits file only (not sql). Brian, the author of this patch, does have his own patches for qmailadmin I think. So you really can't do anything with them until you have code to use them. Not sure if Brian is planning to publish his qmailadmin patch... Regards, Bill
[vchkpw] Vpopmail and mysql limits
ok to use mysql-limits is there a convert program to convert the limits I have Or do I have to start over with them and reset them.. I guess I will also have To recompile vqadmin and qmailadmin for this as well? -John
[vchkpw] RE: FW: patch for vpopmail 5.3.8 for .qmailadmin-limits
Sorry foe missing the list on that... I will be getting it now. -Original Message- From: Bill Shupp [mailto:hostmaster@;shupp.org] Sent: Wednesday, October 23, 2002 2:42 PM To: [EMAIL PROTECTED] Subject: Re: FW: patch for vpopmail 5.3.8 for .qmailadmin-limits On Wednesday, October 23, 2002, at 02:43 PM, John Johnson wrote: > ok, what is the problem so I can decide what to do... I fixed it. Get 5.3.11 from my site: http://shupp.org Please keep posts on the list. Regards, Bill
[vchkpw] 5.3.11 devel available
I found a problem with the 5.3.10 release, and also received another fix for vdelivermail. So I have put up 5.3.11 on my site: ChangeLog: http://shupp.org/patches/vpopmail-ChangeLog Download: http://shupp.org/patches/vpopmail-5.3.11.tar.gz Cheers, Bill Shupp
Re: [vchkpw] patch for vpopmail 5.3.8 for .qmailadmin-limits
At 23/10/02 23/10/02 -0700, Bill Shupp wrote: On Wednesday, October 23, 2002, at 12:55 AM, tonix (Antonio Nati) wrote: As usual, I don't see anything related to "disablesmtp". Is this feature going to be merged in the main stream, or do I have to continue with my private copies? Yes, it will be merged. It's just been overlooked. I'll add it to 5.3.10. Bill, I was speaking mainly about qmailadmin. It's not included in the last version, not in the suggested MySQL notes below. That's the reason for which I was suggesting to change layout, in order to add new options without working too much on MySQL. Anyway, two notes: 1) I feel that would be much better another layout, like: domain CHAR(64) PRIMARY KEY, option CHAR(64) PRIMARY KEY, value CHAR(64) NOT NULL that would permit to add other options more easily. Yes, but the downside is that the value field is way too big for items that just need to be 0 or 1. I don't know how much of an impact this will have, though. Why not to use VARCHAR fields? Brian: Any thoughts on this? Some of your code would have to be rewritten to do this. 2) I'ld like to have other options in qmailadmin-limits, that could permit to deny some functions to 'admin' users that are not 'postmaster': ex. deny_list_create deny_list_modify deny_list_users_modify deny_list_moderators_modify deny_account_create deny_alias_create Yes, this would be great. Do you have any code that implements this? These options would be impossible to add with the 'fixed' MySQL layout, unless you create a huge record to manage them. Tonino
[vchkpw] 5.3.10 devel
Ken, all: I've posted 5.3.10 devel on my site: Download: http://shupp.org/patches/vpopmail-5.3.10.tar.gz Changes: 5.3.10 10/23/02 "Bill Shupp" hostmaster at shupp dot org - Added limits table layout to vmysql.h - Changed valias_line to be type "blob" to compensate for large mailing list commands. Increased FILE_LINE_SIZE to 1024 in vcalias for the same reason. vcalias now escapes FileLine input. Thanks to Brad Dameron for pointing this out. - Added disable_smtp support to the new vlimits functions - Fixed configure.in so that --enable-mysql-limits is now reported after running configure - Moved format_maildirquota() to the vpopmail library. Updated vlimits.c to use format_maildirquota() for default_quota. - format_maildirquota() now uses 1024 and and 1048576 when converting KB and MB instead of 1000 and 100, respectively. 10/23/02 "Anders Brander" anders at brander dot dk - vdelivermail: Check for | *before* /Maildir/ in .qmail processing - vdelivermail: Add missing case for error code 100 Please help test, and report any problems to the list. Regards, Bill Shupp
Re: [vchkpw] patch for vpopmail 5.3.8 for .qmailadmin-limits
On Wednesday, October 23, 2002, at 01:17 PM, tonix (Antonio Nati) wrote: At 23/10/02 23/10/02 -0700, Bill Shupp wrote: On Wednesday, October 23, 2002, at 12:55 AM, tonix (Antonio Nati) wrote: 2) I'ld like to have other options in qmailadmin-limits, that could permit to deny some functions to 'admin' users that are not 'postmaster': ex. deny_list_create deny_list_modify deny_list_users_modify deny_list_moderators_modify deny_account_create deny_alias_create Yes, this would be great. Do you have any code that implements this? No Bill, I'm just willing to do it. If it looks interesting, I'll raise its priority among my jobs. It could be interesting to know what to deny, in all's opinion. Ideally, I want to have all the same functionality in qmailadmin that EZWEB has. Some thought needs to go into that, as well as the limits you are suggesting. I won't have time to work on that right now, as I'm still trying to integrate other things. Regards, Bill Shupp
Re: [vchkpw] patch for vpopmail 5.3.8 for .qmailadmin-limits
At 23/10/02 23/10/02 -0700, Bill Shupp wrote: On Wednesday, October 23, 2002, at 12:55 AM, tonix (Antonio Nati) wrote: 2) I'ld like to have other options in qmailadmin-limits, that could permit to deny some functions to 'admin' users that are not 'postmaster': ex. deny_list_create deny_list_modify deny_list_users_modify deny_list_moderators_modify deny_account_create deny_alias_create Yes, this would be great. Do you have any code that implements this? No Bill, I'm just willing to do it. If it looks interesting, I'll raise its priority among my jobs. It could be interesting to know what to deny, in all's opinion. Tonino Regards, Bill Shupp
Re: [vchkpw] vpopmail development
On Wednesday, October 23, 2002, at 12:51 PM, Matthias Trevarthan wrote: Granted, vpopmail does a great job as is... I'd just hate to see this project die for lack of renovation someday. What's the licensing like? Could I modify the source and create another project? (Not that I want to... trust me. I've got plenty of better things to do.) GPL. This is easily found on at on the vpopmail website, and in the source code. Bill
Re: [vchkpw] vpopmail development
Granted, vpopmail does a great job as is... I'd just hate to see this project die for lack of renovation someday. What's the licensing like? Could I modify the source and create another project? (Not that I want to... trust me. I've got plenty of better things to do.) Matthias On Wednesday 23 October 2002 13:41, Bill Shupp wrote: > On Wednesday, October 23, 2002, at 07:03 AM, Matthias Trevarthan wrote: > > Howdy, > > > > Just curious: Is vpopmail still being actively developed? > > Yes. > > > Is it a single developer, or is there a CVS and an open development > > community? > > > > I ask because I see people talking about patches a lot. If we had a > > CVS and an > > active development team, we wouldn't need patches, would we? > > > > Isn't that the strength of Open Source? The product evolves very > > quickly in > > response to it's user's needs. This gets foiled if there is only one > > developer... > > Ken Jones and Inter7 are the maintainers. I've been helping out with > putting together releases and adding patches, etc.., but this decision > is really up to Ken. Several people have offered to run CVS, and of > course there's sourceforge. I'm not opposed to this. > > Regards, > > Bill Shupp
Re: [vchkpw] vpopmail development
On Wednesday, October 23, 2002, at 07:03 AM, Matthias Trevarthan wrote: Howdy, Just curious: Is vpopmail still being actively developed? Yes. Is it a single developer, or is there a CVS and an open development community? I ask because I see people talking about patches a lot. If we had a CVS and an active development team, we wouldn't need patches, would we? Isn't that the strength of Open Source? The product evolves very quickly in response to it's user's needs. This gets foiled if there is only one developer... Ken Jones and Inter7 are the maintainers. I've been helping out with putting together releases and adding patches, etc.., but this decision is really up to Ken. Several people have offered to run CVS, and of course there's sourceforge. I'm not opposed to this. Regards, Bill Shupp
Re: [vchkpw] return code 100 and vdelivermail
On Wednesday, October 23, 2002, at 06:35 AM, Anders Brander wrote: Hi, Is there any reason that vdelivermail doesn't catch return code 100 when running |-commands? Please see vdelivermail.c line 764-770. It deals with 100 as it were 111. Is this right? For the curious: http://fmail.dk/stuff/vdeliver-command-return-100.diff :) Got it, thanks for the diff. Regards, Bill Shupp
Re: [vchkpw] vdelivermail fails when alias line starting with | and containing /Maildir/
On Wednesday, October 23, 2002, at 05:28 AM, Anders Brander wrote: Hi, I think i've encountered a bug, vdelivermail seems to process the line: "|/do/deliver/to /home/vpopmail/domains/example.com/test1/Maildir/" wrongly. It deals with it like it's a /Maildir/-line, which is wrong. It seems like vdelivermail checks for /Maildir/ anywhere in the line, before it checks for a | at the start of the line. I've made a quick fix to vdelivermail.c. http://fmail.dk/stuff/vdeliver-command.diff Please test and comment. Looks good, I've added this. Regards, Bill Shupp
Re: [vchkpw] patch for vpopmail 5.3.8 for .qmailadmin-limits
On Wednesday, October 23, 2002, at 12:55 AM, tonix (Antonio Nati) wrote: As usual, I don't see anything related to "disablesmtp". Is this feature going to be merged in the main stream, or do I have to continue with my private copies? Yes, it will be merged. It's just been overlooked. I'll add it to 5.3.10. Anyway, two notes: 1) I feel that would be much better another layout, like: domain CHAR(64) PRIMARY KEY, option CHAR(64) PRIMARY KEY, value CHAR(64) NOT NULL that would permit to add other options more easily. Yes, but the downside is that the value field is way too big for items that just need to be 0 or 1. I don't know how much of an impact this will have, though. Brian: Any thoughts on this? Some of your code would have to be rewritten to do this. 2) I'ld like to have other options in qmailadmin-limits, that could permit to deny some functions to 'admin' users that are not 'postmaster': ex. deny_list_create deny_list_modify deny_list_users_modify deny_list_moderators_modify deny_account_create deny_alias_create Yes, this would be great. Do you have any code that implements this? Regards, Bill Shupp
RE: [vchkpw] smtp-auth
How do you startup qmail-smtpd? -Original Message- From: [EMAIL PROTECTED] [mailto:vpopmail@;gory.org] Sent: Wednesday, October 23, 2002 8:09 AM To: Tunc Gunergun Cc: Clayton Weise; Eduardo Gargiulo; [EMAIL PROTECTED] Subject: Re: [vchkpw] smtp-auth On Tue, 2002-10-22 at 13:19, Tunc Gunergun wrote: > i think there is a problem with smtp-auth`s new version (0.31) Version > 0.30 is working very well. Has anybody tried the new version (0.31)? Yes, actuall, I'm having a problem with 0.31, but I don't know if it's due to this patch or something else. I've rebuilt bruceg's qmail RPM ( http://untroubled.org/qmail+patches/ ) and have updated it to use 0.31, but it appears that it's accepting mail even when prompted for the required username and password, you give it fudged values, i.e. a user account and passwd that I _know_ are invalid. It happily accepts these and sends out this mail -- not quite the sort of authentication I'd like :) Are you also seeing this behaviour with 0.31? Bill
Re: [vchkpw] smtp-auth
On Tue, 2002-10-22 at 13:19, Tunc Gunergun wrote: > i think there is a problem with smtp-auth`s new version (0.31) Version > 0.30 is working very well. Has anybody tried the new version (0.31)? Yes, actuall, I'm having a problem with 0.31, but I don't know if it's due to this patch or something else. I've rebuilt bruceg's qmail RPM ( http://untroubled.org/qmail+patches/ ) and have updated it to use 0.31, but it appears that it's accepting mail even when prompted for the required username and password, you give it fudged values, i.e. a user account and passwd that I _know_ are invalid. It happily accepts these and sends out this mail -- not quite the sort of authentication I'd like :) Are you also seeing this behaviour with 0.31? Bill
[vchkpw] vpopmail development
Howdy, Just curious: Is vpopmail still being actively developed? Is it a single developer, or is there a CVS and an open development community? I ask because I see people talking about patches a lot. If we had a CVS and an active development team, we wouldn't need patches, would we? Isn't that the strength of Open Source? The product evolves very quickly in response to it's user's needs. This gets foiled if there is only one developer... Matthias
[vchkpw] return code 100 and vdelivermail
Hi, Is there any reason that vdelivermail doesn't catch return code 100 when running |-commands? Please see vdelivermail.c line 764-770. It deals with 100 as it were 111. Is this right? For the curious: http://fmail.dk/stuff/vdeliver-command-return-100.diff :) /Anders
[vchkpw] vdelivermail fails when alias line starting with | and containing /Maildir/
Hi, I think i've encountered a bug, vdelivermail seems to process the line: "|/do/deliver/to /home/vpopmail/domains/example.com/test1/Maildir/" wrongly. It deals with it like it's a /Maildir/-line, which is wrong. It seems like vdelivermail checks for /Maildir/ anywhere in the line, before it checks for a | at the start of the line. I've made a quick fix to vdelivermail.c. http://fmail.dk/stuff/vdeliver-command.diff Please test and comment. /Anders
Re: [vchkpw] Vpopmail Debian
Hi Zeno, On Wed, 23 Oct 2002 13:59:11 +0200 Zeno Davatz <[EMAIL PROTECTED]> wrote: > So you also suggest not using the binaries from the Debian packages > for my Mail-setup? Yes. Definitely. Seems the packages are only in unstable _and_ they're pretty old. So a manual installtion of vpopmail will be (IMHO) the best solution. -- Pit
Re: [vchkpw] Vpopmail Debian
Hi Pit Thanks for helping - sorry for the cc. On 23.10.2002 13:48 Uhr, "Peter Palmreuther" <[EMAIL PROTECTED]> wrote: > If the problem persists with newer version we'll probably be able to > hunt down the culprit, at least much easier than me or anybody else > installing a 4.9.9 with Debian specs and do the debugging job for you > (albeit I'm running Debian [Woody] too I don't want to step back, it's > not worth the trouble as the older version is quite outdated). So you also suggest not using the binaries from the Debian packages for my Mail-setup? Zeno
Re: [vchkpw] Vpopmail Debian
Hi Zeno, First let me say there's no need to drop me a copy of your answer to my e-mail-address directly. I'm reading the list, therefore answering on list is sufficient. On Tue, 22 Oct 2002 19:17:47 +0200 Zeno Davatz <[EMAIL PROTECTED]> wrote: >> Replace '/home/vpopmail/' with the path to vpopmail home directory >> (e.g.'~vpopmail/') of your installation. Should have been obvious >> you should do a test run of vchkpw, _of course_ with correct paths >> :-/ > alphonse:/etc/init.d# [EMAIL PROTECTED] P=info printf > "$U\0$P\0SDKFJSD\0" | strace -o /tmp/vchkpw.log -s 256 -f -e > trace=file,read/usr/sbin/vchkpw /bin/true 3<&0; echo $? > > I get: > 0 So in general authentication seems to work. How 's your POP3 started? What's the complete invocation command that makes use of vchkpw for authentication? > strace -f -s 512 -o /tmp/clearopensmtp.strace /usr/sbin/clearopensmtp Seems 'clearopensmtp' hangs in function 'tcprules_open()' in vpopmail.c, line 1939. Why? I dunno. As you stated you're using still 4.9.9-1 I'd suggest you remove vpopmail-bin from debian pool and compile at least a 5.2.1 from http://www.inter7.com/vpopmail, if not even a 5.3.8 from same site but devel page. The latter I'd call quite stable so there shouldn't be to much risk left. If the problem persists with newer version we'll probably be able to hunt down the culprit, at least much easier than me or anybody else installing a 4.9.9 with Debian specs and do the debugging job for you (albeit I'm running Debian [Woody] too I don't want to step back, it's not worth the trouble as the older version is quite outdated). -- Pit
Re: [vchkpw] patch for vpopmail 5.3.8 for .qmailadmin-limits
As usual, I don't see anything related to "disablesmtp". Is this feature going to be merged in the main stream, or do I have to continue with my private copies? Anyway, two notes: 1) I feel that would be much better another layout, like: domain CHAR(64) PRIMARY KEY, option CHAR(64) PRIMARY KEY, value CHAR(64) NOT NULL that would permit to add other options more easily. 2) I'ld like to have other options in qmailadmin-limits, that could permit to deny some functions to 'admin' users that are not 'postmaster': ex. deny_list_create deny_list_modify deny_list_users_modify deny_list_moderators_modify deny_account_create deny_alias_create Any idea or suggestion? Tonino At 22/10/02 22/10/02 -0700, Bill Shupp wrote: On Tuesday, October 22, 2002, at 02:37 PM, Brian Kolaci wrote: The layout should have been in vmysql.h. I must have tested the wrong directory when I thought I tested 5.3.9. I see its missing. This should be appended to vmysql.h: #ifdef ENABLE_MYSQL_LIMITS #define LIMITS_TABLE_LAYOUT "domain CHAR(64) PRIMARY KEY, \ maxpopaccounts INT(10) NOT NULL DEFAULT -1, \ maxaliases INT(10) NOT NULL DEFAULT -1, \ maxforwards INT(10) NOT NULL DEFAULT -1, \ maxautoresponders INT(10) NOT NULL DEFAULT -1, \ maxmailinglists INT(10) NOT NULL DEFAULT -1, \ diskquota INT(12) NOT NULL DEFAULT 0, \ defaultquotaINT(12) NOT NULL DEFAULT 0, \ disablepop TINYINT(1) NOT NULL DEFAULT 0, \ disableimap TINYINT(1) NOT NULL DEFAULT 0, \ disabledialup TINYINT(1) NOT NULL DEFAULT 0, \ disablepasswordchanging TINYINT(1) NOT NULL DEFAULT 0, \ disablewebmail TINYINT(1) NOT NULL DEFAULT 0, \ disablerelayTINYINT(1) NOT NULL DEFAULT 0" #endif There's also a potential problem reading the ascii file and interpreting the "k" or "m" symbols for quotas. Bill said he'd like it to use the format_maildirquota() function, however I've updated my copy to parse out the symbols and multiply by 1024 or 1024*1024, but I'm not sure if this is the vpopmail standard. Bill: Shall I put a patch for these two items ? I must have sent you the incorrect patch file (I had two, one with the vmysql.h changes and one without). Thanks, I've added the above definition to vmysql.h. format_maildirquota() also accounts for message counts, i.e. Maildir++ style quotas, which is why I want to use it rather than just converting the number. Can you supply me a patch of what you did, and I'll work from there? Regards, Bill Inter@zioniInterazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED]