Re: Need "db_load" or alternate users text file for Cyrus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux