🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #261513

How to set up Thunderbird for Anonymous Messaging

#261513
From: Rooster
Date: Wed, 27 Feb 2013 04:58
800 lines
40021 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


[snip]

Message-ID: <51281AA8.8040706@thechickencoop.net>

> Unless you are reckless and lazy, or you want to give your 
> adversary the advantage, it makes no sense to use anything but the 
> best options available to you for anonymous messaging, those that 
> utilize the best technology and are developed with best-practices 
> as a guidepost. Thunderbird should be at the top of your list of 
> options.
> 
> 
> 
> "Knowledge will set you free." - Rooster
> 
> 

As a follow up now, I want to provide an explanation of specific
settings for a secure configuration in Windows, which would enable you
to make anonymous messages with Thunderbird as the front-end and
Mixmaster as the remailer client. This present configuration is not
limited only to Windows 8, as the previous post was focusing on
primarily, but would work on any Windows version from Win XP Pro to Win
8 Pro, 32- or 64-bit. Nor is this configuration the only one that I have
used effectively (and still do occasionally). There are variations that
I would recommend also. But this is a good setup for sure, and one of my
favorite in Windows.

Although doing so is certainly an option, I strongly recommend not
installing these programs directly on Windows, whenever possible, but,
instead, using an external or flash drive on a good USB and simply
extracting the programs to folders in it. There are different speed USB
drives nowadays with substantial gains in performance and stability in
the faster of them. The price difference should not really be much of a
barrier because for this purpose you do not need a large one.

Alternatively, another good option. one that avoids the cost of a USB,
would be to extract the programs into a folder on your internal hard
drive and use really good encryption on it, like Truecrypt. Then,
install a virtual machine on your system, running Windows, and make this
folder accessible to it temporarily at runtime by mapping a drive to the
VM from a share. You can decrypt the folder when you need access, but
the programs will be run only in the VM and even at that point they will
not be installed on either OS. Still, being Windows, it will require a
little scrubbing afterwards if you want to remove the traces.

The following programs are what you will need to get, along with their
URLs. You should take care to verify the integrity of downloads with
signatures or hash values, etc. It really takes very little effort to
perform the verification procedure if you get one which you can set up
to send files to it with a quick right-click in Windows context menu.
There are a number of free programs for quickly computing hash values.
Here are the programs you need:


Tor Browser Bundle
https://www.torproject.org/projects/torbrowser.html.en

Thunderbird Portable 17.0.2
http://portableapps.com/apps/internet/thunderbird_portable

Thunderbird Add-on Enigmail 1.5.1
https://addons.mozilla.org/en-US/thunderbird/addon/enigmail/

Thunderbird Add-on TBTracer 0.6
https://addons.mozilla.org/en-US/thunderbird/addon/tbtracer/versions/?page=1#version-0.6

Gnupg 1.4x binaries for Windows
http://downloads.sourceforge.net/portableapps/GPG_for_Thunderbird_Portable_1.4.12.paf.exe?download

Mixmaster for Windows
http://downloads.sourceforge.net/project/mixmaster/Mixmaster/3.0b2/mixmaster-3.0b2.tar.gz?r=http%3A%2F%2Fwww.download32.com%2Fmixmaster-d78291.html&ts=1360736813&use_mirror=iweb

Stunnel
https://www.stunnel.org/downloads/stunnel-4.54-installer.exe

Socat
http://blog.gentilkiwi.com/downloads/socat-1.7.2.1.zip

Cotse News2Remail Proxy
https://www.cotse.net/news2remail/news2remail.zip


I want to make a few comments about installation of these programs. It
should be obvious that the first one to install is also the first one
listed above, the Tor Browser Bundle. When I say you will install them,
all I mean is that you should simply extract the contents of the
downloaded package into the folder where you intend to put these
programs. Don't plan on utilizing a Windows Installer for doing so. Use
a program like 7-Zip, which would allow you to extract files even when
the package is made with an EXE self-extractor. Put these files into the
same directory structure that they have in the archived packages. When
you fire up the TBB, it will create the necessary settings for you to
begin using Firefox and Tor immediately. Therefore, you can use it for
downloading the other programs anonymously if you like.

In the future, whenever you want to use a program with Tor, just start
the TBB program first and it will start Tor, and you should be good to
go with Tor ready to accept connections over its socks proxy. You would
only need to be sure that any other program is configured to use the
proxy properly. In our case, both Thunderbird and Socat will feed into
the proxy directly while the rest of them link together in a chain.

