RE: [qmailadmin] vpopmail 5.2.1, qmailadmin 1.06 and the missingpop boxes...
Thanks Chris, it looks that you have helped also me. Do not know yet, but it looks like that I will try and report back Peter Kmet -Original Message- From: Chris Herrmann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 4:32 PM To: 'John Doshier'; [EMAIL PROTECTED] Subject: RE: [qmailadmin] vpopmail 5.2.1, qmailadmin 1.06 and the missingpop boxes... | |1) manually add the clear passwd field into your vpasswd file(s). It |will be the last column, after the quota. | |postmaster:$1$p6eq3$GRE0ra6FFNC3f2a4ufHnO/:1:0:Postmaster:/home |/vpopmail/domains/test.com/postmaster:NOQUOTA:testpwd | | In your email you mentioned you tried this to no avail. Perhaps you |tried something different? | Yep - tried this, and tried "vmoduser -C "mypass" [EMAIL PROTECTED] |2) recompile vpopmail with --enable-clear-passwd=n. | | I'd go with 2 if recompiling is a viable option. | Tried this as well... not happening... If I create users via qmailadmin as well, it returns a message: Email Account [EMAIL PROTECTED] (George) added succesfully however then displays an empty list of users. If I send mail to george, or pick up mail it works fine though. I configured with: [root@gemini qmailadmin-1.0.6]# head config.status #! /bin/sh # Generated automatically by configure. # Run this file to recreate the current configuration. # This directory was configured as follows, # on host gemini.faredge.com.au: # # ./configure --prefix=/var/qmail/vpopmail/qmailadmin --enable-htmldir=/var/q mail/vpopmail/qmailadmin/htdocs --enable-cgibindir=/var/qmail/vpopmail/qmail admin/cgi-bin --enable-autoresponder-bin=/usr/local/autorespond --enable-ezm lmdir=/usr/local/ezmlm/bin --enable-vpopmaildir=/var/qmail/vpopmail --enable -clear-passwd=n # # Compiler output produced by configure, useful for debugging # configure, is in ./config.log if it exists. [root@gemini qmailadmin-1.0.6]# ~vpopmail == /var/qmail/vpopmail |This is from my Qmailadmin 1.05 tarball. It should also be in |Qmailadmin 1.06 as the 1.06 release was only to fix security problems. | | --enable-user-index={Y|n} Display user index on show usersw page, |Default is yes. So this option shouldn't have any effect on what I'm seeing? I tried browsing my apache logs for error messages (none), /var/log/messages, /var/log/maillog, qmail logs... is there anywhere else I should be looking for output that might give me clues? Do cgi errors appear in a different place than your normal myserver-error_log files? Thanks, Chris
Re: [qmailadmin] Yikes! users disappear from qmailadmin interface
We had this happen when upgrading to qmailadmin 1.0.2. It happened because of clear text passwords. In our old version, they were disabled (because they were not default) and in Qmailadmin 1.0.2, they ARE default, so they got enabled. The extra field in the vpasswd file caused the users to not show up, but everything else worked. Could that be your issue as well? Trey Nolen > > I just reconfigured and reinstalled vpopmail 5.3.8 to enable roaming users > and change the location of the tcp.smtp file to the qmail default /etc, > then recompiled and reinstalled qmailadmin 1.0.2 doing a simple "make > clean" and "make install" and now when you log in as postmaster, none of > the users show up for the domain. > > users can still send/receive and authenticate, and the postmaster can even > add new users, but cannot see or modify any of them...dunno what I broke, > but looking at the config options doesn't show me anything obvious...any > pointers really appreciated... >
RE: [qmailadmin] vpopmail 5.2.1, qmailadmin 1.06 and the missingpopboxes...
I'm having the exact same problem (users don't appear in postmaster's show users page) with vpopmail 5.3.8 and qmailadmin 1.0.2 after rebuilding it recently. I just tried to build qmailadmin 1.0.6 to see if it would fix it, and get this: 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 -L/home/vpopmail/lib -lvpopmail -lnsl -lm -lcrypt /usr/libexec/elf/ld: cannot find -lnsl *** Error code 1 On Thu, 15 Aug 2002, Peter@home wrote: > Thanks Chris, it looks that you have helped also me. Do not know yet, > but it looks like that > > > I will try and report back > > Peter Kmet > > -Original Message- > From: Chris Herrmann [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 14, 2002 4:32 PM > To: 'John Doshier'; [EMAIL PROTECTED] > Subject: RE: [qmailadmin] vpopmail 5.2.1, qmailadmin 1.06 and the > missingpop boxes... > > > > | > |1) manually add the clear passwd field into your vpasswd file(s). It > |will be the last column, after the quota. > | > |postmaster:$1$p6eq3$GRE0ra6FFNC3f2a4ufHnO/:1:0:Postmaster:/home > |/vpopmail/domains/test.com/postmaster:NOQUOTA:testpwd > | > | In your email you mentioned you tried this to no avail. Perhaps you > |tried something different? > | > > Yep - tried this, and tried "vmoduser -C "mypass" [EMAIL PROTECTED] > > |2) recompile vpopmail with --enable-clear-passwd=n. > | > | I'd go with 2 if recompiling is a viable option. > | > Tried this as well... not happening... If I create users via qmailadmin as > well, it returns a message: > > Email Account [EMAIL PROTECTED] (George) added succesfully > > however then displays an empty list of users. If I send mail to george, or > pick up mail it works fine though. > > I configured with: > > [root@gemini qmailadmin-1.0.6]# head config.status > #! /bin/sh > # Generated automatically by configure. > # Run this file to recreate the current configuration. > # This directory was configured as follows, > # on host gemini.faredge.com.au: > # > # > ./configure --prefix=/var/qmail/vpopmail/qmailadmin --enable-htmldir=/var/q > mail/vpopmail/qmailadmin/htdocs --enable-cgibindir=/var/qmail/vpopmail/qmail > admin/cgi-bin --enable-autoresponder-bin=/usr/local/autorespond --enable-ezm > lmdir=/usr/local/ezmlm/bin --enable-vpopmaildir=/var/qmail/vpopmail --enable > -clear-passwd=n > # > # Compiler output produced by configure, useful for debugging > # configure, is in ./config.log if it exists. > [root@gemini qmailadmin-1.0.6]# > > ~vpopmail == /var/qmail/vpopmail > > |This is from my Qmailadmin 1.05 tarball. It should also be in > |Qmailadmin 1.06 as the 1.06 release was only to fix security problems. > | > | --enable-user-index={Y|n} Display user index on show usersw page, > |Default is yes. > > So this option shouldn't have any effect on what I'm seeing? > > I tried browsing my apache logs for error messages (none), > /var/log/messages, /var/log/maillog, qmail logs... is there anywhere else I > should be looking for output that might give me clues? Do cgi errors appear > in a different place than your normal myserver-error_log files? > > Thanks, > > Chris > > > James Smallacombe PlantageNet, Inc. CEO and Janitor [EMAIL PROTECTED] http://3.am =
Re: [qmailadmin] Yikes! users disappear from qmailadmin interface
On Thu, 15 Aug 2002, Trey Nolen wrote: > We had this happen when upgrading to qmailadmin 1.0.2. It happened because > of clear text passwords. In our old version, they were disabled (because > they were not default) and in Qmailadmin 1.0.2, they ARE default, so they > got enabled. The extra field in the vpasswd file caused the users to not > show up, but everything else worked. Could that be your issue as well? Well, it describes the probem exactly, except that even users created after the rebuilding of vpopmail don't show up. If I run vmoduser -C "" per the FAQ on a user, that user still doesn't show up. I then did a make clean, make distclean and reconfigured, built and installed vpopmail, did a make clean and make install-strip on qmailadmin, and the old accounts are showing up again. However, the accounts created between these two rebuilds do not. So, I did: ~vpopmail/bin/vmoduser -e "" [EMAIL PROTECTED] And that brought that user back. Hopefully, not too many new accounts were created in that 18 hour period...I'll have fun checking, though :) > > I just reconfigured and reinstalled vpopmail 5.3.8 to enable roaming users > > and change the location of the tcp.smtp file to the qmail default /etc, > > then recompiled and reinstalled qmailadmin 1.0.2 doing a simple "make > > clean" and "make install" and now when you log in as postmaster, none of > > the users show up for the domain. > > > > users can still send/receive and authenticate, and the postmaster can even > > add new users, but cannot see or modify any of them...dunno what I broke, > > but looking at the config options doesn't show me anything obvious...any > > pointers really appreciated... James Smallacombe PlantageNet, Inc. CEO and Janitor [EMAIL PROTECTED] http://3.am =
Re: [qmailadmin] Yikes! users disappear from qmailadmin interface
You might want to take a look a the cdb_clearpass.sh script. That's what we used to clear up this problem. It's in the contrib directory in the vpopmail source. It's not officialy supported but "it worked for me." It basically just adds the clear text password field to every user in every domain. Daniel Johnson [EMAIL PROTECTED] On Thu, 2002-08-15 at 09:27, [EMAIL PROTECTED] wrote: > On Thu, 15 Aug 2002, Trey Nolen wrote: > > > We had this happen when upgrading to qmailadmin 1.0.2. It happened because > > of clear text passwords. In our old version, they were disabled (because > > they were not default) and in Qmailadmin 1.0.2, they ARE default, so they > > got enabled. The extra field in the vpasswd file caused the users to not > > show up, but everything else worked. Could that be your issue as well? > > Well, it describes the probem exactly, except that even users created > after the rebuilding of vpopmail don't show up. If I run > vmoduser -C "" > per the FAQ on a user, that user still doesn't show up. > > I then did a make clean, make distclean and reconfigured, built and > installed vpopmail, did a make clean and make install-strip on qmailadmin, > and the old accounts are showing up again. However, the accounts created > between these two rebuilds do not. So, I did: > > ~vpopmail/bin/vmoduser -e "" [EMAIL PROTECTED] > > And that brought that user back. Hopefully, not too many new accounts > were created in that 18 hour period...I'll have fun checking, though :) > > > > I just reconfigured and reinstalled vpopmail 5.3.8 to enable roaming users > > > and change the location of the tcp.smtp file to the qmail default /etc, > > > then recompiled and reinstalled qmailadmin 1.0.2 doing a simple "make > > > clean" and "make install" and now when you log in as postmaster, none of > > > the users show up for the domain. > > > > > > users can still send/receive and authenticate, and the postmaster can even > > > add new users, but cannot see or modify any of them...dunno what I broke, > > > but looking at the config options doesn't show me anything obvious...any > > > pointers really appreciated... > > James Smallacombe PlantageNet, Inc. CEO and Janitor > [EMAIL PROTECTED] http://3.am > = >
[qmailadmin] A Bit OT: Auto IMAP folder creation
Does anyone know of a way to automatically create an IMAP for a user upon creation of that user? I'm using SpamAssassin and I'd like to automatically create a "JunkMail" IMAP folder for each user. Can this be done easily in qmailadmin, or perhaps via a script? I know I can use: maildirmake -f JunkMail /home/vpopmail/domains/[domain]/[user]/Maildir But is there a way to issue this AUTOMATICALLY?
RE: [qmailadmin] Yikes! users disappear from qmailadmin interface
That was my other question - there's no contrib directory in the tarball i downloaded (1.06), and no cdb_clearpass.sh script |-Original Message- |From: Daniel Johnson [mailto:[EMAIL PROTECTED]] |Sent: Friday, 16 August 2002 00:37 |To: [EMAIL PROTECTED] |Cc: Trey Nolen; [EMAIL PROTECTED] |Subject: Re: [qmailadmin] Yikes! users disappear from qmailadmin |interface | | |You might want to take a look a the cdb_clearpass.sh script. That's |what we used to clear up this problem. It's in the contrib |directory in |the vpopmail source. It's not officialy supported but "it worked for |me." It basically just adds the clear text password field to |every user |in every domain. | |Daniel Johnson |[EMAIL PROTECTED]
RE: [qmailadmin] Yikes! users disappear from qmailadmin interface
Fixed!!! I know how to fix it!!! Ok, if you look inside the vpasswd file for the domain in question, it'll look like: [root@gemini rubbish.com.au]# cat vpasswd bob:$1$aSthq$AleSik0n9zbwnXpZk9gac0:1:0:bob:/var/qmail/vpopmail/domains/rubb ish.com.au/bob:16384000:bob postmaster:$1$Y8YPp$0JPQErC9DzaVYPrpz3r5o0:1:0:Postmaster:/var/qmail/vpopmai l/domains/rubbish.com.au/postmaster:16384000:sickritt --- If, however the first entry looks like: [root@gemini rubbish.com.au]# cat vpasswd bob:$1$aSthq$AleSik0n9zbwnXpZk9gac0:1:0:bob:/var/qmail/vpopmail/domains/rubb ish.com.au/bob:16384000 postmaster:$1$Y8YPp$0JPQErC9DzaVYPrpz3r5o0:1:0:Postmaster:/var/qmail/vpopmai l/domains/rubbish.com.au/postmaster:16384000:password --- Then nothing will show up. The important thing to note is that the **first** user has **no** clear text password. The quickest, and easiest way to fix in my case was the vi the vpasswd file and add ":" after each user (you don't need to actually add the password). To explain a bit further... if you had 20 users, and the first 10 had the clearpassword field set, and the 11th didn't, and users 12-20 did, then *no* users from 11 - 20 will show up in the web interface. The first 10 users will show up, however. Obviously, if you have many domains, and many users then you're not going to be able to do what I did, and I suggest you find that mysterious cdb-addclearpass script! Cheers, Chris |-Original Message- |From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] |Sent: Friday, 16 August 2002 00:27 |To: Trey Nolen |Cc: [EMAIL PROTECTED] |Subject: Re: [qmailadmin] Yikes! users disappear from qmailadmin |interface | | |On Thu, 15 Aug 2002, Trey Nolen wrote: | |> We had this happen when upgrading to qmailadmin 1.0.2. It |happened because |> of clear text passwords. In our old version, they were |disabled (because |> they were not default) and in Qmailadmin 1.0.2, they ARE |default, so they |> got enabled. The extra field in the vpasswd file caused the |users to not |> show up, but everything else worked. Could that be your |issue as well? | |Well, it describes the probem exactly, except that even users created |after the rebuilding of vpopmail don't show up. If I run |vmoduser -C "" |per the FAQ on a user, that user still doesn't show up. | |I then did a make clean, make distclean and reconfigured, built and |installed vpopmail, did a make clean and make install-strip on |qmailadmin, |and the old accounts are showing up again. However, the |accounts created |between these two rebuilds do not. So, I did: | |~vpopmail/bin/vmoduser -e "" [EMAIL PROTECTED] | |And that brought that user back. Hopefully, not too many new accounts |were created in that 18 hour period...I'll have fun checking, though :) | |> > I just reconfigured and reinstalled vpopmail 5.3.8 to |enable roaming users |> > and change the location of the tcp.smtp file to the qmail |default /etc, |> > then recompiled and reinstalled qmailadmin 1.0.2 doing a |simple "make |> > clean" and "make install" and now when you log in as |postmaster, none of |> > the users show up for the domain. |> > |> > users can still send/receive and authenticate, and the |postmaster can even |> > add new users, but cannot see or modify any of |them...dunno what I broke, |> > but looking at the config options doesn't show me anything |obvious...any |> > pointers really appreciated... | |James SmallacombePlantageNet, Inc. CEO and Janitor |[EMAIL PROTECTED] http://3.am =
Re: [qmailadmin] Yikes! users disappear from qmailadmin interface
Yeah, that's exactly what we had. Only problem was we do have a lot of domains. If you interested I'll be glad to send up that script (it's quite small <1k). Daniel Johnson [EMAIL PROTECTED] - Original Message - From: "Chris Herrmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "'Trey Nolen'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, August 15, 2002 8:14 PM Subject: RE: [qmailadmin] Yikes! users disappear from qmailadmin interface > Fixed!!! I know how to fix it!!! > > Ok, if you look inside the vpasswd file for the domain in question, it'll > look like: > > [root@gemini rubbish.com.au]# cat vpasswd > bob:$1$aSthq$AleSik0n9zbwnXpZk9gac0:1:0:bob:/var/qmail/vpopmail/domains/rubb > ish.com.au/bob:16384000:bob > postmaster:$1$Y8YPp$0JPQErC9DzaVYPrpz3r5o0:1:0:Postmaster:/var/qmail/vpopmai > l/domains/rubbish.com.au/postmaster:16384000:sickritt > > --- > If, however the first entry looks like: > [root@gemini rubbish.com.au]# cat vpasswd > bob:$1$aSthq$AleSik0n9zbwnXpZk9gac0:1:0:bob:/var/qmail/vpopmail/domains/rubb > ish.com.au/bob:16384000 > postmaster:$1$Y8YPp$0JPQErC9DzaVYPrpz3r5o0:1:0:Postmaster:/var/qmail/vpopmai > l/domains/rubbish.com.au/postmaster:16384000:password > > --- > > Then nothing will show up. The important thing to note is that the **first** > user has **no** clear text password. The quickest, and easiest way to fix in > my case was the vi the vpasswd file and add ":" after each user (you don't > need to actually add the password). > > To explain a bit further... if you had 20 users, and the first 10 had the > clearpassword field set, and the 11th didn't, and users 12-20 did, then *no* > users from 11 - 20 will show up in the web interface. The first 10 users > will show up, however. > > Obviously, if you have many domains, and many users then you're not going to > be able to do what I did, and I suggest you find that mysterious > cdb-addclearpass script! > > Cheers, > > Chris > > > |-Original Message- > |From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > |Sent: Friday, 16 August 2002 00:27 > |To: Trey Nolen > |Cc: [EMAIL PROTECTED] > |Subject: Re: [qmailadmin] Yikes! users disappear from qmailadmin > |interface > | > | > |On Thu, 15 Aug 2002, Trey Nolen wrote: > | > |> We had this happen when upgrading to qmailadmin 1.0.2. It > |happened because > |> of clear text passwords. In our old version, they were > |disabled (because > |> they were not default) and in Qmailadmin 1.0.2, they ARE > |default, so they > |> got enabled. The extra field in the vpasswd file caused the > |users to not > |> show up, but everything else worked. Could that be your > |issue as well? > | > |Well, it describes the probem exactly, except that even users created > |after the rebuilding of vpopmail don't show up. If I run > |vmoduser -C "" > |per the FAQ on a user, that user still doesn't show up. > | > |I then did a make clean, make distclean and reconfigured, built and > |installed vpopmail, did a make clean and make install-strip on > |qmailadmin, > |and the old accounts are showing up again. However, the > |accounts created > |between these two rebuilds do not. So, I did: > | > |~vpopmail/bin/vmoduser -e "" [EMAIL PROTECTED] > | > |And that brought that user back. Hopefully, not too many new accounts > |were created in that 18 hour period...I'll have fun checking, though :) > | > |> > I just reconfigured and reinstalled vpopmail 5.3.8 to > |enable roaming users > |> > and change the location of the tcp.smtp file to the qmail > |default /etc, > |> > then recompiled and reinstalled qmailadmin 1.0.2 doing a > |simple "make > |> > clean" and "make install" and now when you log in as > |postmaster, none of > |> > the users show up for the domain. > |> > > |> > users can still send/receive and authenticate, and the > |postmaster can even > |> > add new users, but cannot see or modify any of > |them...dunno what I broke, > |> > but looking at the config options doesn't show me anything > |obvious...any > |> > pointers really appreciated... > | > |James Smallacombe PlantageNet, Inc. CEO and Janitor > |[EMAIL PROTECTED] > http://3.am > = > > >