Difference between revisions of "Bitmessage"
m (→Use your mail client as the UI) |
m (→Use your mail client as the UI) |
||
Line 2: | Line 2: | ||
Brilliant little script that sets up a basic ''POP3'' and ''SMTP'' server on ''localhost'' to give Bitmessage an email interface for example that Thunderbird can connect to. This mean the messages can be organised in a local folder structure or easily coped to your ''IMAP'' structure. | Brilliant little script that sets up a basic ''POP3'' and ''SMTP'' server on ''localhost'' to give Bitmessage an email interface for example that Thunderbird can connect to. This mean the messages can be organised in a local folder structure or easily coped to your ''IMAP'' structure. | ||
1. First enable the [https://bitmessage.org/wiki/API_Reference Bitmessage API] in your local ''keys.dat'' configuration file. | 1. First enable the [https://bitmessage.org/wiki/API_Reference Bitmessage API] in your local ''keys.dat'' configuration file. | ||
+ | |||
2. Install the [https://github.com/Dokument/PyBitmessage-Daemon PyBitmessage-Daemon] script into your home folder (I used <tt>git clone git://github.com/Dokument/PyBitmessage-Daemon.git</tt> for easy update) and run it with <tt>python daemon.py</tt>. | 2. Install the [https://github.com/Dokument/PyBitmessage-Daemon PyBitmessage-Daemon] script into your home folder (I used <tt>git clone git://github.com/Dokument/PyBitmessage-Daemon.git</tt> for easy update) and run it with <tt>python daemon.py</tt>. | ||
+ | |||
3. Install the [http://github.com/Arceliar/bmwrapper bmwrapper] into your home (I used git clone again) | 3. Install the [http://github.com/Arceliar/bmwrapper bmwrapper] into your home (I used git clone again) | ||
+ | |||
4. Set up an account on your mail client on ''localhost'', POP3 on ''12344'' and SMTP on ''12345'' as shown [https://github.com/Arceliar/bmwrapper here]. | 4. Set up an account on your mail client on ''localhost'', POP3 on ''12344'' and SMTP on ''12345'' as shown [https://github.com/Arceliar/bmwrapper here]. | ||
+ | |||
5. Create a ''.desktop'' file that runs a launch shell script | 5. Create a ''.desktop'' file that runs a launch shell script | ||
+ | |||
6. Create the launch script that runs a separate launch script for each of the three e.g. | 6. Create the launch script that runs a separate launch script for each of the three e.g. | ||
{{code|<pre>#!/bin/sh | {{code|<pre>#!/bin/sh | ||
Line 13: | Line 18: | ||
7. Create each of the three launchers one to run each of the scripts with ''python2.7'', for example the first of mine is: | 7. Create each of the three launchers one to run each of the scripts with ''python2.7'', for example the first of mine is: | ||
{{code|<pre>python2.7 ~/PyBitmessage/src/bitmessagemain.py</pre>}} | {{code|<pre>python2.7 ~/PyBitmessage/src/bitmessagemain.py</pre>}} | ||
+ | |||
8. Ensure all the launchers have executable permission. This complicated procedure is required because each one is a daemon that doesn't return and won't run in the background using the ampersand. | 8. Ensure all the launchers have executable permission. This complicated procedure is required because each one is a daemon that doesn't return and won't run in the background using the ampersand. | ||
+ | |||
9. You can check if they're running with '''netstat -nlp''' and check you have apps listening on ''8442'', ''12344'' and ''12345'', e.g. | 9. You can check if they're running with '''netstat -nlp''' and check you have apps listening on ''8442'', ''12344'' and ''12345'', e.g. | ||
{{code|<pre> | {{code|<pre> |
Revision as of 19:46, 19 June 2013
Use your mail client as the UI
Brilliant little script that sets up a basic POP3 and SMTP server on localhost to give Bitmessage an email interface for example that Thunderbird can connect to. This mean the messages can be organised in a local folder structure or easily coped to your IMAP structure. 1. First enable the Bitmessage API in your local keys.dat configuration file.
2. Install the PyBitmessage-Daemon script into your home folder (I used git clone git://github.com/Dokument/PyBitmessage-Daemon.git for easy update) and run it with python daemon.py.
3. Install the bmwrapper into your home (I used git clone again)
4. Set up an account on your mail client on localhost, POP3 on 12344 and SMTP on 12345 as shown here.
5. Create a .desktop file that runs a launch shell script
6. Create the launch script that runs a separate launch script for each of the three e.g.
7. Create each of the three launchers one to run each of the scripts with python2.7, for example the first of mine is:
8. Ensure all the launchers have executable permission. This complicated procedure is required because each one is a daemon that doesn't return and won't run in the background using the ampersand.
9. You can check if they're running with netstat -nlp and check you have apps listening on 8442, 12344 and 12345, e.g.