One more point I want to make is in regard to the ports to use in the
settings such as you will see in my illustration. The port settings are
flexible, and I have pretty much "grabbed them out of the blue" for sake
of discussion. The main thing to keep in mind is that you want to avoid
using a port that is restricted or that is going to be used by another
program. If you use some port numbers right around those I show here,
you should be safe enough, but everybody's situation is slightly
different and you will need to keep that in mind in your decision. In
addition, for sake of discussion, let's assume that these programs will
be installed into folders like this:

x:\applications\torbrowser
x:\applications\thunderbirdportable
x:\applications\mixmaster
x:\applications\news2remail
x:\applications\stunnel
x:\applications\socat
x:\applications\logging

The order of the remaining programs to download and install is rather
arbitrary, but let's start at the one closest to the Tor proxy
connection since the TBB already is up and ready after extracting it all
to the folder shown above. You would only need to click the TBB icon and
that would start tor and Firefox with your configuration settings
already set. That is a big plus.

The next thing we need is socat. In my configuration you will have two
socat connections over the Tor network, one for SMTP and one for NNTP,
the first one to be used for sending Mixmaster messages and the second
one for retrieving news from your news server. This is not absolutely
necessary, but it does improve security. It also allows other options as
we will see later. These separate commands can be used:

socat -lf x:\applications\logging\socat_nntp.log -d -d
tcp4-listen:5630,fork socks4a:localhost:188.40.76.149:563,socksport=9050


socat -lf x:\applications\logging\socat_smtp.log -d -d
tcp4-listen:5870,fork socks4a:localhost:188.40.76.149:587,socksport=9050


Each of these is one whole line long. They should be put into separate
text files, using Notepad for example, one labeled "socat1.bat" and the
other, "socat2.bat". Save these files in the same socat folder where the
rest of the program's files are kept, as you see above. These batch
files will be run AFTER you start the TBB and have established good tor
connectivity. These commands serve multiple purposes. They will create
logs in files socat_nntp.log and socat_smtp.log, which will be placed in
x:\applications\logging, which is where the other programs will place
their logs too.

In the examples above, and throughout this entire procedure for sake of
clarity and convenience, I have chosen to illustrate it with the IP
address of Snorky for. Here we are using the SMTP server and NNTP server
of Snorky. These are indeed valid for connections. They work, and they
work well too, but you can certainly use any other servers with which
you can make such connections over the tor network, etc.

You will also need to verify with Vidalia that the TBB setting
configured port 9050 as the socks port. It is the default and probably
correct, but it never hurts to verify it. Just use the Advanced panel in
Vidalia's settings dialogue and open the torrc file, in which you should
see these, among others:

SocksListenAddress 127.0.0.1
SocksPort 9050

You will be able to see the status of your tor connection using the
Vidalia program. Nevertheless, I encourage you to get familiar with
Windows Resource Monitor or TCPView in order to monitor TCP connections
more closely. This is an important part of learning how to keep an eye
on it and in gaining confidence in what is happening on your system.
Those two programs are free and not difficult to use for our purposes.

To start the socat connection, just go to a Windows command line
interface and cd to the socat directory as above, then issue the command
"socat1.bat". It should make a connection to tor, but nothing more,
because at this point it is only listening. Minimize the Windows CLI
window. Then, open a different Windows CLI window and do the same
procedure except for this time use the command "socat2.bat", etc. There
is nothing more to do for socat, no config file to fiddle with. It is
now connected to tor and waiting for input, which we will configure
shortly.

There is a handy alternative to having to open Windows CLI and cd-ing to
a folder (e.g., socat) of your choice.  The following procedure will
allow you simply to right-click the folder in Explorer and select, "Open
Command Prompt Here" so that you can save some time, not only in this
procedure but in any case where you may need to use the CLI in Windows.
You may want to take a look at this information:

http://superuser.com/questions/240279/windows-open-command-prompt-window-without-holding-shift

The next program we want to set up is stunnel, for which we need to
create a config file named "stunnel.conf". Actually, we don't need to
create from scratch because when you extract the program to the stunnel
folder, one will be created. We just need to modify it for our purpose.
The following settings will suffice in our "stunnel.conf""

- -----------

