Change $username and $password to your own choice. $ sqlite3 ~/.bdsmail/localhost.sqlite < user_table.sql We then need to create the table in the file that the config file is pointing to. Call it user_table.sql, it should contain these lines: # Create database table userĬREATE TABLE `user` (`name` TEXT PRIMARY KEY NOT NULL, `login` TEXT NULL, `maildir` TEXT NULL) ![]() First, we need to create a text file with the table description. The BDSMail setup doesn't come with functions to setup the user database, so we need to do that manually. The mail server maildir will be in /home/pi/source/i2p/bdsmail/mail/ Setup the database This config file should look something like this: Ĭhange the database line to read database = /home/pi/.bdsmail/localhost.sqlite Create a config fileĪfter the compilation is done, change into the bin directory, and create a basic config file, and write it to ~/.bdsmail/config.ini $ mkdir ~/.bdsmail Then, set the GOBIN variable to point to the bin directory in the current directory, and start building the software with make $ go env -w GOBIN=$HOME/source/i2p/bdsmail/binĪll compiled executable files will be written to the directory /home/pi/source/i2p/bdsmail/bin/. Then clone the git repostitory that holds all the BDSMail files, and change to that directory. Those are installed with $ sudo apt install sqlite3 git makeįirst create a directory to hold the I2P related files and change to that directory: $ mkdir -p ~/source/i2p/ You also need the version control software git and the build system make. The pre packaged version works just fine. To function properly, Sqlite 3 is needed. I keep all I2P-related source code that I download in /home/pi/source/i2p/ so that's where this tutorial will keep its files. How to install Go and enable SAM is not a part of this tutorial. If you see any errors in this howto, don't hesitate to reach out. Please don't rely on this howto for sending sensitive information.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |