A small how-to - request for comments
Dave Vehrs
davev at ezrs.com
Wed Aug 25 22:49:46 UTC 2004
Thomas,
An alternative configuration for Fetchmail for those that prefer to
start it on a per user basis.
Add the following to the users .bashrc:
CONF_FILE="$HOME/.fetchmailrc"
PID_FILE="$HOME/.fetchmail.pid"
FETCHMAIL="/usr/bin/fetchmail"
TSOCKS="/usr/bin/tsocks"
function FetchMailAlive () {
if test -f $CONF_FILE && test -f $FETCHMAIL; then
if test -f $PID_FILE; then
if ! kill -0 `cut -d \ -f1 $PID_FILE` 2>/dev/null; then
eval $($TSOCKS $FETCHMAIL)
echo New FetchMail started. >&2
fi
else
eval $($TSOCKS $FETCHMAIL)
echo New FetchMail started. >&2
fi
else
echo Fetchmail not installed or configured properly. >&2
fi
}
# Call it
FetchMailAlive
Then it checks for a running fetchmail daemon everytime a new shell
is openned and starts one if needed.
Thanks,
Dave V.
On 16:47 Aug.25.2004, Thomas Sj?gren said:
>From: Thomas Sjögren <thomas at northernsecurity.net>
>To: or-talk at freehaven.net
>Date: Wed, 25 Aug 2004 16:47:49 +0200
>User-Agent: Mutt/1.5.6+20040803i
>Subject: A small how-to - request for comments
>
>Hi,
>I wrote up a small guide on how to use Tor with various software a
>couple of days ago.
>The document is available at
>http://www.northernsecurity.net/articles/torify.html
>
>Comments on typos, software missing from the guide etc etc are welcome.
>
>/Thomas
>--
>== Encrypted e-mails preferred | GPG KeyID: 114AA85C
>--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20040825/b99ebea2/attachment.pgp>
More information about the tor-talk
mailing list