; Authentication stuff
;verify = 2
; Don't forget to c_rehash CApath
;CApath = certs
; It's often easier to use CAfile
;CAfile = certs.pem
; Don't forget to c_rehash CRLpath
;CRLpath = crls
; Alternatively you can use CRLfile
;CRLfile = crls.pem


debug = 6
output = x:\applications\logging\stunnel.log

; Using stunnel in client mode
client = yes
fips = no

; Service-level configurations

;[pop3s]
;accept  = 995
;connect = 110

;[imaps]
;accept  = 993
;connect = 143

;[ssmtp]
;accept = 465
;connect = 25

;[https]
;accept  = 443
;connect = 80
;TIMEOUTclose = 0


;# stunnel should act as a client to remote servers
sslVersion = all


[mixmaster_to_snorky]
accept = 127.0.0.1:25
connect = 127.0.0.1:5870
protocol = smtp
delay = no

[newsreader_to_mixmin.net]
accept = 127.0.0.1:120
connect = 127.0.0.1:5630
CAfile = peer-newsreader_to_mixmin.net.pem
verify = 3
- --------------

Once again I have made use of a Snorky server feature here in the last
part where I used a setting to make stunnel authenticate its connection
with Snorky's news server by verifying the server's pem certificate.
This PEM file, which you can get from Snorky's admin or his website,
should be placed in the same folder as the "stunnel.conf" file, to be in
accord with what you see above. If you do not want to verify your news
server connection (for some reason?), then just remove the last two
lines of this config file and don't worry about getting the cert.
However, I think you should have it for improved security, which is
after all the fundamental purpose of this laborious procedure.

Firstly, this configuration file will allow stunnel to connect to
socat1, and hence to tor, on port 5630 as you see above, while accepting
connections from the Cotse News2Remail Proxy, using port 120, on the
other side, for the purpose of listening to the remote news server and
receiving news articles securely over the tor network. Secondly, this
configuration will allow stunnel to connect to socat2, and hence to tor,
on port 5870 as you see above, while accepting connections from
Mixmaster, using port 25, on the other side, for the purpose of
conveying news messages to the remailers securely over the tor network.

Once you have started up socat as described above, ONLY THEN should you
start up stunnel by using Windows CLI in the stunnel folder and issuing
this command at the prompt:

stunnel stunnel.conf

After doing so you should see a little stunnel icon in the system tray
and you can verify the connections using Windows Resource Monitor or
TCPView, etc, just as you saw with socat. So far there will be no
throughput with socat or stunnel because you have not yet initiated data
with Thunderbird. You will, or should anyway, see these ports open for
these programs and connected to each other at these ports, but ONLY tor
should have a connection to a remote endpoint IP address. None of these
programs should have remote connections for external IP addresses, not
now or at any time. ONLY tor gets connected remotely, or else you have a
problem that needs to be corrected.

Now we can set up the Mixmaster program. It too uses a simple
configuration file.

- ------------------
REMAIL		n
SHORTNAME	unknown
REMAILERADDR	user@unknown
COMPLAINTS	user@unknown

NAME
ADDRESS user@unknown.net
SMTPRELAY 127.0.0.1
HELONAME unknown.net
#SENDMAIL outfile
VERBOSE 3
ERRLOG x:\applications\logging\mixlog.txt
OUTDUMMYP  65
MAXLAT 2h

CHAIN *,*,*,*
NUMCOPIES 3
ENVFROM user@unknown
ALLPINGERSURL http://drsnoid.cotse.net/allpingers.txt

- ----------------------

The above configuration results in Mixmaster sending messages to
localhost on port 25 (by default), which is where we have stunnel
listening. The Mixmaster program does not "listen" for a connection, but
it receives input from the Cotse News2Remail Proxy program. It then
passes data to stunnel, which then passes data to socat and onward to
tor, which eventually hands them off to the first remailer configured in
your News2Remail configuration file.

On the other hand, one of the benefits of having these programs set up
like this is that we can also use Mixmaster independently of the
News2Remail Proxy without changing a thing and still have the messages
get sent out through stunnel and socat and tor so long as we have them
up and running too. As a matter of fact, you are supposed to have
Mixmaster fully functional BEFORE trying to use the News2Remail program
with it. In the case where you use Mixmaster independently, it would use
the configuration settings in this file or those you make use of on the
command line, instead of using the settings from the News2Remail Proxy.
Consequently, it will be necessary for you to update your stats for
Mixmaster by using its functionality, not by relying on the
functionality of the News2Remail program, which is apparently capable
but not so configured in our example. Frankly, I have not had much luck
updating stats using the N2R Proxy anyway. I was only partially
successful in doing so. If someone knows how to do so in such a way that
can be shared and used by others, it would be welcome information.

As far as using Mixmaster for our purposes, it is enough to have it set
up and functional only, because it never has to be started except when
you want to update stats with it. The News2Remail Proxy makes use of it
without requiring that it be loaded into memory beforehand, unlike the
other programs in our process, which do in fact have to be started up
methodically, as I have already described.

The FIRST time you run Mixmaster, it will take a little while to create
"mixrand.bin" and a minimal configuration file (i.e., "mix.cfg"), which
will be placed either in %appdata%\mixmaster or in the location
specified by an environment variable MIX3PATH=<path>. So you can create
this variable ahead of time if you want to designate its location.
Whether you make this a permanent variable or not is up to you. If you
want a temporary one only, then at the Windows CLI at the prompt BEFORE
you run Mixmaster, you would need to enter this command:

set MIX3PATH=<path>

So maybe you would want to use x:\applications\mixmaster. If you forget
to run this command and you have not set up the environment variable
permanently (so you would not have to repeat the command each time),
then Mixmaster will create some files in "%appdata%\mixmaster" sure
enough. In this case, you can leave it or delete it because it will not
be used unless you immediately start running Mixmaster. If you don't
want that to happen, then just close the CLI, delete the file and open a
new CLI and run the command now before starting Mixmaster, this time
using the location where you want the program to look for these files.
Frankly, my recommendation is that you create a permanent environment
variable for MIX3PATH and be done with it.

Now we want to set up the Cotse News2Remail program. It too uses a
configuration file, called "news2remail.conf", and it too comes with one
already made, but you will need to modify it. You can make the
modifications to the downloaded example file using Windows Notepad.
This, for example, is how it might look when you have changed it, one
which is adequate for our scenario:

- ------------
# Limitations:
# Directories and filenames must not contain any spaces

# When set to yes the post is put in the file.  It is not posted.
# Left in from development for you to use to check headers, etc.
#debug=yes
#postfile=x:\applications\news2remail\cotse_N2R_testpost.txt

# Path to mixmaster and exe name (for compat with diff versions)
mixpath=x:\applications\mixmaster
# Some versions have it as mixmaste.exe
mixexe=mix.exe

# Port for news2remail to listen on
port=1990

# News server information
newsserver=127.0.0.1
newsport=120

# Defaults
mail2news=mail2news@m2n.mixmin.net,mail2news@dizum.com
chain=*,*,*,*
copies=3

## stats and keys
#Melontraffickers
#$mlist = "http://stats.melontraffickers.com/mlist2.txt";
#$type2 = "http://stats.melontraffickers.com/type2.list";
#$pubring = "http://stats.melontraffickers.com/pubring.mix";

# Comment out to listen on all available IPs
# By default it binds to localhost only
localonly=yes

# set to yes to shut off all STDOUT
quiet=no

[Stripped Headers]
User-Agent:
X-Newsreader:
Organization:

[Added Headers]
X-No-Archive: yes

- --------------------

The above configuration file serves two objectives. First off, it will
accept a connection from stunnel, which indirectly (from socat) feeds
back news messages from the remote news server (over tor) using port 120
in our example, and then it passes these messages on to the Thunderbird
news client using port 1990 as you see above and as we will put into the
Thunderbird account settings. Secondly, it uses some of the other
settings (headers, chain, etc.) to format a message for Mixmaster, which
is located at mixpath identified above. You can do quite a bit of
manipulation of the message headers in two places. Here in the
configuration file is one of them, and it is here where you should put
your normal, default settings for routine use with Mixmaster messaging.
Also, you can modify message headers with ad hoc headers by including
them at the top of messages created right within Thunderbird on the fly.
I will show you that part of it shortly. I also encourage you to read
the documentation for this program thoroughly. There is not a lot of it,
but it helps to study it so that you are aware of its capabilities and
limitations.

After you have started stunnel and let it make connections for a moment,
ONLY THEN should you start the News2Remail Proxy. In my experience it
all works better when you do it in this way. You should start it by
using Windows CLI in the program's folder, namely,
x:\applications\news2remail, as in our example, and typing "news2remail"
at the prompt.

