While premail's default configuration is designed to be sufficient for the the most common cases, you may want to change some of the configuration options. This is done by adding lines to the preferences file.
The default location for the preferences file is
~/.premail/preferences
, where ~
represents your home
directory. The premail distribution comes with a skeleton preferences
file, but it does not automatically copy it into the
~/.premail
directory. You might choose to do that yourself,
or you might create one from scratch.
The format of the preferences file is a sequence of lines such as the following:
$config{'option'} = 'value';
All other lines (including those beginning with #
) are
considered to be comments and are ignored. Here's a typical
preferences file (actually, the one on my home machine):
$config{'logfile'} = '/home/raph/premail/log';
$config{'debug'} = 'chvl';
$config{'movemail'} = '/home/raph/bin/movehome';
$config{'ripem'} = '/home/raph/install/ripem/main/ripem';
$config{'pgp'} = '/usr/local/bin/pgp';
As you can see, a major use for the preferences file is to specify full pathnames for the helper programs. In addition, I've set it up to produce a full log, which I find useful, because I'm constantly tracking down bugs :-)
Here's a table of all the configuration options, their defaults, and a very brief description. More complete descriptions are found in the preferences file included in the premail distribution.
pgp
)The location of the PGP executable.
/usr/lib/sendmail
)The location of the sendmail executable.
mixmaster
)The location of the Mixmaster executable (useful for more secure anonymous mail).
movemail
)The location of the movemail executable (useful for integrating Netscape 3.0).
ripem
)The location of the ripem executable (needed for S/MIME messages).
The directory containing the TIS/MOSS executables (needed for MOSS messages).
post
)The location of the MH post executable (needed for MH integration).
)A command for getting files from the Web. Use ``lynx
-source
'' if behind a firewall.
~/dead.letter
)The file where premail stores undeliverable mail.
The location where premail stores its log, if the l
debug
flag is set.
If set, the location where premail stores outgoing mail, instead of calling sendmail.
/tmp
)Where premail stores its temporary files.
iso-8859-1
)The default charset for outgoing 8-bit messages.
yes
)Set to blank to disable PGP encryption to remailers.
If set, nymservers will send acknowledgements for all outgoing mail.
If set, premail adds an extra blank on remailer messages. Useful if behind a broken mail proxy.
Debugging flags (see section debugging).
The user id of the default PGP secret key used to sign messages.
Adds a Reply-To:
header field with this address when sending
anonymous e-mail.
~/.premail/addresses
)The file containing your addresses.
~/.premail/rlist
)The file where premail stores the remailer list.
~/.premail/pubring.pgp
)The file where premail stores the public keyring for the remailers.
~/.premail/secrets.pgp
)The file where premail stores the encrypted secrets file.
/tmp/premail-secrets.$<
)The location of your secrets file
http://kiwi.cs.berkeley.edu/rlist
)The URL for the remailer list.
http://kiwi.cs.berkeley.edu/pubring.pgp
)The URL for the remailer public keyring.
http://www.jpunix.com/type2.html
)The URL for the Mixmaster type2 list.
http://www.jpunix.com/pubring.html
)The URL for the Mixmaster pubring.