Need "db_load" or alternate users text file for Cyrus
Denis BUCHER
dbucherml at hsolutions.ch
Sun Dec 6 12:02:12 EST 2009
Dear all,
Denis BUCHER a écrit :
> This question is not directly related to cyrus, but to alternate users
> and passwords config file, therefore I hope it's still on topic...
>
> On our mail server we are using a very simple file for mail users.
> This file is used by cyrus and postifx.
>
> This is how it works :
>
> The /etc/mails/mails.txt is a text file containing groups of two lines,
> one for login and one for passwd. Therefore if we have 100 users, the
> file is 200 lines long.
>
> And to generate the file used by cyrus and postfix we do the following :
>
> db_load -T -f /etc/mails/mails.txt -t hash /etc/mails/mails.db
>
> Problem :
> On SuSE it was working but I don't find db_load on Debian...
>
> Does someone either know where I can find db_load for Debian (would be
> the best to avoid changing our admin scripts) or another text file
> format I could use easily ?
>
> Thanks a lot for any help !
Ok in fact after having searched for week, of course I found the
solution just after having posted my question ;-)))
In fact the solution is simple, db_load is part of Berkeley DB, and the
difficult resided simple in the fact that under Debian it is named
db4.6_load...
And it was already installed on my system...
For those who need to install it, the package name is : db4.6-util,
db4.8-util and so on...
Denis
More information about the Info-cyrus
mailing list