News2Remail sends its connection logs to standard out, which will be the
Terminal for Windows CLI. When it starts running and connects to
stunnel, you will get a small amount of output in Terminal. Later, after
it gets connected to Thunderbird and data moves between them, you will
see a good deal of output in Terminal. This is normal and a good thing.
If you do not see it, something is wrong with your configurations, or
possible with your internet connections but you would likely know that
already.

So now we have come to the last program and the most important one,
Thunderbird. You can get the portable version at the URL I showed above.
This one is kept current with the regular full-blown version of
Thunderbird. Although it can be installed with the Portable App
Programs Manager & Installer program, we DO NOT want to install it like
that. Just download it and extract it to the Thunderbird folder as
above. It would help you to read the instructions with it, certainly, in
order to get familiar with this program and its functionality. It is an
awesome program, and well worth your investment in time to learn it. On
the other hand, I want to mention that you can also install the regular
version of Thunderbird and pretty much follow these very same
instructions for configuring and using it with the other programs
explained here. I make use of both on some machines, but both cannot be
up and running simultaneously on one OS. If you do decide to install the
regular version of Thunderbird, you may also want to install the
full-blown version of GnuPG instead of the portable version shown above.

We are going to accomplish four main objectives in setting up
Thunderbird. First, we are going to configure the program itself to use
tor. Second, we are going to set up two accounts for news, one of them
not directly connected to tor but to our Cotse News2Remail Proxy, which
in turn passes the messages on down the chain of programs starting with
Mixmaster, then to stunnel, then to socat, then over tor and finally
sent to remailers for delivering to usenet groups; the other news
account will be directly connected to tor via the socks proxy set up
by TBB. Lastly, we will set up Thunderbird with a tor connection for
IRC to the OFTC network for anonymous chatting. It is not hard to
accomplish if you have gotten this far and you take it a step at a time.

The installation itself of Thunderbird Portable edition is easy, and
there is not much point in my repeating the instructions for it, which
you will see here:

http://portableapps.com/support/thunderbird_portable#installing

At the same time, you can look at another post with clear instructions
put here a few days ago in a thread I started entitled "How to decrypt
your messages in 'a.a.m.' with Thunderbird," specifically, Message-ID:
<5129888F.4080703@thechickencoop.net>. I am assuming that you install
either Thunderbird Portable directly at "x:\thunderbirdportable", or
that you have decided to install the regular Thunderbird with a
full-blown Windows installation procedure.

Before configuring Thunderbird, we can go ahead and install the GnuPG
program if you did not have it installed already as the 2.1.x version.
The instructions for installing GnuPG 1.4.x I also already provided in
the same post I just mentioned.  It was posted on 02-23-2013 in this
newsgroup. You should follow those same instructions, which there is no
point in repeating now. You should have this program installed, one
version or the other, before starting to configure TBird itself.

Only AFTER having installed the GnuPG program should you now begin
installing the Enigmail extension for TBird. Regardless of which TBird
you decided to use, the full-blown installation or the portable
installation, the Enigmail extension makes use of the same plugin version.

When you then download the Enigmail extension from Mozilla from the link
referenced at the beginning of this post, you should place it into
x:\ThunderbirdPortable\App\DefaultData\plugins, which also will have
been created during installation of TBird Portable. Now we need to start
up the ThunderbirdPortable application by clicking on its executable at
x:\applications\ThunderbirdPortable\thunderbirdportable.exe. When you do
so, it will prompt you to start setting up accounts, but don't do so.
You should respond instead by clicking the button for "I think I'll
configure my account later." Then, if you do not see the menu bar,
right-click and choose to show it with the context menu that appears. In
the menu bar select Tools > Addons, and then select the drop-down next
to the search box and select the option to "Install Add-on from File."
Browse to your Enigmail XPI addon file in the plugins folder and select
it. At the ensuing dialogue, select the Enigmail extension on the list
and click the "Install Now" button. When it then informs you that it
will be installed after you restart Thunderbird, you should click the
button to Restart Now. Once again you will need to decline the prompting
to create a new account as you did before.

