Re: [vchkpw] RE:(2) [vchkpw] Script for users to delete their own account
- Original Message - From: Shane Chrisp [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, August 30, 2003 11:45 PM Subject: RE: [vchkpw] RE:(2) [vchkpw] Script for users to delete their own account I think the following would be sufficient. 1. Auth the user against the database using their email/passwd 2. Change the last auth value to a year ago. 3. Display a message that they have until the next quarter hour to change their mind about deleting their account, and if they decide to keep it, to pop into their mailbox. 4. cron the vdeloldusers to run at */15. Can you think of anything I have missed? Shane Cool. I think it would work. Is that vdelolduser uses lastauth to determine whether user old enough to delete? I got some users who haven't logged but when I use vdelolduser, they are not in the deletion list. Qing.
Re: [vchkpw] RE:(2) [vchkpw] Script for users to delete their ownaccount
The default is 6 months for vdelolduser. Perhaps thats the problem or maybe you are not logging lastauth at all? Evren On Sun, 31 Aug 2003, QingYan wrote: - Original Message - From: Shane Chrisp [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, August 30, 2003 11:45 PM Subject: RE: [vchkpw] RE:(2) [vchkpw] Script for users to delete their own account I think the following would be sufficient. 1. Auth the user against the database using their email/passwd 2. Change the last auth value to a year ago. 3. Display a message that they have until the next quarter hour to change their mind about deleting their account, and if they decide to keep it, to pop into their mailbox. 4. cron the vdeloldusers to run at */15. Can you think of anything I have missed? Shane Cool. I think it would work. Is that vdelolduser uses lastauth to determine whether user old enough to delete? I got some users who haven't logged but when I use vdelolduser, they are not in the deletion list. Qing.
RE: [vchkpw] User delete/change pass php page
quite nice. but is this for large site layout or? Evren On Sun, 31 Aug 2003, Shane Chrisp wrote: A url would help I guess... :-) http://www.cwispy.com/software/vpopmail_user.tar.gz Following on from the thread in the last couple of days, I have put together a php page to allow a user to change their own password and also allow the user to choose to delete their own account, using this in association with the vdelolduser utility. I am also working on php pages that do similar things to what qmailadmin and vqadmin currently do.
RE: [vchkpw] User delete/change pass php page
Please only reply to the list only, I am subscribed. It could be used on any size site. You could just copy the code into an existing page if you wanted to, or just edit the html at the bottom of the page to make it look and feel like your own site. As long as the variables and php is left untouched, there shouldn't be any problems. I sorta did it more to see if it could be done to start with, and now that I know its possible, its time to put more thought into how it should be structured. Shane -Original Message- From: Evren Yurtesen [mailto:[EMAIL PROTECTED] Sent: Sunday, 31 August 2003 9:19 PM To: Shane Chrisp Cc: [EMAIL PROTECTED] Subject: RE: [vchkpw] User delete/change pass php page quite nice. but is this for large site layout or? Evren On Sun, 31 Aug 2003, Shane Chrisp wrote: A url would help I guess... :-) http://www.cwispy.com/software/vpopmail_user.tar.gz Following on from the thread in the last couple of days, I have put together a php page to allow a user to change their own password and also allow the user to choose to delete their own account, using this in association with the vdelolduser utility. I am also working on php pages that do similar things to what qmailadmin and vqadmin currently do.
RE: [vchkpw] User delete/change pass php page
A url would help I guess... :-) http://www.cwispy.com/software/vpopmail_user.tar.gz Following on from the thread in the last couple of days, I have put together a php page to allow a user to change their own password and also allow the user to choose to delete their own account, using this in association with the vdelolduser utility. I am also working on php pages that do similar things to what qmailadmin and vqadmin currently do.
Re: [vchkpw] 5.3.26 error with chkusr patch + mysql
Shane, I did not try the last versions of vpopmail. It looks like function vget_real_domain does not exists anymore. Try commenting out these lines of code, and please let me know. /* Check if domain is a real domain */ /* if (!stralloc_0 (domain)) die_nomem(); vget_real_domain(domain.s, domain.a); domain.len = strlen (domain.s); if (domain.len (domain.a - 1)) die_nomem(); */ /* Let's get domain's real path */ Tonino At 01/09/03 01/09/03 +0800, Shane Chrisp wrote: Im setting up a new system and I found that there is an error when trying to use the chkusr patch with the latest version. Below is the error from qmail. I tried compiling again with 5.3.24 successfully so I then tried 5.3.25 and that failed also, with the same error. ./load qmail-smtpd qregex.o rcpthosts.o commands.o timeoutread.o \ timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \ received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \ datetime.a getln.a open.a sig.a case.a env.a stralloc.a \ alloc.a substdio.a error.a str.a fs.a auto_qmail.o base64.o `cat \ socket.lib` -lssl -lcrypto dns.o `cat dns.lib` -lcrypt \ `head -1 conf-vpopmail`/lib/libvpopmail.a \ /usr/lib/mysql/libmysqlclient.a -lz qmail-smtpd.o: In function `realrcpt_check': qmail-smtpd.o(.text+0xf29): undefined reference to `vget_real_domain' collect2: ld returned 1 exit status make: *** [qmail-smtpd] Error 1 Regards Shane [EMAIL PROTECTED] Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED]