[vchkpw] vpasswd.cdb problems?
I tried the qmailadmin list to no avail, but since this appears that it might be a vchkpw problem, I thought I'd try here. I am trying to make the following upgrades: qmailadmin 1.0.2 to 1.2.10 vpopmail 5.3.8 to 5.4.13 sqwebmail 4.0.3 to 5.1.2 the vpopmail users password files are simple .cdb files in: ~vpopmail/domains/somedomain.com/vpasswd.cdb If I create a new test domain, postmaster and users, they all authenticate fine in qmailadmin and sqwebmail. The old domains that I copied over do not, even though the format looks the same to me. I checked the docs for vconvert, but they seem to only pertain to converting to another database format. Is there something I'm missing here? TIA! James Smallacombe PlantageNet, Inc. CEO and Janitor [EMAIL PROTECTED] http://3.am =
Re: [vchkpw] vpasswd.cdb problems?
Please disregard this. I stupidly forgot all about the /var/qmail/users file. On Fri, 25 Aug 2006 [EMAIL PROTECTED] wrote: > > I tried the qmailadmin list to no avail, but since this appears that it > might be a vchkpw problem, I thought I'd try here. I am trying to make > the following upgrades: > > qmailadmin 1.0.2 to 1.2.10 > vpopmail 5.3.8 to 5.4.13 > sqwebmail 4.0.3 to 5.1.2 > > the vpopmail users password files are simple .cdb files in: > > ~vpopmail/domains/somedomain.com/vpasswd.cdb > > If I create a new test domain, postmaster and users, they all authenticate > fine in qmailadmin and sqwebmail. The old domains that I copied over do > not, even though the format looks the same to me. > > I checked the docs for vconvert, but they seem to only pertain to > converting to another database format. Is there something I'm missing > here? > > TIA! > > James Smallacombe PlantageNet, Inc. CEO and Janitor > [EMAIL PROTECTED] > http://3.am > = > > > James Smallacombe PlantageNet, Inc. CEO and Janitor [EMAIL PROTECTED] http://3.am =
[vchkpw] List of all domains?
Hi, Just wondering what the canonical way is to get a list of all domains on a server? I've come up with this: vdominfo | \ perl -ne 'if ((/^domain: /) && !(/alias of/)) \ { s/^domain: //; print; }' For clarity, the perl code is equivalent to: while (<>) { if ( (/^domain: /) && !(/alias of/)) { s/^domain: //; print; } } The algorithm is: For every line: if it starts with "domain: " and does not contain the text "alias of" delete "domain: " from the start of the line print the line Any other ideas? R.