When TBird has restarted, you should see a new menu option called
OpenPGP along the top with the others. Open it and then click the
submenu item called Preferences. In this dialogue window you should
already see that it recognized the location of the "gpg.exe" at
"x:\applications\ThunderbirdPortable\app\gpg\gpg.exe", which is where it
was put earlier by its installation program. If it did not find it, you
should now browse to it and inform the program of its location, and you
should also select the checkbox labeled "Override with" just in front of
this edit box so that the program is forced to look here all the time.

In addition, unless you intend to use a pre-installed 2.1.x version of
gpg, in which case you already have created a gpg homedir where your
keyfiles are stored, then you now need to make a setting to correspond
with the gpg "homedir" for this installation. You should see a button
labeled "Expert Settings", which you need to click now. Doing so will
make some more tabs appear, and one of them is named "Advanced". Select
it and you will see near the bottom another text box, in which you need
to place this option: --homedir
x:\applications\ThunderbirdPortable\Data\gpg. Then you should click the
OK button to close this window. What this procedure will do is to allow
you to control where Windows will place your gpg home directory and
prevent it from writing such information (i.e., leaving traces)
elsewhere for the location of your key files and configuration settings,
in accordance with the instructions from GnuPG at
"http://www.gnupg.org/documentation/manuals/gnupg-devel/GPG-Configuration-Options.html",
like so:

	--homedir <path>	"Set the name of the home directory to the same
<path>. If this option is not used, the home directory	defaults to
~/.gnupg. It is only recognized when given on the command line. It also
overrides any home directory stated through the environment variable
GNUPGHOME or (on W32 systems) by means of the Registry entry
HKCU\Software\GNU\GnuPG:HomeDir."

If you have a preferred "gpg.conf" options file to use with this
configuration, you can place it in this homedir now. If you have a key
for a pseudonym, you should copy it to the homedir folder. Then, open
Thunderbird and use the functionality of Enigmail to import this key
into a keyring. Enigmail will create and maintain your unique userdata
set of keyfiles in the homedir at this point. Afterward, SECURELY remove
the file used for importing the key. Additionally, if you have public
keys to encrypt messages to others or for decrypting messages sent to
you, say, in aam, you may want to put them in here too. This is where
you can access them easily. From now on you will see the keys in your
keyring in Enigmail by using the OpenPGP menu item and selecting Key
Management from its submenu, but you will need to click the checkbox for
"Display All Keys by Default" to look at your own keys. Needless to say,
you should get thoroughly comfortable and familiar with Enigmail's
settings and functionality in order to maintain your security and
anonymity properly.

In order to use Thunderbird and Enigmail securely over tor, I explained
in a previous post that you would need to make a few changes to TBird's
default configuration settings. These are easy to make in its Config
Editor, which you access from its menu Tools > Options > Advanced panel
- -> General tab > Config Editor button. The settings you need to make,
will help to prevent TBird from making unnecessary connections, leaking
your identity and computer ID, and preventing typical Enigmail
information from marking your posts conspicuously. Make a point of
reading the tor website information pertaining to torrifying Thunderbird.

For now start with making these critically important changes in TBird's
Config Editor:

network.cookie.cookieBehavior=2
mail.smtpserver.default.hello_argument=[127.0.0.1]
network.proxy.socks_remote_dns=true
general.useragent.override=
...compose_html=false
mailnews.send_default_charset=UTF-8
mailnews.send_plaintext_flowed=false
mailnews.reply_header_type=1
mailnews.reply_header_authorwrote=%s
mailnews.start_page.enabled=false

extensions.enigmail.addHeaders=false
extensions.enigmail.useDefaultComment=true
extensions.enigmail.mimeHashAlgorithm=5
** extensions.enigmail.agentAdditionalParam=--no-emit-version


With Enigmail now set up and buttoned down, you are ready to set up
accounts in TBird. Since you have the Tor Browser Bundle installed,
first we can configure TBird to use it. Using TBird's main menu, go to
Tools > Options > Advanced pane > Network & Disk Space tab > Settings
button, and in the Connection Settings dialogue window choose the
"Manual proxy configuratin" option. Since TBB uses a SOCKS Host, you
should make the edit box match these settings from your "torrc" file,
which you can find by opening Vidalia's Settings dialogue window on the
Advanced tab, where you will see a button labeled "Edit current torrc".
Open it and look at these settings in order to make your TBird setting
the same:

SocksListenAddress 127.0.0.1
SocksPort 9050

Be sure to select the button for SOCKS v5. Also in the same TBird
Connection Settings dialogue window, where it says "No Proxy for:" you
should now put "localhost, 127.0.0.1" because you do not want to connect
to tor directly when making use of the news account we will set up
shortly to connect with "127.0.0.1". Insteady, the news account will
utilize tor via the chain of programs we configured above, but not
directly. It is not mandatory, but I recommend you make another change
in the settings of TBird on the Update tab, such that you deselect the
options to Automatically check for updates or use a background service
to install updates. These settings take control away from you, and it is
better for you to have complete control as to when updates are made and
how. You do not want any random, unawares updates occurring. Having said
that, do make sure, nevertheless, that you periodically make these
updates yourself.

Another important setting to go ahead and make at this time, which we
will make use of later, is in the main menu Tools > Options > Chat
dialogue window. Where is says "When Thunderbird starts", use the
dropdown to select "Keep my Chat Accounts offline". This makes it
necessary for you to initiate the connection deliberately after you
start the chat accounts. Also in this window UNCHECK the boxes to send
notifications and let your contacts know your status of activity. These
settings we touched on are the most important, but you should go through
all these options and make other changes based on the general guidelines
we started here, that is, to prevent the program from sending
transmissions about what you are doing and from otherwise leaking such
information. Think stealth! Ask questions about it when in doubt.


Now let's set up the newsgroup account to be used with our Cotse
News2Remail Proxy. Use the main menu for Tools > Account Settings. On
the left at the bottom, you have a dropdown box labeled "Account
Actions", on which you will find an option for "Add Other Account..." On
the next window use the button for Newsgroup account and click Next.
Follow the prompt forward, putting your favorite anonymous pseudonym  in
the edit box "Your Name" and put a bogus email address like
"nobody@nowhere.net", or whatever floats your boat, but it does need to
look like an email format to be accepted. These can always be changed
later easily. Next, in the Newsgroup Server, put "127.0.0.1" and Next.
In the name of account put something like Cotse News2Remail, click next.
It will present you with the settings you made, and you can click
Finish. The Wizard will close and you will see the account listed on the
left.

Click on the account name you just created and on the right uncheck the
option for "Use HTML" if it is selected. The edit boxes will be
populated with the values you entered in the Wizard. You can change
these at anytime. These are what will get sent with your message, and
whether they end up showing in a post will depend on which final
remailer is used, etc. You can fiddle with some of these later. Let's
move on for now. On the left below your named account, select Server
Settings, and on the right at the top you should see the Server Name we
entered as "127.0.0.1". Next to it in the Port edit box, you need to put
1990 as the port number because that is the value that we set up
previously when we looked at the Cotse News2Remail configuration file.
In other words, the N2R program will be listening for it in localhost at
this point, and it will pass the data on to/from stunnel, etc. In the
dialogue windows here for Server Settings, use Connection security
"None". Uncheck the box for "check new messages at startup", and uncheck
the box for "..request authentication when connecting..." because we
have configured stunnel to make the authentication.

On the left side of the dialogue window below this newly created account
name, you will see the option for "OpenPGP Security" if you have
installed the Enigmail extension. Select it and on the right side make
your settings. You need to check the box for "Enable OpenPGP support
(Enigmail) for this identity." Which other settings you make will depend
on your intentions for using this functionality. You need to read the
manual to learn about these options. This is not a tutorial for using
Enigmail. It is rather a guide for setting up TBird securely to make use
of tor and Mixmaster with Thunderbird as the front-end.

Nonetheless, we do now have this account set up for use. It is capable
of retrieving news messages over the tor network, and it can send news
messages from Thunderbird by way of the Cotse N2R proxy to the Mixmaster
client for conveyance via a chain of programs securely to the remailer
system over the tor network. In order to use this functionality, you
would use this procedure, in sequence:

1. 	Start Tor Browser Bundle - set the browser in offline mode and
minimize it to get it out of your way. Wait till Vidalia shows (green
icon) tor has connected a circuit.

2.	Run the two batch files (SMTP and NNTP) to get socat going so that
it connects with tor. Make sure you have no error messages appearing
in the console output.

3.	Start up stunnel and ensure sure that no error messages occur.

4.	Start the Cotse News2Remail program with Windows CLI as described
above. Watch the console output for any errors.

5.	Start Thunderbird. Go to the account you made and try connecting to
the service by subscribing to a newsgroup. If you see the newsgroup
accounts showing up when you try, you have made connection successfully.

