secure mail pickup [was: Need help with crontab]

D. Hugh Redelmeier hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org
Sun Sep 21 17:44:08 UTC 2003


| From: waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org

Reverse engineering:
- You are using mutt to pick up mail via pop3.
- You are doing it through an SSH tunnel using port forwarding

I would guess that fetchmail would be a better tool than mutt for
non-interactive pop3 mail pickup.

fetchmail(1) lists a "plugin" option that claims to be useful if you
want to use SSL or SSH.  It even gives an example.  I've not tried
this.  Have a look at
<http://mah.everybody.org/docs/mail/fetchmail_check>

I use SMTP over IPsec myself.  SMTP doesn't work so well if your machine
off the net for significant periods.  I use FreeS/WAN's Opportunistic
Encryption so any communication that can be encrypted is encrypted.

| ssh -P -f -L 10110:pop3.clss.net:110 my_user_ID-1sV0mdQTbhc at public.gmane.org sleep 25
| /usr/bin/mutt -F /home/waltdnes/.symmutt/clssmuttrc

My OpenSSH man page does not seem to list -P.

Does this script assume that all mail can be transferred within 25
seconds?  Pretty crude approach.

Hugh Redelmeier
hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org  voice: +1 416 482-8253

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list