[vchkpw] vQregister not same as vadduser
When using vadduser from command line, it creates the user folders and copies everything from the skel folder (Maildir; mailfilter; .qmail) to the user folder; but when a user is created from the vqregister cgi only the Maildir is copied. The vpopmail.c file includes the line: ret = vadduser(user, domain, password, fname, USE_POP); Which I was hoping implies that vqregister uses vpopmail's vadduser to create users and would act the same. Could someone explain the difference and/or how to get the same result from vqregister? Vpopmail-5.4.30; vqregister-2.5 (and if pertinent: simscan-1.4.0; maildrop-2.5.0; qmail-1.03 with the jms1-7.10 patch; dovecot-1.2.16) Thanks Mark !DSPAM:4df288a732711139326078!
Re: [vchkpw] vQregister not same as vadduser
Try using vqadmin. From: Mark Dennis [mailto:m...@denntech.net] Sent: Friday, June 10, 2011 02:11 PM To: vchkpw@inter7.com vchkpw@inter7.com Subject: [vchkpw] vQregister not same as vadduser When using vadduser from command line, it creates the user folders and copies everything from the skel folder (Maildir; mailfilter; .qmail) to the user folder; but when a user is created from the vqregister cgi only the Maildir is copied. The vpopmail.c file includes the line: ret = vadduser(user, domain, password, fname, USE_POP); Which I was hoping implies that vqregister uses vpopmail’s vadduser to create users and would act the same. Could someone explain the difference and/or how to get the same result from vqregister? Vpopmail-5.4.30; vqregister-2.5 (and if pertinent: simscan-1.4.0; maildr op-2.5.0; qmail-1.03 with the jms1-7.10 patch; dovecot-1.2.16) Thanks Mark !DSPAM:4df28b6432711384415593!
Re: [vchkpw] vQregister not same as vadduser
On 6/10/2011 4:11 PM, Mark Dennis wrote: When using vadduser from command line, it creates the user folders and copies everything from the skel folder (Maildir; mailfilter; .qmail) to the user folder; but when a user is created from the vqregister cgi only the Maildir is copied. The vpopmail.c file includes the line: ret = vadduser(user, domain, password, fname, USE_POP); Which I was hoping implies that vqregister uses vpopmail’s vadduser to create users and would act the same. Could someone explain the difference and/or how to get the same result from vqregister? It's likely your vpopmail version is newer (including the onchange functionality to implement a skel) than the version that was used to compile vQregister. vpopmail 5.4 and below produce only static libraries. If you upgrade vpopmail, you need to recompile any programs that you want to benefit from the upgrade. Try recompiling vQregister and see if that fixes the problem. -- /* Matt Brookings m...@inter7.com GnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */
RE: [vchkpw] vQregister not same as vadduser
Vqadmin (2.3.6) works the same as vqregister, copying just the Maildir; although qmailadmin (1.2.14) also copies the .qmail file, but not mailfilter. From: Tren Blackburn [mailto:t...@eotnetworks.com] Sent: Friday, June 10, 2011 2:25 PM To: 'vchkpw@inter7.com' Subject: Re: [vchkpw] vQregister not same as vadduser Try using vqadmin. From: Mark Dennis [mailto:m...@denntech.net] Sent: Friday, June 10, 2011 02:11 PM To: vchkpw@inter7.com vchkpw@inter7.com Subject: [vchkpw] vQregister not same as vadduser When using vadduser from command line, it creates the user folders and copies everything from the skel folder (Maildir; mailfilter; .qmail) to the user folder; but when a user is created from the vqregister cgi only the Maildir is copied. The vpopmail.c file includes the line: ret = vadduser(user, domain, password, fname, USE_POP); Which I was hoping implies that vqregister uses vpopmail’s vadduser to create users and would act the same. Could someone explain the difference and/or how to get the same result from vqregister? Vpopmail-5.4.30; vqregister-2.5 (and if pertinent: simscan-1.4.0; maildr op-2.5.0; qmail-1.03 with the jms1-7.10 patch; dovecot-1.2.16) Thanks Mark !DSPAM:4df2976532711224597122!
Re: [vchkpw] vQregister not same as vadduser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/10/2011 05:19 PM, Mark Dennis wrote: This is a new install of qmail; vpopmail etc. vQregister was installed after vpopmail; and has been recompiled a couple of times. Other ideas? Permissions on the onchange scripts and skel dir maybe? Check the Apache error log. vpopmail outputs onchange errors to stderr. - -- /* Matt Brookings m...@inter7.com GnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3ymWAACgkQIwet2/rgZyztXwCfSUuBBAblV8fhRRPxoV6RmHEl e1IAn3ZMERi167e2wdaKLqOAiH6IIqZw =imCM -END PGP SIGNATURE-
RE: [vchkpw] vQregister not same as vadduser
Everything under /home/vpopmail has owner.group: vpopmail.vchkpw ...as is everything under cgi-bin/vqregister and the resulting user directory. onchange permissions: 751 skel: 700 skel/Maildir: 700 skel/mailfilter: 600 skel/.qmail: 600 But you were right: httpd/error_log shows Permission denied for vqregister.cgi That doesn't make sense to me with the above settings. What am I missing? -Original Message- From: Matt Brookings [mailto:m...@inter7.com] Sent: Friday, June 10, 2011 3:24 PM To: vchkpw@inter7.com Subject: Re: [vchkpw] vQregister not same as vadduser -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/10/2011 05:19 PM, Mark Dennis wrote: This is a new install of qmail; vpopmail etc. vQregister was installed after vpopmail; and has been recompiled a couple of times. Other ideas? Permissions on the onchange scripts and skel dir maybe? Check the Apache error log. vpopmail outputs onchange errors to stderr. - -- /* Matt Brookings m...@inter7.com GnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ !DSPAM:4df2a01732711090416749!
Re: [vchkpw] vQregister not same as vadduser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/10/2011 05:51 PM, Mark Dennis wrote: But you were right: httpd/error_log shows Permission denied for vqregister.cgi That doesn't make sense to me with the above settings. What am I missing? I'd need to see the actual log line to have any idea. - -- /* Matt Brookings m...@inter7.com GnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3yoIcACgkQIwet2/rgZyxP7wCaA/bdTtk2OEWTXvoyR/cPfreg fi0AniyLp9yOsGaXaWki/C0LGG0vLgBw =13r2 -END PGP SIGNATURE-
RE: [vchkpw] vQregister not same as vadduser
[Fri Jun 10 15:28:29 2011] [error] [client 71.83.80.18] /bin/sh: /home/vpopmail/etc/onchange: Permission denied, referer: http://ems.emailrd.com/cgi-bin/vqregister/vqregister.cgi -Original Message- I'd need to see the actual log line to have any idea. !DSPAM:4df2a17132719592421395!
Re: [vchkpw] vQregister not same as vadduser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/10/2011 05:57 PM, Mark Dennis wrote: [Fri Jun 10 15:28:29 2011] [error] [client 71.83.80.18] /bin/sh: /home/vpopmail/etc/onchange: Permission denied, referer: http://ems.emailrd.com/cgi-bin/vqregister/vqregister.cgi Is vQregister running SUID and SGID, and is Apache allowing the suExec? Since you know it's a permissions problem now, you should be able to trace the path. I'm heading out of the office now. If you still can't figure it out, look for a second set of eyes, or, we're on-call 24/7 at the number in my signature. Good luck! - -- /* Matt Brookings m...@inter7.com GnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3yosYACgkQIwet2/rgZywVRgCcDFShJbnoJR8lSmGmNS8k50HA bm4AnjJfBvSDuzptaBVdJj9UOzxGjOsR =hP9M -END PGP SIGNATURE-