When you connect successfully, you will see a lot of data also on the
console where you started the Cotse News2Remail Proxy.

It would not be helpful to proceed until you have gotten this much
working right. Then we can set up the other parts, which are
comparatively easy. I will post another message to follow up this one,
in which I explain some of these other aspects of anonymous messaging
with Thunderbird.




You will find Some helpful information here (some of it
security-related) regarding Tbird message viewing and handling of text
and for removing HTML:

http://kb.mozillazine.org/Plain_text_e-mail_%28Thunderbird%29



Note that Windows, being a rather audacious Task-Master & Lord of
all things in its space, tends to throw programs about, leaving
traces of them in a number of arcane places you may never have
heard of, even of those programs not directly installed in the
Programs folders or in Registry entries, such as ours. It makes
references to them, for example, in a place called the MUI cache,
among others, not to mention its plethora of logs. Therefore,
you are unlikely to remove altogether the remnants of these programs.
But you can do a good job of cleaning up after yourself by getting
a couple of intrusive programs like CCleaner and Bleach Bit, which
can reach into the depths of the labyrinth of Windows and help to
erase quite a bit.




"Only someone you trust can betray you." - Rooster


rooster@thechickencoop.net
A Happy Member of Kingdom Animalia


- -- 

rooster@thechickencoop.net
A Happy Member of Kingdom Animalia
-----BEGIN PGP SIGNATURE-----

iQGcBAEBCgAGBQJRLZJWAAoJEOWcBAJ+953T36MMAMk7zPYFZAWUN+LqX6Q8n4W4
Q16gjr6dOIqvHX30yrc7n7TsRxtGu7eW69mL4nzCnFB7P3zhGRXyiQ5swrkDTzsP
N6vaNVzn1kqTcSslEebtKe+1M6eRvJ5YKheR4Jfhoi7S+Pf1M/21DVp8OFarEDl9
miY8tG0+d9fwKPQBeQL4DsAmwHiCRhvldaYrqLzSIj7OLxNcueBiJonQB+y1lrcC
u74oowv/fWngrNkyEZbUq707eXLvX8Gd99NSlpfG6O89PT/nnqLV59ue4OmBHwHk
K6+IFYh9BBn8fyOk/emzoSb8cjYYrX9JzJ6bIw6j+6VOPlZctwIBneVhJIL0FGcb
B21cCc9qOdRd6+ZAPXPR+jX9+UlUzbDttjx0Vo5dxZnlLrBZHPgKBxME97PhfPTl
ZoZxPW3tZzHI41GeNjLVcyhxJ5FQFjKI/HCTbJKs3SDsFIg/3d71C5iSqszkgJku
dadPlCIbS5gi8bCGgA0/YBlMOcQzhSVg+hACwN3qvg==
=XmM+
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <kgk3p2$9jv$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!19no1875299wij.1!news-out.google.com!g1ni35369wig.0!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feeder3.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.139.MISMATCH!xlned.com!feeder7.xlned.com!news.osn.de!diablo2.news.osn.de!feeder.ecngs.de!ecngs!feeder2.ecngs.de!78.46.240.70.MISMATCH!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!news.mixmin.net!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <kgk3p2$9jv$1@news.mixmin.net>
Subject: How to set up Thunderbird for Anonymous Messaging
Date: Tue, 26 Feb 2013 22:58:01 -0600
From: Rooster <rooster@thechickencoop.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!19no1875299wij.1!news-out.google.com!g1ni35369wig.0!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feeder3.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.139.MISMATCH!xlned.com!feeder7.xlned.com!news.osn.de!diablo2.news.osn.de!feeder.ecngs.de!ecngs!feeder2.ecngs.de!78.46.240.70.MISMATCH!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!news.mixmin.net!.POSTED!not-for-mail
X-Received: by 10.180.75.8 with SMTP id y8mr3647617wiv.1.1361941092677;
Newsgroups: alt.privacy.anon-server
Organization: Kingdom Animalia
Mime-Version: 1.0
Injection-Date: Wed, 27 Feb 2013 04:58:12 +0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="9kzYv9tSWNvy7tMAgXjOpTzyvSI";
 logging-data="9855"; mail-complaints-to="abuse@mixmin.net"
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Lines: 799
X-Original-Bytes: 39784