[vchkpw] Vuserinfo is trying to setuid() before checking if domain exists
Hello, I might found a little bug while using vuserinfo. When you are trying to get the information on a non-existing domain, it will try to setuid(0): UID & GID: [EMAIL PROTECTED]:~# getent passwd vpopmail vpopmail:x:1011:1007::/home/vpopmail:/sbin/nologin [EMAIL PROTECTED]:~# getent group vchkpw vchkpw:x:1007: Non existing domain: [EMAIL PROTECTED]:~# strace vuserinfo [EMAIL PROTECTED] 2>&1 | grep -e setuid -e setgid setgid32(0) = 0 setuid32(0) = 0 Existing domain: [EMAIL PROTECTED]:~# strace vuserinfo [EMAIL PROTECTED] 2>&1 | grep -e setuid -e setgid setgid32(1007) = 0 setuid32(1011) = 0 I made a patch that will output an error message as I replace the 2 occurences of: /* setuid to the user first */ vget_assign(Domain,NULL,0,&pw_uid,&pw_gid); in vuserinfo.c by the following code: /* setuid to the user first */ if (vget_assign(Domain,NULL,0,&pw_uid,&pw_gid) == NULL) { printf("no such domain %s\n", Domain); vexit(1); } The patch was made for 5.4.24 and seems to work fine with 5.4.25 Before: [EMAIL PROTECTED]:/usr/local/src/vpopmail-5.4.24$ vuserinfo [EMAIL PROTECTED] Error: unable to setuid After: [EMAIL PROTECTED]:/usr/local/src/vpopmail-5.4.24$ ./vuserinfo [EMAIL PROTECTED] no such domain d.com Have a nice day! !DSPAM:4795eb23310541894312331! --- ./vuserinfo.c.orig 2008-01-22 13:33:21.0 +0100 +++ ./vuserinfo.c 2008-01-22 13:35:21.0 +0100 @@ -82,7 +82,10 @@ } /* setuid to the user first */ - vget_assign(Domain,NULL,0,&pw_uid,&pw_gid); + if (vget_assign(Domain,NULL,0,&pw_uid,&pw_gid) == NULL) { + printf("no such domain %s\n", Domain); + vexit(1); + } if ( setgid(pw_gid) == -1 || setuid(pw_uid) == -1 ) { printf("Error: unable to setuid\n"); vexit(1); @@ -103,7 +106,10 @@ /* we want to see the entire domain */ first = 1; /* setuid to the user first */ - vget_assign(Domain,NULL,0,&pw_uid,&pw_gid); + if (vget_assign(Domain,NULL,0,&pw_uid,&pw_gid) == NULL) { + printf("no such domain %s\n", Domain); + vexit(1); + } if ( setgid(pw_gid) == -1 || setuid(pw_uid) == -1 ) { printf("Error: unable to setuid\n"); vexit(1);
[vchkpw] vuserinfo segfault
I'm getting a segfault when running vuserinfo -D , trying to list addresses for a given domain. I also get a segfault when trying to use the qmailadmin web interface to list addresses, which I'm guessing is because it uses vuserinfo. The situation is a bit complicated in that I moved all the data and users from one server to another. On the original server, vuserinfo -D works. What I did to perform the move was copy the domain directory trees and the MySQL tables. Receiving mail, authorizing through courier-authlib, and pretty much everything else works. One thing I've tried is removing the domains completely (after backing all data up), so that the vpopmail database tables were empty, then creating the domains again with vadddomain. Before restoring any users or mail directories, I tried vuserinfo -D, and it again caused a segfault. I have the domains directory as a symlink to a different mount point, so I also tested with an actual directory, which had no effect. Since this didn't work, I restored the original tables. This is with vpopmail 5.4.16 on a Gentoo amd64 system. The original server is also Gentoo amd64, and also 5.4.16. Some other details: vdominfo = works vadduser = works vuserinfo @ = works valias -s = works valias -n = segfault I'm at a loss to understand what the problem could be. Any ideas on what I can look at to figure this out? !DSPAM:478eafd5310546903420565!
[vchkpw] .:{Spam?}:. Re: [vchkpw] vuserinfo on the web
Take a look at vqadmin. It is probably the closest match for you to be able to have a web based helpdesk for your mail server. It allows you to see users and passwords across virtual and local domains. - Original Message - From: Trey Nolen To: vchkpw@inter7.com Sent: Tuesday, February 13, 2007 10:06 AM Subject: [vchkpw] vuserinfo on the web Is there a package that provides the information of vuserinfo via the web? We have technicians that routinely need to look up email passwords (which is enabled in vpopmail), but not all of our techs are command-line savy... Trey Nolen
[vchkpw] vuserinfo on the web
Is there a package that provides the information of vuserinfo via the web? We have technicians that routinely need to look up email passwords (which is enabled in vpopmail), but not all of our techs are command-line savy... Trey Nolen
Re: [vchkpw] vuserinfo and quota
On Sep 25, 2006, at 2:02 PM, Rick Macdougall wrote: All I'm saying is that when you upgrade someone's quota, the maildir size file is not rebuilt unless 1) It doesn't exist (you remove it) 2) A new email is delivered 3) The account is popped or IMAPed (with courier-imap or qmail- pop3d patched) If you use vmoduser to change the quota, it will recreate the maildirsize file. You are right on the max quota size -- 2GB is it, and you might be able to find a patch on SourceForge to take it up to 4GB (unsigned long). You'd potentially have to modify code in vpopmail, qmail, courier-imap and qmail-pop3d to support larger quotas. -- Tom Collins - [EMAIL PROTECTED] Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/
Re: [vchkpw] vuserinfo and quota
Juliano Souza wrote: Nopes, I have only Courier-IMAP. Rick Macdougall escreveu: Juliano Souza wrote: I've upgraded my vpopmail to the last version, and the problem are the same. When I remove the maildirsize file from users Maildir directory sometimes solves the problem, but sounds weird. The vuserinfo program called the vpasswd.cdb to show the info about the user, right? I don't understand these bug, if it's a bug. That's fine as well. All I'm saying is that when you upgrade someone's quota, the maildir size file is not rebuilt unless 1) It doesn't exist (you remove it) 2) A new email is delivered 3) The account is popped or IMAPed (with courier-imap or qmail-pop3d patched) Regards, Rick
Re: [vchkpw] vuserinfo and quota
Nopes, I have only Courier-IMAP. Rick Macdougall escreveu: Juliano Souza wrote: I've upgraded my vpopmail to the last version, and the problem are the same. When I remove the maildirsize file from users Maildir directory sometimes solves the problem, but sounds weird. The vuserinfo program called the vpasswd.cdb to show the info about the user, right? I don't understand these bug, if it's a bug. Regards, Juliano Hi, Remove the maildirsize file after modifying the quota and re-run vuserinfo or wait until the user pops in or a new message arrives. Your qmail-pop3d is patched to support maildir++, correct ? Regards, Rick
Re: [vchkpw] vuserinfo and quota
Juliano Souza wrote: I've upgraded my vpopmail to the last version, and the problem are the same. When I remove the maildirsize file from users Maildir directory sometimes solves the problem, but sounds weird. The vuserinfo program called the vpasswd.cdb to show the info about the user, right? I don't understand these bug, if it's a bug. Regards, Juliano Hi, Remove the maildirsize file after modifying the quota and re-run vuserinfo or wait until the user pops in or a new message arrives. Your qmail-pop3d is patched to support maildir++, correct ? Regards, Rick
Re: [vchkpw] vuserinfo and quota
Reed L. O'Brien wrote: I have the same issue and posted teh other day. I have received no response (Not a complaint just a statement). I was considering filing a bug on sourceforge, but I haven't gotten around to it. BTW I am running a pretty modified version of qmailrocks on FC3 ~r My original posting to the list follows: It appears that any quota I set under 5gb is over quota, even if the mailbox is empty. Is this a known issue? Did I do something I don't know about? Am I missing something? oh, and either way qmailadmin shows the correct usage... vpopmail 5.4.13 FedoraCore3 Quota is a 32 bit signed int. Max size before it wraps is 2,147,483,647 or just around 2gb. Known bug and it is on the SF bug list I believe. Regards, Rick
Re: [vchkpw] vuserinfo and quota
I've upgraded my vpopmail to the last version, and the problem are the same. When I remove the maildirsize file from users Maildir directory sometimes solves the problem, but sounds weird. The vuserinfo program called the vpasswd.cdb to show the info about the user, right? I don't understand these bug, if it's a bug. Regards, Juliano But no Reed L. O'Brien escreveu: Juliano Souza wrote: When I set quota of any user, in vuserinfo program, the quota row are in 100% The user use only 500M, when I set to 1000M, the vuserinfo program give me 100% of usage. Any Help will be great! Cause the user receive the quota warn message and can't use email. My vpopmail version is version: 5.4.13. Thanks! Juliano I have the same issue and posted teh other day. I have received no response (Not a complaint just a statement). I was considering filing a bug on sourceforge, but I haven't gotten around to it. BTW I am running a pretty modified version of qmailrocks on FC3 ~r My original posting to the list follows: It appears that any quota I set under 5gb is over quota, even if the mailbox is empty. Is this a known issue? Did I do something I don't know about? Am I missing something? oh, and either way qmailadmin shows the correct usage... vpopmail 5.4.13 FedoraCore3 example: create new user: [EMAIL PROTECTED] vpopmail]# ./bin/vadduser [EMAIL PROTECTED] Please enter password for [EMAIL PROTECTED]: enter password again: look at info [EMAIL PROTECTED] vpopmail]# ./bin/vuserinfo [EMAIL PROTECTED] name: foo passwd: $1$s4RsoZAt$FN5VL0rFBIvB/PwVSbArN1 clear passwd: foo uid:1 gid:0 flags: 0 gecos: foo limits: No user limits set. dir: /home/vpopmail/domains/obscured_domain.com/foo quota: NOQUOTA usage: NOQUOTA account created: Fri Sep 22 12:08:46 2006 last auth: Never logged in set 4 GB quota [EMAIL PROTECTED] vpopmail]# ./bin/vsetuserquota [EMAIL PROTECTED] 4294967296 [EMAIL PROTECTED] vpopmail]# ./bin/vuserinfo [EMAIL PROTECTED] Wha? 100% usage in an empty maildiir?? name: foo passwd: $1$s4RsoZAt$FN5VL0rFBIvB/PwVSbArN1 clear passwd: foo uid:1 gid:0 flags: 0 gecos: foo limits: No user limits set. dir: /home/vpopmail/domains/obscured_domain.com/foo quota: 4294967296S usage: 100% account created: Fri Sep 22 12:08:46 2006 last auth: Never logged in set 5gb quotat [EMAIL PROTECTED] vpopmail]# ./bin/vsetuserquota [EMAIL PROTECTED] 5368709120 And 0% percent usage, that's bettter but I want 2gb... [EMAIL PROTECTED] vpopmail]# ./bin/vuserinfo [EMAIL PROTECTED] name: foo passwd: $1$s4RsoZAt$FN5VL0rFBIvB/PwVSbArN1 clear passwd: foo uid:1 gid:0 flags: 0 gecos: foo limits: No user limits set. dir: /home/vpopmail/domains/obscured_domain.com/foo quota: 5368709120S usage: 0% account created: Fri Sep 22 12:08:46 2006 last auth: Never logged in delete user [EMAIL PROTECTED] vpopmail]# ./bin/vdeluser [EMAIL PROTECTED] [EMAIL PROTECTED] vpopmail]# ./bin/vuserinfo [EMAIL PROTECTED] no such user [EMAIL PROTECTED]
Re: [vchkpw] vuserinfo and quota
Juliano Souza wrote: > When I set quota of any user, in vuserinfo program, the quota row are in > 100% > The user use only 500M, when I set to 1000M, the vuserinfo program give > me 100% of usage. > > Any Help will be great! Cause the user receive the quota warn message > and can't use email. > > My vpopmail version is version: 5.4.13. > > Thanks! > > Juliano I have the same issue and posted teh other day. I have received no response (Not a complaint just a statement). I was considering filing a bug on sourceforge, but I haven't gotten around to it. BTW I am running a pretty modified version of qmailrocks on FC3 ~r My original posting to the list follows: It appears that any quota I set under 5gb is over quota, even if the mailbox is empty. Is this a known issue? Did I do something I don't know about? Am I missing something? oh, and either way qmailadmin shows the correct usage... vpopmail 5.4.13 FedoraCore3 example: create new user: [EMAIL PROTECTED] vpopmail]# ./bin/vadduser [EMAIL PROTECTED] Please enter password for [EMAIL PROTECTED]: enter password again: look at info [EMAIL PROTECTED] vpopmail]# ./bin/vuserinfo [EMAIL PROTECTED] name: foo passwd: $1$s4RsoZAt$FN5VL0rFBIvB/PwVSbArN1 clear passwd: foo uid:1 gid:0 flags: 0 gecos: foo limits: No user limits set. dir: /home/vpopmail/domains/obscured_domain.com/foo quota: NOQUOTA usage: NOQUOTA account created: Fri Sep 22 12:08:46 2006 last auth: Never logged in set 4 GB quota [EMAIL PROTECTED] vpopmail]# ./bin/vsetuserquota [EMAIL PROTECTED] 4294967296 [EMAIL PROTECTED] vpopmail]# ./bin/vuserinfo [EMAIL PROTECTED] Wha? 100% usage in an empty maildiir?? name: foo passwd: $1$s4RsoZAt$FN5VL0rFBIvB/PwVSbArN1 clear passwd: foo uid:1 gid:0 flags: 0 gecos: foo limits: No user limits set. dir: /home/vpopmail/domains/obscured_domain.com/foo quota: 4294967296S usage: 100% account created: Fri Sep 22 12:08:46 2006 last auth: Never logged in set 5gb quotat [EMAIL PROTECTED] vpopmail]# ./bin/vsetuserquota [EMAIL PROTECTED] 5368709120 And 0% percent usage, that's bettter but I want 2gb... [EMAIL PROTECTED] vpopmail]# ./bin/vuserinfo [EMAIL PROTECTED] name: foo passwd: $1$s4RsoZAt$FN5VL0rFBIvB/PwVSbArN1 clear passwd: foo uid:1 gid:0 flags: 0 gecos: foo limits: No user limits set. dir: /home/vpopmail/domains/obscured_domain.com/foo quota: 5368709120S usage: 0% account created: Fri Sep 22 12:08:46 2006 last auth: Never logged in delete user [EMAIL PROTECTED] vpopmail]# ./bin/vdeluser [EMAIL PROTECTED] [EMAIL PROTECTED] vpopmail]# ./bin/vuserinfo [EMAIL PROTECTED] no such user [EMAIL PROTECTED]
[vchkpw] vuserinfo and quota
When I set quota of any user, in vuserinfo program, the quota row are in 100% The user use only 500M, when I set to 1000M, the vuserinfo program give me 100% of usage. Any Help will be great! Cause the user receive the quota warn message and can't use email. My vpopmail version is version: 5.4.13. Thanks! Juliano
Re: [vchkpw] vuserinfo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pauga, Olesa wrote: > I am installing vpopmail 5.4-13, and when I ran vuserinfo, it returns no > such user. > > > > I have the database all set up and the directory is also created via > vadduser. > > > > What could cause this? It seems as if you may have a misconfiguration somewhere. Take a look at http://qmailwiki.org/Vpopmail#One_of_my_users_can.27t_authenticate_via_POP3 > > > > Thanks in advance > - -- /* Matt Brookings <[EMAIL PROTECTED]> GnuPG Key B7B54216 Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFDjzhwhzYRRre1QhYRApmFAJ0ZmqUTqg6hWTj9lme1RsCuzVVVIgCdH9DE lilTZLm8vrRNdNSAhOzIt8k= =k59X -END PGP SIGNATURE-
[vchkpw] vuserinfo
I am installing vpopmail 5.4-13, and when I ran vuserinfo, it returns no such user. I have the database all set up and the directory is also created via vadduser. What could cause this? Thanks in advance
[vchkpw] vuserinfo Segmentation fault
I get this error: vuserinfo -D example.com vmysql: sql error[5]: Commands out of sync; You can't run this command now Segmentation fault What is? Thx Rick
RE: [vchkpw] vuserinfo
Thnx problem solved Regards, Rizwan Iqbal Malik -Original Message- From: Matt Brookings [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 4:27 PM To: vchkpw@inter7.com Subject: Re: [vchkpw] vuserinfo -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rizwan Iqbal Malik wrote: | yeah its cdb only but whts the solution If it's occuring only on a single domain, I'd suggest taking a look at the plaintext (not cdb) vpasswd file that is located under the domain directory. Open it up and look for the last user that vuserinfo displays. If there's a corruption, the next user entry should be the line that contains it. | | | Regards, | Rizwan Iqbal Malik | | -Original Message- | From: Matt Brookings [mailto:[EMAIL PROTECTED] | Sent: Wednesday, June 29, 2005 3:14 PM | To: vchkpw@inter7.com | Subject: Re: [vchkpw] vuserinfo | | Rizwan Iqbal Malik wrote: | | Dear all, | | | | | | When I do ./vserinfo -D domainname its showing users starting with | alphabet | | "a" to "m"(we use vqadmin to manage users and as a result can see | | users uptill "m"only ) and not others but these other users have | | their mailboxes working properly and when I do ./vuserinfo | | [EMAIL PROTECTED] for | users not | | listed above its showing the info for those users.any body got any | | ideas whts happening here. | | Just throwing a guess out, if your backend authentication method is | cdb, there may be a corruption in the vpasswd file after the 'm' users. | | | | | Regards | | Rizwan Iqbal AMlik | | | | | | | | | | | | | | | | | | | -- | /* | ~Matt Brookings <[EMAIL PROTECTED]> GnuPG Key 7D7E5F37 | ~Software developer Systems technician | ~Inter7 Internet Technologies, Inc. (815)776-9465 | */ - -- /* ~Matt Brookings <[EMAIL PROTECTED]> GnuPG Key 7D7E5F37 ~Software developer Systems technician ~Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCwn55/pZz8n1+XzcRArk0AJ9+x9QSODYEEvzp0LRplFLi+/+iyQCgqFMd bJ1hJwprS3k7tPu5Jt8pNfY= =P+D0 -END PGP SIGNATURE-
Re: [vchkpw] vuserinfo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rizwan Iqbal Malik wrote: | yeah its cdb only but whts the solution If it's occuring only on a single domain, I'd suggest taking a look at the plaintext (not cdb) vpasswd file that is located under the domain directory. Open it up and look for the last user that vuserinfo displays. If there's a corruption, the next user entry should be the line that contains it. | | | Regards, | Rizwan Iqbal Malik | | -Original Message- | From: Matt Brookings [mailto:[EMAIL PROTECTED] | Sent: Wednesday, June 29, 2005 3:14 PM | To: vchkpw@inter7.com | Subject: Re: [vchkpw] vuserinfo | | Rizwan Iqbal Malik wrote: | | Dear all, | | | | | | When I do ./vserinfo -D domainname its showing users starting with | alphabet | | "a" to "m"(we use vqadmin to manage users and as a result can see | | users uptill "m"only ) and not others but these other users have their | | mailboxes working properly and when I do ./vuserinfo | | [EMAIL PROTECTED] for | users not | | listed above its showing the info for those users.any body got any | | ideas whts happening here. | | Just throwing a guess out, if your backend authentication method is cdb, | there may be a corruption in the vpasswd file after the 'm' users. | | | | | Regards | | Rizwan Iqbal AMlik | | | | | | | | | | | | | | | | | | | -- | /* | ~Matt Brookings <[EMAIL PROTECTED]> GnuPG Key 7D7E5F37 | ~Software developer Systems technician | ~Inter7 Internet Technologies, Inc. (815)776-9465 | */ - -- /* ~Matt Brookings <[EMAIL PROTECTED]> GnuPG Key 7D7E5F37 ~Software developer Systems technician ~Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCwn55/pZz8n1+XzcRArk0AJ9+x9QSODYEEvzp0LRplFLi+/+iyQCgqFMd bJ1hJwprS3k7tPu5Jt8pNfY= =P+D0 -END PGP SIGNATURE-
RE: [vchkpw] vuserinfo
yeah its cdb only but whts the solution Regards, Rizwan Iqbal Malik -Original Message- From: Matt Brookings [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 3:14 PM To: vchkpw@inter7.com Subject: Re: [vchkpw] vuserinfo -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rizwan Iqbal Malik wrote: | Dear all, | | | When I do ./vserinfo -D domainname its showing users starting with alphabet | "a" to "m"(we use vqadmin to manage users and as a result can see | users uptill "m"only ) and not others but these other users have their | mailboxes working properly and when I do ./vuserinfo | [EMAIL PROTECTED] for users not | listed above its showing the info for those users.any body got any | ideas whts happening here. Just throwing a guess out, if your backend authentication method is cdb, there may be a corruption in the vpasswd file after the 'm' users. | | Regards | Rizwan Iqbal AMlik | | | | | | | | - -- /* ~Matt Brookings <[EMAIL PROTECTED]> GnuPG Key 7D7E5F37 ~Software developer Systems technician ~Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCwm13/pZz8n1+XzcRAgryAJ9pJWQ2yfmvvAkZ1b3ehCgYZ4Fw9QCglkxj 2ci3OHWFfCLHp3CDCuTt+QY= =arsa -END PGP SIGNATURE-
Re: [vchkpw] vuserinfo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rizwan Iqbal Malik wrote: | Dear all, | | | When I do ./vserinfo -D domainname its showing users starting with alphabet | "a" to "m"(we use vqadmin to manage users and as a result can see users | uptill "m"only ) and not others but these other users have their mailboxes | working properly and when I do ./vuserinfo [EMAIL PROTECTED] for users not | listed above its showing the info for those users.any body got any ideas | whts happening here. Just throwing a guess out, if your backend authentication method is cdb, there may be a corruption in the vpasswd file after the 'm' users. | | Regards | Rizwan Iqbal AMlik | | | | | | | | - -- /* ~Matt Brookings <[EMAIL PROTECTED]> GnuPG Key 7D7E5F37 ~Software developer Systems technician ~Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCwm13/pZz8n1+XzcRAgryAJ9pJWQ2yfmvvAkZ1b3ehCgYZ4Fw9QCglkxj 2ci3OHWFfCLHp3CDCuTt+QY= =arsa -END PGP SIGNATURE-
[vchkpw] vuserinfo
Dear all, When I do ./vserinfo -D domainname its showing users starting with alphabet "a" to "m"(we use vqadmin to manage users and as a result can see users uptill "m"only ) and not others but these other users have their mailboxes working properly and when I do ./vuserinfo [EMAIL PROTECTED] for users not listed above its showing the info for those users.any body got any ideas whts happening here. Regards Rizwan Iqbal AMlik
[vchkpw] vuserinfo
Dear all, When I do ./vserinfo -D domainname its showing users starting with alphabet "a" to "m"(we use vqadmin to manage users and as a result can see users uptill "m"only ) and not others but these other users have their mailboxes working properly and when I do ./vuserinfo [EMAIL PROTECTED] for users not listed above its showing the info for those users.any body got any ideas whts happening here. Regards Rizwan Iqbal AMlik Regards, Rizwan Iqbal Malik Network Mgt Team Data Centre Jammu & Kashmir Bank 508 Ext 137 -Original Message- From: Matt Brookings [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 28, 2005 10:26 PM To: vchkpw@inter7.com Subject: [vchkpw] Inter7 announces eMail Messaging Policy Framework (eMPF) open-beta -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, everybody! eMPF allows mail administrators to set messaging policies for their local mail users by stating who can message who, and who cant message who, and by setting domain-wide policies along with exceptions to that policy. This patch will of course be GPL, however, because of the nature of the patch, we are not releasing it for immediate download. If you are interested in signing up for the open-beta, please be aware of the following requirements: Technically savvy enough to apply the patch, and compile with some very basic instructions A willingness to provide some feedback on problems encountered, pros & cons, and implementation ideas At least one mail server which sends and receives mail for both internal and external (accounts not hosted locally on the server) users As an open-beta user, you should also be aware of the following thing: This software is beta, and though we've done our best to test it internally for any problems, it could break. Because we arent making the software immediately available for download just yet, we kindly ask open-beta testers not to re-distribute the patch to others. However, feel free to pass this message on to other administrators who may be interested in being a part of the beta test. If you're still interested, please subscribe to the eMPF mailing list by sending an email to [EMAIL PROTECTED], and then send a short message to the list with basic information about the mail server(s) you wish to apply the patch to (number of user accounts, approximate mail volume, etc). If you're just interested in the development of eMPF, you may of course subscribe to the list as well. You arent required to take place in the beta. Thanks! - -- /* ~Matt Brookings <[EMAIL PROTECTED]> GnuPG Key 7D7E5F37 ~Software developer Systems technician ~Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCwYEG/pZz8n1+XzcRAmNuAJ9Mu1TOLIyEcxCOOrB3wDfoKH1sAgCfSw/c 0qqfi1qcr439rXUMEeH0uN0= =EVq2 -END PGP SIGNATURE-
[vchkpw] vuserinfo setuid
Hello! Why vuserinfo make setuid call to user - owner of domain? For example users/assign: > +somedomain-:somedomain:10001:10001:/mail/somedomain:-:: Results of strace: > setgid32(10001) = 0 > setuid32(10001) = 0 > open("/usr/local/vpopmail/etc/vpopmail.mysql", O_RDONLY) = -1 EACCES (Permission > denied) As result, vpopmail can't reach domain settings. Thanks.
Re: [vchkpw] vuserinfo quotas delay
Alex Borges wrote: I have a vpopmail+qmail Vpopmail has been upgraded to 5.2.1 and well... i send a large email to an account and it gets there fine...BUT vuserinfo does not report the usage increase correctly i assume some quota file is corrupt or something... What can i do to fix this? A lot of issues were fixed in 5.2.2 or, even in 5.4.3 (Which is the new stable, 5.5.0 is the new development.). You could try those. If anything, just go to the users Maildir, and delete the quota file, and recreate it with vusermod, or whatever that one tool is called (I am at school, sorry). X-Istence
[vchkpw] vuserinfo quotas delay
I have a vpopmail+qmail Vpopmail has been upgraded to 5.2.1 and well... i send a large email to an account and it gets there fine...BUT vuserinfo does not report the usage increase correctly i assume some quota file is corrupt or something... What can i do to fix this?
Re: [vchkpw] vuserinfo problems
On Tuesday 14 October 2003 22:41, Abdul Mahzeer wrote: > Hi all, > > I've been using vpopmail for awhile now in conjunction with qmail and > recently i've been trying use vpopmails vuserinfo utility. When i > type "vuserinfo -Q [EMAIL PROTECTED]" it gives me an output that says > 0%. It is my understanding that the -Q option displays quota usage, > and i know that this user has over 500 messages (all are marked > unread) in his box yet it says that 0% of his quota is used (which > happens to be 20MB). My question to you guys is what constitutes a > user's quota? Is vuserinfo the wrong utility to use to determine how > much of a user's quota remains? no, it should do list the quota.. # ~vpopmail/bin/vuserinfo -Q [EMAIL PROTECTED] 2% is shown at my box (vpopmail-devel-5.3.29-cvs), for a test user with a 100Kb quota, after i sent him a 2kb message. habe a look at this file: ~vpopmail/domains/mydomain.com/user/Maildir/maildirsize what does it show in your case? also, which vpopmail version are you using? -- Mit internetten Grüßen / Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
[vchkpw] vuserinfo problems
Hi all, I've been using vpopmail for awhile now in conjunction with qmail and recently i've been trying use vpopmails vuserinfo utility. When i type "vuserinfo -Q [EMAIL PROTECTED]" it gives me an output that says 0%. It is my understanding that the -Q option displays quota usage, and i know that this user has over 500 messages (all are marked unread) in his box yet it says that 0% of his quota is used (which happens to be 20MB). My question to you guys is what constitutes a user's quota? Is vuserinfo the wrong utility to use to determine how much of a user's quota remains? Any help at all would be greatly appreciated, Abdul _ Surf and talk on the phone at the same time with broadband Internet access. Get high-speed for as low as $29.95/month (depending on the local service providers in your area). https://broadband.msn.com
Re: [vchkpw] vuserinfo
Hi [EMAIL PROTECTED], On Mon, 31 Mar 2003 15:31:23 +0200 (CEST) [EMAIL PROTECTED] wrote: > I'm using qmail+vpopmail and I have a problem with the vuserinfo: the > command is not giving back any information when I type > > ./vuserinfo [EMAIL PROTECTED] > > I've straced the vuserinfo command. In the end of the strace output, I > can see that vuserinfo tries to load a vpasswd from the directory > /home/vpopmail/user/vpasswd, but this directory doesn't exist... So > I've tried to make a link in this dir, but this would work only for one > domain, and there are many. > > Does anybody have an idea how to tell vuserinfo to open the vpasswd > from the domaindir?? Two things: 1.) Don't you think it could be _VERY_ useful if you'd include the versions of software you're using, especially vpopmail version? I hope you do and just forgotten it because your problem is _so_ important you had to drop the note immediately. 2.) Guess why this list is archived. http://www.mail-archive.com/[EMAIL PROTECTED]/msg11972.html should give you an idea about the "work around solution" to your problem. -- Peter
[vchkpw] vuserinfo
Hi Folks, I'm using qmail+vpopmail and I have a problem with the vuserinfo: the command is not giving back any information when I type ./vuserinfo [EMAIL PROTECTED] I've straced the vuserinfo command. In the end of the strace output, I can see that vuserinfo tries to load a vpasswd from the directory /home/vpopmail/user/vpasswd, but this directory doesn't exist... So I've tried to make a link in this dir, but this would work only for one domain, and there are many. Does anybody have an idea how to tell vuserinfo to open the vpasswd from the domaindir??
[vchkpw] ./vuserinfo gives no output
hello sorry If I already posted this, but I didn't see the post coming back to me. I run qmail and vpopmail. if I perform a ./vuserinfo [EMAIL PROTECTED] nothing is spit out: the call ends with: open("/var/qmail/users/cdb", O_RDONLY) = 3 lseek(3, 328, SEEK_SET) = 328 read(3, "\30\23\0\0\0\0\0\0", 8)= 8 close(3)= 0 getpid()= 12338 getpid()= 12338 open("/var/vpopmail/users/vpasswd", O_RDONLY) = -1 ENOENT (No such file or directory) but this is the same for every domain. and all the domains are in /var/vpopmail/domains/domainX1.com /var/vpopmail/domains/domainX2.com /var/vpopmail/domains/domainX3.com why the hell vpopmail tries to find vpasswd in there? there is a way to tell it to look at the subdir of the domain I request info about? I could set a softlink but pointing only to one domain the same call for another domain ends always like the one above, searching for a unique non existent file. thank you Nicola
[vchkpw] vuserinfo not refresing
vuserinfo seems like not refreshing the value, why I said that .. because I checked the user's quota by running /home/vpopmail/bin/vuserinfo [EMAIL PROTECTED] .. it shown the old value .(97%) .. although all emails have been received and there is no any email there .. many thanks fo any helps .. Regards Winan
Re: [vchkpw] vuserinfo not working as expected
This is an old thread but I didn't seen an answer. I currently have a domain example.com that is an alias domain of foobar.com and when vuserinfo -d [EMAIL PROTECTED] is used I get "no such user [EMAIL PROTECTED]" I have about 100 alias domains so this is a cumbersome processes. Any tips would be helpful. -Ryan > Hi- > > I'm running vpopmail-5.2.1 with the seekable patch on qmail 1.03 from Bruce > Guenter. I am also using SpamAssassin. In order for SpamAssassin to find > a user's vpop directory, I have a maildrop script (the one that comes with > SpamAssassin) which runs '~vpopmail/bin/vuserinfo -d $EXT@$HOST' (among > other things). > > Now, vuserinfo works fine if given an address like [EMAIL PROTECTED], but if the > user has supplied an extension address of the form [EMAIL PROTECTED] (which > vdelivermail would deliver to [EMAIL PROTECTED]) vuserinfo returns the 'no such > user [EMAIL PROTECTED]' error. So it appears that vuserinfo isn't resolving > the extension address into its corresponding real username. > > I know I could replace $EXT with just $EXT1 in my maildrop script, but then > a user with the real username abc-xyz would have problems. I searched the > archives, but couldn't find a patch or workaround. Please let me know if > you know of one. > > Thanks. > > -Russ > > > >