Re: [qmailadmin] autoresponder problems in qmailadmin
I can see the problem in the source code I have opened a bug report for this on the qmailadmin sourceforge site Ticket number is 1156349 Michael - Original Message - From: Jeff Koch [EMAIL PROTECTED] Hi Jeremy: Thanks for responding. The problem I am having with autoresponder is identical to that reported by Daniel Roy in the qmailadmin list archives: http://www.mail-archive.com/qmailadmin@inter7.com/msg05514.html He indicates that it exists with autoresponder 2.0.2 and 2.0.4 and was only solved by modifying the source code to remove the double return characters. I tried to make the same mod but could not find the location in the source code to make the change. I also cannot get Daniel Roy's email address to ask him. At 02:20 AM 9/22/2004, you wrote: On Tuesday 21 September 2004 10:03 pm, Jeff Koch wrote: It been a while since we've used the autoresponder in qmailadmin. We're using v1.2.0 and the autoresponder seems to act really weird. It responds to emails with an email reply showing Re: on the subject line and then puts the response From address and Subject and body text in a new section. Here's an example: [snip]
Re: [qmailadmin] Password encryption
- Original Message - From: [EMAIL PROTECTED] I am still unable to determine how my mail server is encrypting passwords. An example encrypted password is: $1$AaAkCUIr$tq.YJ2hHJDQ56Zbgg83eh1 I need to be able to query the mysql db to authenticate the user via the encrypted password above. Please help I have compiled some information on this subject here : http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#CREATE_MAILBOX_VIA_SQL Michael.
Re: [qmailadmin] Qmailadmin installation problems with LDAP support
I tested this and duplicated the error you report Then I tested using vpopmail-5.3.30 and qmailadmin-1.0.29, and found that error doesnt occur with that combination I would recommend you upgrade to vpopmail-5.3.30 / qmailadmin-1.0.29, as they contain many new features and bug fixes, and are close to being marked as the new stable release Michael. - Original Message - From: Timo Virtaneva [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 07, 2003 9:45 AM Subject: [qmailadmin] Qmailadmin installation problems with LDAP support Hi I hope that someone is able to help me. I want to use LDAP with vpopmail and qmailadmin. The Vpopmail seems to work OK and I can create domains and users to the LDAP database. When I'm compiling the qmailadmin (ver qmailadmin-1.0.6 ), I get following errors. I don't know what to define and where to get the qmailadmin compiled. gcc -g -O2 -o qmailadmin qmailadmin.o alias.o autorespond.o forward.o mailinglist.o user.o util.o auth.o template.o command.o show.o cgi.o limits.o dotqmail.o -lnsl -lm -lcrypt qmailadmin.o(.text+0xcf): In function `main': /usr/local/src/qmailadmin-1.0.6/qmailadmin.c:240: undefined reference to `vclose' qmailadmin.o(.text+0x14d):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:199: undefined reference to `vget_assign' qmailadmin.o(.text+0x195):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:210: undefined reference to `vauth_user' qmailadmin.o(.text+0x234):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:231: undefined reference to `vget_assign' qmailadmin.o(.text+0x257):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:234: undefined reference to `vclose' qmailadmin.o(.text+0x3ff):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:175: undefined reference to `vget_assign' qmailadmin.o(.text+0x45a):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:180: undefined reference to `vclose' qmailadmin.o(.text+0x578):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:133: undefined reference to `vauth_getpw' qmailadmin.o(.text+0x59a):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:136: undefined reference to `vget_assign' I have compiled the qmailadmin-1.0.6 with following options ./configure \ --enable-htmldir=/var/www/qmailadmin/html \ --enable-cgibindir=/var/www/qmailadmin/html/cgi \ --enable-cgipath=/cgi/qmailadmin.cgi \ --enable-no-cache=y I have compiled the vpopmail-5.2.2 with following options vpopmail-5.2.2 ./configure \ --enable-roaming-users=y \ --enable-default-domain=pp.netsol.fi \ [EMAIL PROTECTED] \ --enable-relay-clear-minutes=360 \ --enable-logging=p \ --enable-defaultquota=2000S \ --enable-ip-alias-domains=n \ --enable-passwd=n \ --enable-clear-passwd=y \ --enable-ldap=y Best Regards Timo Virtaneva
Re: [qmailadmin] Managing accounts problem
I would recommend you upgrade your qmailadmin to latest devel version 1.0.28 Michael. - Original Message - From: Ron Dyck [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 21, 2003 5:11 AM Subject: [qmailadmin] Managing accounts problem I've just installed QmailAdmin 1.0.6 and vpopmail-5.3.29 and ezmlm-0.53-idx-0.41 on RedHat 9. Vpopmail is configured with mysql. I'm able to successfully add/remove domains and users from the command line in vpopmail. When I attempt to add a 'New Email Account' in QmailAdmin, I get a 500 Internal Server Error. When I attempt to view 'Email Account's I get and empty screen. The other links New Forwards, New Mail Robot, New Mailing List etc seem to work fine though. Any help would be appreciated. ron == Ron Dyck Webbtech www.webbtech.net ==
Re: [qmailadmin] reg: quota support
Inter7 has not kept their download page up to date, and refuses to simply point to the SourceForge download page. The links on the inter7.com development page (http://www.inter7.com/develop.html) do point to sourceforge But the versions quoted on the mail vpopmail page (http://www.inter7.com/vpopmail.html) are pretty out of date Michael Bowe (B.App.Sc) PIPELINE INTERNET 96 Pakington Street, Geelong West. VIC. 3218 Tel (03) 5229 7643 Fax (03) 5229 0282 Mobile 0419 242 136 http://www.pipeline.com.au/
Re: [qmailadmin] weird symbol problem
After upgrading vpopmail, you will need to return to your qmailadmin source dir, to do : make clean then re-run configure then make then make-install strip Michael. - Original Message - From: Jacky Lai [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 17, 2003 10:13 AM Subject: Re: [qmailadmin] weird symbol problem I've upgrade to vpopmail 5.3.28, recompile and restore the domain directory. But on the qmailadmin main page it still says i have 5.3.26 installed and i can still see the symbol. What went wrong? Thx! - Original Message - From: Michael Bowe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 16, 2003 2:15 PM Subject: Re: [qmailadmin] weird symbol problem No, you do not need to re-add the users after upgrading Michael. - Original Message - From: Jacky Lai [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 17, 2003 7:09 AM Subject: Re: [qmailadmin] weird symbol problem Do i have to re-add all the users after i upgrade to new version of vpopmail? Thx! - Original Message - From: Michael Bowe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 7:10 PM Subject: Re: [qmailadmin] weird symbol problem There was a bug in vpopmail-5.3.26 which affected usernames in qmailadmin I would suggest you update to vpopmail-5.3.28 (www.sourceforge.net/projects/vpopmail) You might also want to consider grabbing the latest qmailadmin (www.sourceforge.net/projects/qmailadmin) Michael. - Original Message - From: Jacky Lai [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 16, 2003 11:48 AM Subject: [qmailadmin] weird symbol problem Hi all, I have qmailadmin 1.0.6 installed with vpopmail 5.3.26. When i view the all the email accounts the first email account's name is displaying in weird symbol like this: `¾ btest ctest dtest If i add a new email account call 1test, it will like like this: `¾ atest btest ctest dtest It seems there's something wrong displaying the first account. Any suggestions? Thank you very much! Jacky
Re: [qmailadmin] weird symbol problem
There was a bug in vpopmail-5.3.26 which affected usernames in qmailadmin I would suggest you update to vpopmail-5.3.28 (www.sourceforge.net/projects/vpopmail) You might also want to consider grabbing the latest qmailadmin (www.sourceforge.net/projects/qmailadmin) Michael. - Original Message - From: Jacky Lai [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 16, 2003 11:48 AM Subject: [qmailadmin] weird symbol problem Hi all, I have qmailadmin 1.0.6 installed with vpopmail 5.3.26. When i view the all the email accounts the first email account's name is displaying in weird symbol like this: `¾ btest ctest dtest If i add a new email account call 1test, it will like like this: `¾ atest btest ctest dtest It seems there's something wrong displaying the first account. Any suggestions? Thank you very much! Jacky
Re: [qmailadmin] SMTP probelm
You should not be using the Osirusoft RBL list any more, as it was recently closed down. The admin there has configured any use of this RBL to return a positive result, in an effort to force people to remove this RBL from their config The wording of that error message suggests you used my guide to build your server. If this is the case, the file you need to update is : /var/qmail/supervise/qmail-smtpd/run Michael. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 15, 2003 4:40 AM Subject: [qmailadmin] SMTP probelm hi, i have installed qmail with vpopmail on redhat linux 8. i have setup a domain palcominfotech.net. i am able to send and receive mail on local users and able to receive from out site like from hotmail. but while i am sending mail to outsite it is giving error. The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was '[EMAIL PROTECTED]'. Subject 'message from palcominfotech.net', Account: 'palcominfotech.net', Server: 'palcominfotech.net', Protocol: SMTP, Server Response: '553 Your message was rejected because the mail server you use is either configured to allow OPEN RELAY - More information regarding this problems is available at http://relays.osirusoft.com/cgi-bin/rbcheck.cgi?addr=203.195.150.3 - Please forward this error to your email server support staff for resolution.', Port: 25, Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79 please help me. Regards Manoj mail2web - Check your email from the web at http://mail2web.com/ .
Re: [qmailadmin] aliases and forwards
- Original Message - From: Paul Theodoropoulos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 26, 2003 1:29 PM Subject: Re: [qmailadmin] aliases and forwards maybe this has already been covered - sorry if it has, there's been a lot of verbiage in this thread does the new qmailadmin version upon installation *convert* existing aliases to forwards? or am i supposed to go in and modify by hand the thousands of aliases my customers have created using qmailadmin? There is a perl script called aliases2forwards.pl that will do this job for you. Look in the contrib dir of qmailadmin-1.0.25 I used it on my server ~ 8K mailboxes spread over 500 domains Worked like a ripper. Michael.
Re: [qmailadmin] .qmailadmin-limits.
- Original Message - From: Aldren [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 20, 2003 9:57 AM Subject: [qmailadmin] .qmailadmin-limits. Hi all, I'm trying use .qmailadmin-limits in qmailadmin-1.0.24 + vpopmail-5.3.21. if i configure .qmailadmin-limits - maxpopaccounts: 100, in the cgi qmailadmin access don't show me the accounts/100, show unlimited anyway. :~( I think you will find it needs to be maxpopaccounts 100 rather than maxpopaccounts: 100 Michael.
[qmailadmin] Re: [vchkpw] New Look, Feel, and Navigation for Qmailadmin
Hello Justin Current development work for qmailadmin is being done via sourceforge : http://sourceforge.net/projects/qmailadmin/ There are links where you can upload your patches / feature-requestsetc there Michael - Original Message - From: Justin Michael Couto To: [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 12:00 PM Subject: [vchkpw] New Look, Feel, and Navigation for Qmailadmin I am not sure who to send these updates to. I remember seeing last week on the mailing list that you were looking for a new look for qmailadmin and that you werent very good at HTML. I am not sure who posted it, so I am writing in to find the right person to submit the changes to. My business partner and I redesigned the interface for qmailadmin and we wanted to submit our changes to the developers to see if they would like to use them. The changes consist of New upto date XP style of graphics and icons. Roll overs on buttons, and much more. We pulled the main control links out of the graphical shell so qmail admin could easily be used in an iframe and be modified to match internal systems. The navigation is no longer surrounded by a graphical shell. This new look is great and we just wanted to share it with the qmailadmin team. My partner is a great graphics designer and at the least you guys should have a look. Please let me know who I need to send the changes to. I have all the source we modified files zipped and ready to go. Thanks all! Justin C.
Re: [qmailadmin] Vpopmail/Qmailadmin/MySQL Docs
On Friday, June 27, 2003, at 08:34 PM, OSC Hosting SysAdmin wrote: I can get Vpopmail working fine with MySQL but I'm missing instructions on alterations to IMAP and Qmailadmin so that they will authenticate using the mysql database. I don't personally run with MySQL, but it was my understanding that since qmailadmin called the vpopmail libraries, the use of MySQL was transparent. QmailAdmin doesn't know (or care) if you're using MySQL on the backend. Likewise, the POP/IMAP servers use vchkpw to authenticate and don't need to know whether MySQL is used or not. Correct Apps/daemons (eg qmailadmin, pop3d, courier-imap) all talk to vpopmail, vpopmail then talks to whatever backend it was configured for So the backend is transparent to the apps Michael.
Re: [qmailadmin] Vpopmail/Qmailadmin/MySQL Docs
That's interesting, Tom. I created a new domain called 'test1.com' and a new user called 'test' and all the records in the database work and POP mail works fine, however, Qmailadmin and IMAP won't authenticate. I double-checked the info for that domain/user on the command line and vuserinfo reports back the correct information. Not sure if this is your problem, but it is something that trips a lot of people up... : Every time you recompile vpopmail, you then need to go and recompile any of the other apps that make use of the vpopmail authentication libraries (eg qmailadmin, courier-imap) Michael.
Re: [qmailadmin] Authentication oddity in qmailadmin
My server also runs the mysql backend I tried adding a aliasdomain (testme.com) and then logging into qmailadmin on the alias domain and it failed with an error : vmysql: sql error[3]: Table 'vpopmail.testme_com' doesn't exist I took a quick look through the code, and I think the problem may have something to do with line 358 from the vauth_getpw() function in vmysql.c /*vget_real_domain(in_domain, 100);*/ Shorly after this remarked line, an SQL command is built that contains a SELECT for the aliased domain name. Since the alised domain doesnt actually exist in SQL you get a nasty error. The SELECT should really contain a lookup on the real domain rather than the aliased domain. I wonder why that code was remarked out, because it seems to be the solution to this problem? Michael. - Original Message - From: Matt Simerson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 12:37 PM Subject: Fwd: [qmailadmin] Authentication oddity in qmailadmin (sorry for the personal reply Tom, I forgot to change the reply-to) OK, I've updated both my vpopmail and qmailadmin to the latest devel versions and it still doesn't work. Here's how I'm configured: vpopmail: ./configure --enable-mysql=y --enable-rebuild-tcpserver-file=n --enable-defaultquota=1S,1C --enable-roaming-users=y --enable-learn-passwords=y --enable-logging=v --enable-default-domain=u-r-on.net --enable-mysql-replication=y qmailadmin: ./configure --enable-domain-autofill=Y --enable-modify-spam=Y '--enable-spam-command=| /usr/local/bin/maildrop' --enable-modify-quota=y --enable-cgibindir=/usr/local/www/cgi-bin.mail I can't think of why any of the above would cause this to not work. I can authenticate via just fine via POP3 using all three domains (indicating that yea verily, it is set up in vpopmail correctly). But I can only log into qmailadmin using the main domain. The domains were added using qmailadmin 1.0.15 but I don't see anything particularly relevant in the ChangeLog. I can log in just fine as [EMAIL PROTECTED] but I cannot log in as [EMAIL PROTECTED], which is an aliasdomain of u-r-on.net. I've tried removing the aliasdomain avgisp.com and then re-adding it but still no luck. Matt On Monday, June 16, 2003, at 05:57 PM, Tom Collins wrote: On Monday, June 16, 2003, at 02:30 PM, Matt Simerson wrote: I can thus add bobsmith.com to vpopmail as an aliasdomain. Now any user in bob.com can also authenticate as user at bobsmith.com. I'm sure you're all with me so far. However, qmailadmin does not appear to support this. Only [EMAIL PROTECTED] is able to log in via qmailadmin. Shouldn't the user also be able to authenticate as [EMAIL PROTECTED] Works for me (qmailadmin 1.0.21, vpopmail 5.3.20). -- Tom Collins [EMAIL PROTECTED]
[qmailadmin] Feature request - display counts limits
When you go to the Email Accounts screen, there is a heading called Total Accounts that shows the number of mailboxes in use and also the mailbox limit Would it be possible to add this same functionality to the aliases/forwards screen, the autoresponders screen, and the mailing list screens? This would allow end-user-postmasters to see how many of each item they are allowed to create, rather than just receiving a you have exceeded your limit warning I took a look at the code and it appears all the required functions already exist : load_limits() count_aliases() count_forwards() count_autoresponders() count_mailinglists() So it should just be a job of adding a couple of new tokens to the template.c, and then adding the tokens to the html pages? I can hack something together if needed, but I am no C expert, so perhaps this job is better left to one of the more experienced programmers on this list? Michael.
[qmailadmin] qmailadmin and vpopmail+mysql inconsistency
When you are running a MySQL backend for vpopmail, it is possible to create users simply by adding them directly to the relevant table in MySQL The user's maildir doesn't get created, but this is not usually a problem, because as soon as a message arrives, or as soon as the user attempts to authenticate, vpopmail will run make_user_dir() and create the maildir on-the-fly. I just noticed a problem with qmailadmin though for these sorts of users who don't have a maildir : If you login to the domain as postmaster, you can see the user's entry, and you can even go in and moduser their settings. So that all works fine. However, if you login to qmailadmin as that user rather than as the postmaster, you immediately get presented an error like this : file permission error /Maildir/1048573247.qw Obviously a workaround to force a creation of the user's maildir after inserting them into the MySQL database, but this is not a dead simple thing to do in some circumstances (eg we are inserting records into the MySQL from an ASP scrip running on a Windows 2000 server w/IIS5). I suppose we could send them some sort of welcome email, or launch a POP3 auth via perl but such methods seem like a bit of a kludge. Considering that qmailadmin allows the postmaster to moduser these types of users-without-maildirs, is there any chance that the coding can be changed so that the enduser is also able to get in via qmailadmin without encountering a nasty error? Michael Bowe (B.App.Sc) Managing Director - Pipeline Internet 96 Pakington Street, Geelong West. VIC. 3218 Tel (03) 5229 7643 Fax (03) 5229 0282 Mobile 0419 242 136 http://www.pipeline.com.au/
[qmailadmin] Bug in configure command for qmailadmin-1.0.10
Hello I found a typo in the maxaliasesperpage section of the qmailadmin-1.0.10 configure script A patch to fix the problem is attached Michael Bowe (B.App.Sc) Managing Director - Pipeline Internet 96 Pakington Street, Geelong West. VIC. 3218 Tel (03) 5229 7643 Fax (03) 5229 0282 Mobile 0419 242 136 http://www.pipeline.com.au/ ### # # The configure script for qmailadmin-1.0.10 contains a typo for the # maxaliasesperpage configure command # # By Michael Bowe [EMAIL PROTECTED] # ### --- configure Tue Feb 11 06:03:46 2003 +++ ../test/qmailadmin-1.0.10/configure Fri Feb 21 15:25:47 2003 @@ -1804,7 +1804,7 @@ # Check whether --enable-maxaliasesperpage or --disable-maxaliasesperpage was given. if test ${enable_maxaliasesperpage+set} = set; then enableval=$enable_maxaliasesperpage - maxusersperpage=$enableval + maxaliasesperpage=$enableval fi cat confdefs.h EOF
RE: [qmailadmin] New 1.0.9 devel version
-Original Message- From: Matt Simerson [mailto:[EMAIL PROTECTED]] Sent: Sunday, 9 February 2003 5:27 AM To: Ken Jones Cc: [EMAIL PROTECTED] Subject: Re: [qmailadmin] New 1.0.9 devel version I've got a few small HTML tweaks I'd like to get rolled into qmailadmin. Nice work Matt! I just installed qmailadmin-1.0.10 which has got your mods in it The mod_user page looks so much better now! Michael Bowe (B.App.Sc) Managing Director - Pipeline Internet 96 Pakington Street, Geelong West. VIC. 3218 Tel (03) 5229 7643 Fax (03) 5229 0282 Mobile 0419 242 136 http://www.pipeline.com.au/
RE: [qmailadmin] New 1.0.9 devel version
-Original Message- From: Ken Jones [mailto:[EMAIL PROTECTED]] Sent: Saturday, 25 January 2003 8:16 AM To: [EMAIL PROTECTED] Subject: [qmailadmin] New 1.0.9 devel version A new devel version is available for the changes from Brian Kolaci and Oden Erikson. I was able to compile on both RedHat 7.3 Linux and Solaris 5.8! Just letting you know I installed qmailadmin-1.0.9 on my vpopmail-5.3.14 w/mysql server (redhat 7.2) and all looks good All the sorting stuff appears to be working fine! Michael.
RE: [qmailadmin] New 1.0.8 devel version available
-Original Message- From: Ken Jones [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 22 January 2003 7:04 AM To: [EMAIL PROTECTED] Subject: [qmailadmin] New 1.0.8 devel version available The latest devel version is available: 1.0.8 2) New help files! The help files are broken out into a separate tar .gz file since it is about 2Meg. Big thanks to the folks at http://www.cfes.ca for the help text. If you follow the INSTALL doc for the help files, the help files wont be installed into the location pointed to by the links on the qmailadmin login page The INSTALL doc says to copy the helps files into : /var/www/html/images/qmailadmin but the links on the login page are expecting the files to be in : /var/www/html/images/qmailadmin/help Michael.
RE: [qmailadmin] QmailAdmin Solaris.
Are any of these links of use in helping fix the scandir/alphasort problem on solaris? http://www.unidata.ucar.edu/projects/coohl/mhonarc/MailArchives/gempak/msg00 759.html http://www.htdig.org/htdig-dev/2000/09/0051.html http://www.niac.man.ac.uk/Tina/lxr/http/source/file/util/file_name.c Michael -Original Message- From: Steve Fulton [mailto:[EMAIL PROTECTED]] Sent: Friday, 17 January 2003 1:13 PM To: [EMAIL PROTECTED] Subject: [qmailadmin] QmailAdmin Solaris. Hi all, Those of you who have seen my e-mails over the last day are aware of the compile problems I have been having with QmailAdmin 1.0.7. and Solaris. Those of you who have not now are. I am aware that a number of contributions have been made and those make up the 1.0.7 version. However many of those additions have, unintentionally, now excluded the Solaris OS from running QmailAdmin 1.0.7 and likely future versions, if they include the same problematic functions. FYI, those functions are: alphasort in alias.c and the fts functions (fts_open, fts_read, fts_number etc etc) in util.c I have spent the last day importing libraries, headers and searching for and compiling programs for the Solaris 8 machines I maintain. I was able to add an appropriate header for the alphasort() function, but less experienced admins may not have the wherewithal to do this. I have also discovered that fts is not available for Solaris. My attempts to port it have failed. Unless others can succeed where I have failed, I am officially suggesting that QmailAdmin remove those functions and find alternates which are compatible with all the major OS'es. Otherwise, QmailAdmin should explicitedly state that Solaris is not supported. Unfortunately this will preclude a number of current users from upgrading, and there may be a cascade effect detrimental to Vpopmail. Let me also say to those ardent BSD and Linux users who may have negative comments regarding Solaris: don't bother. -- Steve.
RE: [qmailadmin] New 1.0.7 01/13/2003 version available
I just checked the code, in user.c and it looks like the quota patch allows for setting the quota to any value. Just added new code to #ifdef ENABLE_MODIFY_QUOTA in the add and modify user code to completely disable setting quota's if --enable-modify-quota=n Also just updated the add_user template to use add_user_quota.html and add_user_noquota.html depending on MODIFY_ENABLE_QUOTA Also, I think some ifdef's would need to be added to the add mailing list screen This screen is showing a QUOTA box even if you have configured qmailadmin with --enable-modify-quota=n And if I can make one other v1.0.7 suggestion I don't think those links to the user and admin guides should be included on the qmailadmin login page. The pages they link to are not very generic, they contain information specific to the ISP that authored the instructions. These pages are going to cause a lot of confusion amongst qmailadmin end-users. By including the links you are also making qmailadmin reliant on a 3rd-party's web server and document authoring skills... Not such a hot idea in my opinion. Although some of us know how to go and remove such HTML from show_login.html, I think many less technical users are not going to know how to do this, and then they will be stuck with these confusing links on their login pages... Michael.
RE: [qmailadmin] Qmailadmin-1.0.7.01142003 compile problem under Solaris.
what does your man scandir say? The way that call has been written in the 1.0.7 code seems to match exactly with the example I get when I run man scandir on my Redhat linux box. part of the output of man scandir : EXAMPLE /* print files in current directory in reverse order */ #include dirent.h main(){ struct dirent **namelist; int n; n = scandir(., namelist, 0, alphasort); if (n 0) perror(scandir); else { while(n--) { printf(%s\n, namelist[n]-d_name); free(namelist[n]); } free(namelist); } } Not sure what the fix is to make it compatible with solaris.. ps. v1.0.7 does compile ok for me under redhat Michael. -Original Message- From: Steve Fulton [mailto:[EMAIL PROTECTED]] Sent: Thursday, 16 January 2003 2:46 PM To: [EMAIL PROTECTED] Subject: [qmailadmin] Qmailadmin-1.0.7.01142003 compile problem under Solaris. Hi all, I'm having difficulty compile Qmailadmin-1.0.7.01142003 under Solaris. I get this error: bash-2.03# make gcc -I. -I/var/vpopmail/include -g -O2 -c qmailadmin.c gcc -I. -I/var/vpopmail/include -g -O2 -c alias.c alias.c:33:21: sys/dir.h: No such file or directory alias.c: In function `show_dotqmail_lines': alias.c:82: `alphasort' undeclared (first use in this function) alias.c:82: (Each undeclared identifier is reported only once alias.c:82: for each function it appears in.) make: *** [alias.o] Error 1 As you can see, it does not know the alphasort function. According to man alphasort, it is part of sys/types.h and sys/dir.h .. I added those in manually to alias.c, and still had the same error. Any thoughts? -- Steve
Re: [qmailadmin] Show subscribers not working
On Monday 13 January 2003 10:41 am, Ross Davis - DataAnywhere.net wrote: I just did an upgrade this weekend to the latest devel versions and I have a problem. What version were you using previously?
RE: [qmailadmin] Working on new 1.0.7 version
-Original Message- From: Ken Jones [mailto:[EMAIL PROTECTED]] Sent: Friday, 10 January 2003 7:49 AM To: [EMAIL PROTECTED] Subject: [qmailadmin] Working on new 1.0.7 version I'm putting together a new 1.0.7 version. So anyone with updated code, or bug reports. Please post the information here. In the mailing list menus, you have menus to show subscribers / moderators / digest subscribers This patch fixes two issues with this area : 1. Make the menu layout more consistent with other parts of qmailadmin. ie put the email address on the left and the action button on the right 2. In the show subscribers menu, the column headings were the reverse of the data. ie the action button was in the address column, and the address was in the action column. Michael Bowe (B.App.Sc) Managing Director - Pipeline Internet 96 Pakington Street, Geelong West. VIC. 3218 Tel (03) 5229 7643 Fax (03) 5229 0282 Mobile 0419 242 136 http://www.pipeline.com.au/ ## ## In the mailing list menus, you have menus to show ## subscribers / moderators / digest subscribers ## ## This patch fixes two issues with this area : ## 1. Make the menu layout more consistent with other parts ## of qmailadmin. ie put the email address on the left and ## the action button on the right ## 2. In the show subscribers menu, the column headings were ## the reverse of the data. ie the action button was in the ## address column, and the address was in the action column. ## ## Michael Bowe [EMAIL PROTECTED] 14/1/2003 ## ## --- mailinglist.c Wed Aug 7 08:04:59 2002 +++ ../../qmailadmin-1.0.6/mailinglist.cTue Jan 14 12:46:13 2003 @@ -609,9 +609,9 @@ /* Display subscriber/moderator/digest list, along with delete button */ if(mod == 1) { -strcpy(TmpBuf, 228); strcpy(TmpBuf1, 087); strcpy(TmpBuf2, 220); +strcpy(TmpBuf, 228); strcpy(TmpBuf1, 220); strcpy(TmpBuf2, 087); } else if(mod == 2) { -strcpy(TmpBuf, 244); strcpy(TmpBuf1, 245); strcpy(TmpBuf2, 246); +strcpy(TmpBuf, 244); strcpy(TmpBuf1, 246); strcpy(TmpBuf2, 245); } else { strcpy(TmpBuf, 230); strcpy(TmpBuf1, 222); strcpy(TmpBuf2, 084); } @@ -635,14 +635,14 @@ } for(z = 0; z index; ++z) { fprintf(actout, TR align=middle); + fprintf(actout, TD align=left%s/TD\n, pa[z]); fprintf(actout, TD align=middleA href=%s/com/%s?modu=%snewu=%sdom=%suser=%stime=%dIMG src=/images/qmailadmin/delete.png border=0/A/TD\n, CGIPATH, TmpBuf, ActionUser, pa[z], Domain, Username, Mytime); - fprintf(actout, TD align=left%s/TD\n, pa[z]); ++z; if(pa[z] != NULL) { + fprintf(actout, TD align=left%s/TD\n, pa[z]); fprintf(actout, TD align=middleA href=%s/com/%s?modu=%snewu=%sdom=%suser=%stime=%dIMG src=/images/qmailadmin/delete.png border=0/A/TD\n, CGIPATH, TmpBuf, ActionUser, pa[z], Domain, Username, Mytime); -fprintf(actout, TD align=left%s/TD, pa[z]); } else { fprintf(actout, TD COLSPAN=2 /TD); }
Re: [qmailadmin] compile error
- Original Message - From: Paul Theodoropoulos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, January 11, 2003 5:48 AM Subject: [qmailadmin] compile error i'm getting the following error trying to compile qmailadmin 1.07, which i've never run across in previous version builds. solaris 9, sparc, gcc 3.2.1 make all-recursive make[1]: Entering directory `/usr/local/src/djbware/vpop/qmailadmin-1.0.7-01102003' make[2]: Entering directory `/usr/local/src/djbware/vpop/qmailadmin-1.0.7-01102003' gcc -I. -I/u1/include -O3 -c alias.c alias.c: In function `show_dotqmail_lines': alias.c:80: `alphasort' undeclared (first use in this function) alias.c:80: (Each undeclared identifier is reported only once alias.c:80: for each function it appears in.) make[2]: *** [alias.o] Error 1 make[2]: Leaving directory `/usr/local/src/djbware/vpop/qmailadmin-1.0.7-01102003' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/djbware/vpop/qmailadmin-1.0.7-01102003' make: *** [all-recursive-am] Error 2 I did a bit of a search on the web and found some other references to the scandir() function using the alphasort paramater failing to compile on solaris The way that call has been written in the 1.0.7 code seems to match exactly with the example I get when I run man scandir on my Redhat linux box : EXAMPLE /* print files in current directory in reverse order */ #include dirent.h main(){ struct dirent **namelist; int n; n = scandir(., namelist, 0, alphasort); if (n 0) perror(scandir); else { while(n--) { printf(%s\n, namelist[n]-d_name); free(namelist[n]); } free(namelist); } } Not sure what the fix is to make it compatible with solaris.. ps. v1.0.7 does compile ok for me under redhat Michael.
RE: [qmailadmin] Working on new 1.0.7 version
-Original Message- From: Ken Jones [mailto:[EMAIL PROTECTED]] Sent: Friday, 10 January 2003 7:49 AM To: [EMAIL PROTECTED] Subject: [qmailadmin] Working on new 1.0.7 version Hi, I'm putting together a new 1.0.7 version. So anyone with updated code, or bug reports. Please post the information here. Hello Ken Please find attached four patches for qmailadmin-1.0.6 that fix an assortment of bugs and cosmetic issues. There are comments in the top bit of each of the patches that include a more detailed description of why they are needed. qmailadmin-1.0.6-forwardalias-nextpage.patch.txt Fix the bug in the forwards/aliases screen where the nextpage hyperlink is shown even when there are no more users to display qmailadmin-1.0.6-configure-maxaliasesperpage.patch.txt Fix the typo in the configure script regarding the maxaliasesperpage option qmailadmin-1.0.6-forwardalias-sorted.patch.txt Enable sorting of the userlist on the forwards/aliases screen (Same as patch for qmailadmin-1.0.2 as posted to this list the other day by Tim Janes) qmailadmin-1.0.6-userlist-sorted.patch.txt Enable alphabetical sorting of the email accounts screens and also the userlist dropdownboxes for people using a vpopmail backend other than cdb (eg MySQL). The cdb backend already provides alphabetical sorting, so it makes sense that the other backends should be configured to provide alphabetical sorting by default also. Michael Bowe (B.App.Sc) Managing Director - Pipeline Internet 96 Pakington Street, Geelong West. VIC. 3218 Tel (03) 5229 7643 Fax (03) 5229 0282 Mobile 0419 242 136 http://www.pipeline.com.au/ ### # # The configure script for qmailadmin-1.0.6 contains a typo for the # maxaliasesperpage configure command # # By Michael Bowe [EMAIL PROTECTED] # ### --- configure.orig Sat Nov 30 12:02:49 2002 +++ configure Sat Nov 30 12:02:54 2002 @@ -1778,7 +1778,7 @@ # Check whether --enable-maxaliasesperpage or --disable-maxaliasesperpage was given. if test ${enable_maxaliasesperpage+set} = set; then enableval=$enable_maxaliasesperpage - maxusersperpage=$enableval + maxaliasesperpage=$enableval fi cat confdefs.h EOF ### # # In qmailadmin-1.0.6, the page navigation hyperlinks at the bottom # of the show forwards/aliases screen alway display next page # even when there are no more users to display # # By Michael Bowe [EMAIL PROTECTED] # ### --- alias.c.origSat Nov 30 12:56:39 2002 +++ alias.c Sat Nov 30 13:00:56 2002 @@ -46,6 +46,7 @@ show_dotqmail_lines(char *user, char *dom, time_t mytime, char *dir) { + int moreusers=0; DIR *mydir; struct dirent *mydirent; FILE *fs; @@ -89,6 +90,7 @@ continue; } if ( k MAXALIASESPERPAGE + startnumber) { +moreusers=1; break; } @@ -174,9 +176,11 @@ fprintf(actout, a href=\%s/com/showforwards?user=%sdom=%stime=%dpage=%s\%s/a, CGIPATH,user,dom,mytime,Pagenumber,get_html_text(136)); fprintf(actout, nbsp;|nbsp;); -fprintf(actout, a href=\%s/com/showforwards?user=%sdom=%stime=%dpage=%d\%s/a, - CGIPATH,user,dom,mytime,atoi(Pagenumber)+1,get_html_text(137)); -fprintf(actout, nbsp;]); +if (moreusers) { + fprintf(actout, a +href=\%s/com/showforwards?user=%sdom=%stime=%dpage=%d\%s/a, +CGIPATH,user,dom,mytime,atoi(Pagenumber)+1,get_html_text(137)); + fprintf(actout, nbsp;]); +} fprintf(actout, /td/tr); } } ### # # Adjust qmailadmin-1.0.6 so that the entries on the # forwards/aliases screen are shown in alphabetical order # # Written for qmailadmin-1.0.2 by Tim Janes [EMAIL PROTECTED] # and applied to qmailadmin-1.0.6 by Michael Bowe [EMAIL PROTECTED] # ### --- alias.c.origWed Aug 7 08:04:59 2002 +++ alias.c Sat Nov 30 11:35:24 2002 @@ -53,6 +53,8 @@ char alias_name[MAX_FILE_NAME]; char *alias_name_from_command; int i,j,stop,k,startnumber; + int m,n; + struct dirent **namelist; if ( AdminType!=DOMAIN_ADMIN ) { sprintf(StatusMessage,%s, get_html_text(142)); @@ -74,7 +76,10 @@ return(0); } - while ((mydirent=readdir(mydir)) != NULL) { + n = scandir(., namelist, 0, alphasort); + + for (m=0; mn; m++) { +mydirent=namelist[m]; /* * don't read files that are really ezmlm-idx listowners, * i.e. .qmail-user-owner @@ -159,9 +164,11 @@ fclose(fs); k++; } +free(namelist[m]); } closedir(mydir
Re: [qmailadmin] Newbie help: deletion of EMail address
- Original Message - From: Stuart Anderson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 06, 2002 7:51 PM Subject: [qmailadmin] Newbie help: deletion of EMail address Hi, I have come across a problem. Any help in this regard would be greatly appreciated The problem is as follows. When I delete an EMail account, lets say [EMAIL PROTECTED], through qmailadmin, I ask for all messages in the box to be forwarded to another email address, say [EMAIL PROTECTED] These emails are not forwarded to the email address. I think you are misunderstanding what the menus mean This menu doesnt mean : * Forward the existing mail in the mailbox to the the nominated address * Then delete the mailbox All it is doing is allowing you to delete the existing mailbox, and optionally replacing it with a forward. Any mail that was in the mailbox at time of deletion will be lost. I would agree that the wording of that screen is a bit confusing! Michael.
[qmailadmin] A collection of patches for qmailadmin-1.0.6
Hello Please find attached four patches for qmailadmin-1.0.6 that fix an assortment of bugs and cosmetic issues. There are comments in the top bit of each of the patches that include a more detailed description of why they are needed. qmailadmin-1.0.6-forwardalias-nextpage.patch.txt Fix the bug in the forwards/aliases screen where the nextpage hyperlink is shown even when there are no more users to display qmailadmin-1.0.6-configure-maxaliasesperpage.patch.txt Fix the typo in the configure script regarding the maxaliasesperpage option patch qmailadmin-1.0.6-forwardalias-sorted.patch.txt Enable sorting of the userlist on the forwards/aliases screen (Same as patch for qmailadmin-1.0.2 as posted to this list the other day by Tim Janes) qmailadmin-1.0.6-userlist-sorted.patch.txt Enable alphabetical sorting of the email accounts screens and also the userlist dropdownboxes for people using a vpopmail backend other than cdb (eg MySQL) Michael. ### # # In qmailadmin-1.0.6, the page navigation hyperlinks at the bottom # of the show forwards/aliases screen alway display next page # even when there are no more users to display # # By Michael Bowe [EMAIL PROTECTED] # ### --- alias.c.origSat Nov 30 12:56:39 2002 +++ alias.c Sat Nov 30 13:00:56 2002 @@ -46,6 +46,7 @@ show_dotqmail_lines(char *user, char *dom, time_t mytime, char *dir) { + int moreusers=0; DIR *mydir; struct dirent *mydirent; FILE *fs; @@ -89,6 +90,7 @@ continue; } if ( k MAXALIASESPERPAGE + startnumber) { +moreusers=1; break; } @@ -174,9 +176,11 @@ fprintf(actout, a href=\%s/com/showforwards?user=%sdom=%stime=%dpage=%s\%s/a, CGIPATH,user,dom,mytime,Pagenumber,get_html_text(136)); fprintf(actout, nbsp;|nbsp;); -fprintf(actout, a href=\%s/com/showforwards?user=%sdom=%stime=%dpage=%d\%s/a, - CGIPATH,user,dom,mytime,atoi(Pagenumber)+1,get_html_text(137)); -fprintf(actout, nbsp;]); +if (moreusers) { + fprintf(actout, a +href=\%s/com/showforwards?user=%sdom=%stime=%dpage=%d\%s/a, +CGIPATH,user,dom,mytime,atoi(Pagenumber)+1,get_html_text(137)); + fprintf(actout, nbsp;]); +} fprintf(actout, /td/tr); } } ### # # The configure script for qmailadmin-1.0.6 contains a typo for the # maxaliasesperpage configure command # # By Michael Bowe [EMAIL PROTECTED] # ### --- configure.orig Sat Nov 30 12:02:49 2002 +++ configure Sat Nov 30 12:02:54 2002 @@ -1778,7 +1778,7 @@ # Check whether --enable-maxaliasesperpage or --disable-maxaliasesperpage was given. if test ${enable_maxaliasesperpage+set} = set; then enableval=$enable_maxaliasesperpage - maxusersperpage=$enableval + maxaliasesperpage=$enableval fi cat confdefs.h EOF ### # # Adjust qmailadmin-1.0.6 so that the entries on the # forwards/aliases screen are shown in alphabetical order # # Written for qmailadmin-1.0.2 by Tim Janes [EMAIL PROTECTED] # and applied to qmailadmin-1.0.6 by Michael Bowe [EMAIL PROTECTED] # ### --- alias.c.origWed Aug 7 08:04:59 2002 +++ alias.c Sat Nov 30 11:35:24 2002 @@ -53,6 +53,8 @@ char alias_name[MAX_FILE_NAME]; char *alias_name_from_command; int i,j,stop,k,startnumber; + int m,n; + struct dirent **namelist; if ( AdminType!=DOMAIN_ADMIN ) { sprintf(StatusMessage,%s, get_html_text(142)); @@ -74,7 +76,10 @@ return(0); } - while ((mydirent=readdir(mydir)) != NULL) { + n = scandir(., namelist, 0, alphasort); + + for (m=0; mn; m++) { +mydirent=namelist[m]; /* * don't read files that are really ezmlm-idx listowners, * i.e. .qmail-user-owner @@ -159,9 +164,11 @@ fclose(fs); k++; } +free(namelist[m]); } closedir(mydir); + free(namelist); if (AdminType == DOMAIN_ADMIN) { fprintf(actout, trtd align=\right\ colspan=\4\); ### # # According to the docs on the inter7.com web site, # ( http://inter7.com/vpopmail/vpopmail.html ) # if you REQUIRE a vauth_getall() userlist sorted in alphabetical # order, you need to set the sort_it parameter to 1 # # struct *vauth_getall( char *domain, int first, int sort_it ) # domain = domain name to retrieve password structure from #authentication system # first = 1 to get first record, 0 = get next record # sort_it = 1 to have the user list sorted alphabetically. #This has no effect on vpasswd/cdb method, #since all
RE: [qmailadmin] modigy user returns empty page.
-Original Message- From: Iain [mailto:iain;voffice.myspinach.org] Sent: Wednesday, 13 November 2002 4:09 PM To: 'QmailadminInter7. Com' Subject: [qmailadmin] modigy user returns empty page. Hi, with qmailadmin 1.0.6, vpopmail 5.3.8 when I click on modify user for one particular user I just get an empty page. The user has a vacation message enabled. Has anyone seen anything like this? Cheers, Iain. Are you sure you have qmailadmin 1.0.6 installed? The problem you describe sounds very much like a bug in qmailadmin that was fixed in v1.0.5 Michael.
Re: [qmailadmin] Qmailadmin to view mail online
- Original Message - From: Zeno Davatz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 5:02 AM Subject: Re: [qmailadmin] Qmailadmin to view mail online On 5.11.2002 18:21 Uhr, Tom Collins [EMAIL PROTECTED] wrote: Take a look at SquirrelMail http://http://www.squirrelmail.org/ or SqWebMail http://www.inter7.com/sqwebmail/. Witch one would you rather recommend? Witch one are you using? In my opinion, sqwebmail is probably easier to setup (doesnt need imap backend), however squirrelmail is a much superior webmail program. We trialed both programs with our users, and they all unanimously preferred squirrelmail. I have squirrelmail setup instructions as part of my webmail server guide at http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm Also here is another good qmail page with squirrelmail instructions included : http://www.jerfu.com/toaster Michael
Re: [qmailadmin] users not in alphabetical order (ldap)
- Original Message - From: Iain [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 28, 2002 12:16 PM Subject: [qmailadmin] users not in alphabetical order (ldap) Hi, I have noticed a problem where the users are not appearing in alphabetical order. This is with qmailadmin 1.0.6, vpopmail 5.3.8 using the LDAP backend. I have around 700 users in the one domain and they do not appear in alphabetical order. ANy ideas? Iain. There are two issues that need to be addressed to get this to work : ISSUE #1 qmailadmin 1.0.6 is not coded to correctly to display the user list in alphabetical order. Line 462 of template.c is where the userlist is generated. It is currently coded like this : pw = vauth_getall(Domain,1,0); The vauth_getall fuction is part of the vpopmail code. The 3rd parameter of this funtion is supposed to control whether username sorting is applied to the list. This particular parameter is named sortit. Because qmail is setting the sortit parameter to 0, it isnt going to try to display a sorted list of usernames. Now, If you are using cdb backend, the list seems to get sorted regardless of whether sortit is set to 0 or 1. (Maybe the cdb calls always sort the list automatically?) If you are using the MySQL backend, you have to set sortit to be 1 to ensure the order by pw_name is appended to the SQL query in vmysql.c - this will get the userlist sorted by username Similarly, if you are using the postgres backend, you have to set sortit to be 1 to ensure the order by pw_name is appended to the SQL query in vpgsql.c - this will get the userlist sorted by username But, If you are using LDAP backend, it appears that the sortit parameter is ignored by the vldap.c. Thus it isnt possible to get a sorted list of usernames So, this leads us on to ISSUE #2 For LDAP, the vldap.c in vpopmail needs to be fixed so the sortit parameter is not ignored I am no LDAP or C expert, but I guess the fix would be to change the vldap.c code on line 106 from : ret = ldap_search_s(ld, basedn, LDAP_SCOPE_SUBTREE, filter, vldap_attrs, 0, res); to something roughly like this ret = ldap_search_s(ld, basedn, LDAP_SCOPE_SUBTREE, filter, vldap_attrs, 0, res); if ( sortit == 1 ) { if ( ldap_sort_entries( ld, res, uid, strcasecmp ) != LDAP_SUCCESS ) { # error } } Maybe one of the coding guru's can implement that one for us? Also it would be great if the qmailadmin source could be changed to set the sortit flag by default. Hope that helps! Michael.
Re: [qmailadmin] disabling an account
I think you have to clear them all and then go and re-set the ones you want enabled Michael. - Original Message - From: Julio Gruskin - PWeb ONline! [EMAIL PROTECTED] To: JT [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, September 03, 2002 4:45 AM Subject: RE: [qmailadmin] disabling an account That's good but how about I have set more than one flag and now I want to undo just one of them... ex.: - set no pop access flag - set no smtp access flag - set no web mail access flag and now I want to grant only pop access -Mensaje original- De: JT [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 02 de septiembre de 2002 15:19 Para: [EMAIL PROTECTED] CC: Julio Gruskin - PWeb ONline! Asunto: RE: [qmailadmin] disabling an account Did you run 'vmoduser' without any options, its all right there. To clear all flags : ./vmoduser -x domain.com vmoduser: usage: [options] email_addr or domain ( for the entire domain ) options: -v ( display the vpopmail version number ) -n ( don't rebuild the vpasswd.cdb file ) -q quota ( set quota ) -c comment (set the comment/gecos field ) -e encrypted_passwd (set the password field ) -C clear_text_passwd (set the password field ) the following options are bit flags in the gid int field -u ( set no dialup flag ) -d ( set no password changing flag ) -p ( set no pop access flag ) -s ( set no smtp access flag ) -w ( set no web mail access flag ) -i ( set no imap access flag ) -b ( set bounce mail flag ) -r ( set no external relay flag ) -a ( grant qmailadmin administrator privileges) -0 ( set V_USER0 flag ) -1 ( set V_USER1 flag ) -2 ( set V_USER2 flag ) -3 ( set V_USER3 flag ) -x ( clear all flags ) ~jt At 12:50 PM 9/2/2002 -0300, Julio Gruskin - PWeb ONline! wrote: How do I undo it? -Mensaje original- De: JT [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 02 de septiembre de 2002 5:16 Para: [EMAIL PROTECTED] CC: David M. Shirley Asunto: Re: [qmailadmin] disabling an account See the vmoduser command mentioned by Michael below. vmoduser -p domain.com will disable pop for all users of that domain. Run 'vmoduser' stand-alone for a list of options. ~jt
RE: [qmailadmin] Passing variables to qmailadmin login
Is there a way to pass variables such as User Account; Domain; and Password to Qmailadmin from another webpage, and if so how would that look. I would like to setup a Control Panel for each domain which will have a link for them to add email addresses, mailing lists etc. But I don't want them to have to login twice (once to their control panel and once to qmailadmin). You can do an automated login via a form post, but not via a querystring (Querystring style logins would be nice and a lot of people have asked about this on this list, however I double checked the qmailadmin code a while back and found that it does not have support for decoding the querystring variables.) The support staff here at our ISP use this automated login stuff a lot eg We are running vpopmail w/MySQL backend We have an ASP page that sucks a list of domains from the MySQL and builds a dropdown box of all hosted domains. So we then click on the domain we want to administer Another ASP page then sucks a list of mailboxes in that domain. It builds a page that shows us info about each account eg name, quota, password, homedir etc and also gives a button for each user that we can click on to log straight into qmailadmin as that user. Each button is actually a form that has the username, password domain hardcoded (populated via the ASP / MySQL lookups), and the form posts to /cgi-bin/qmailadmin when you click on the button. That way if you login with the postmaster's button you get full access to the domain, or if you login with the users button you just get the users screen. Its a handy way to zip in and out of peoples accounts without any typing at all. We also have a button on that same page that lets us autologin to the squirrelmail webmail for each mailbox Hope that gives you some ideas! Michael.
Re: [qmailadmin] Trouble with vacation messages
yep, thats a qmailadmin bug that was fixed in the 1.0.5 release http://www.inter7.com/qmailadmin/ChangeLog Michael. - Original Message - From: Fred Jones To: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 7:53 AM Subject: [qmailadmin] Trouble with vacation messages I'm having trouble with vacation messages. When a user with a username of 8 or more characters goes into Modify User and enables Vacation, once they click the Modify User button they get a blank page. Even after logging back in and trying to enter the Modify User section again, only a blank page comes up. The modification does take place however, and the vacation message is sent to those who try to email to that account, but there is no way to disable it except to delete the user account, and re-add it. The HTML of the blank page is as follows: !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRansitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"htmlheadtitleQmailAdmin/titlemeta http-equiv="content-type" content="text/html; charset=iso-8859-1"meta name="robots" content="noindex,follow" This only happens when the username is greater than or equal to 8 characters in length. All other aspects of the Modify User section for these users works OK. (i.e. Change Password, enable forwarding, save copy and forward.) Only the Enable Vacation aspect causes problems. The Enable Vacation aspect does not cause problems for usernames less than 8 characters. The user names are all lower case letters, no numbers, no dots or other special characters. I'm using qmail 1.0.3, qmailadmin 1.0.4, and vpopmail 5.3.5 Any ideas to save me from having to sift through code? Thanks Fred