I found I couldn't import them by sending the variables to
dbmail-users. I finally wrote a perl script to talk directly to the
database to create the user, alias and mailbox that way. bash wasn't
liking the dollar signs '$' too much. I changed the password encryption
from md5-hash to md5 and that did the trick. I'll be able to import
several domains back in house from an outside vendor that uses c-panel
and multiple password/shadow files. I think they're using vimapd and
vpopd to do their multiple domains.
I've set up with postfix/amavisd-new/spamassassin/clamav/dbmail. So
far, I'm very pleased with the setup. I'm working on a set of php
scripts to manage it all and to give users management over their mail
and spamassassin settings. This same setup and also be used filter mail
for external servers (sort of the way postini does things.) Its very
flexible and very fast on moderate hardware. Oh, yeah. Its on Gentoo
Linux 2004.3 with a 2.6.10 kernel. Its very solid.
Thanks for the help.
Curtis
M. J. [Mike] O'Brien wrote:
I believe they will migrate but you must change the
encryption type in the database to "md5sum" once they are
imported. Try importing them into a unique group
(client_idnr) and then use an SQL statement applying it to
that client_idnr exclusively to change all encrypt type to
'md5sum' for your md5 hash lot.
If md5-hash is entered in the database with the transfer,
DbMail will read it as md5 digest and look for the random
seed to decrypt.
In short, if your truly mean md5 hash, a one-way hash
algorithm defined by RFC1321, then md5sum is what should be
in the database as encrypt type.
Mike
----- Original Message -----
From: "Curtis Maurand" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, March 11, 2005 10:09 PM
Subject: [Dbmail] importing usernames and passwords
Hello,
I'm trying to import system accounts from one machine to
another.
Passwords that were encrypted using the LInux crypt function
import fine
by inserting them directly into the database and setting the
password
encryption to crypt . However, passwords that were
encrypted using
md5-hash are not working. Will those passwords be
impossible to import
from another system?
Thanks in advance,
Curtis
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail