Using information from the following threads:
http://www.knoppix.net/forum/viewtopic.php?t=26192
http://forums.debian.net/viewtopic.php?t=12781
one can setup a very nice mail system to automatically retrieve messages from remoted services like Yahoo (through ypops) or Hotmail (with maybe MrPostman or httpmail) or plain POP3 mail accounts.
create a directory in your home called .getmail
Code:mkdir ~/.getmail
Youll need a getmail script. something like getmailrc-youraccountname
mine is: getmailrc-ypops for my local ypops daemon.
Code:[options] verbose = 1 delete = 0 message_log = ~/.getmail/log [retriever] type = SimplePOP3Retriever server = localhost username = <username here> password = <password here> [destination] type = MDA_external path = /usr/lib/mh/slocal
And a run script: ~/getmail/getmail-ypops.sh
This one includes file locking to keep getmail from being started twice.
Code:#!/bin/bash LOCK=~/.getmail/getmail-ypops-lock LOG=~/.getmail/getmail-ypops.log if [ ! -f $LOCK ]; then echo "0" >$LOCK echo "" >>$LOG ; echo "** ` date ` " >>$LOG getmail -d --rcfile getmailrc-ypops >>$LOG rm -f $LOCK >/dev/null 2>&1 fi
and a crontab to run it from (issue ` crontab -e ` to create)
This downloads my mail from Yahoo every 5min. The other script is just a simple keepalive script I use to keep my proxy at work from closing on me...simply uses wget to download googles index page.Code:# m h dom mon dow command */5 * * * * /home/onemyndseye/.getmail/getmail-ypops.sh >/dev/null 2>&1 */5 * * * * /home/onemyndseye/scripts/keepalive >/dev/null 2>&1
now is I issue ' mail ' from a terminal window I can read all of my YahooMail... neat!... ofcoase mutt or kmail can be used if you so wish
Hope this helps,
-Justin
One Mynds Eye
Bare S100 CPU Replacement for ALTAIR 8800 IMSAI 8080 JAIR Single Board Computer
$42.00
MITS Altair 8800 Computer Bamboo Reproduction Arduino Tested Working Assembled
$649.99
MITS ALTAIR 8800 Original Vintage Microcomputer
$6000.00
S-100 backplane motherboard bare PCB 9 slot (for Altair/IMSAI)
$30.00
MITS ALTAIR 8800 Original Vintage Microcomputer with 14 boards - Buy It Now
$9500.00
Altair MITS 8800 CPU Parts Kit not IMSAI 8080 S100 (board NOT included)
$64.95
MITS ALTAIR 8800 Original Vintage Microcomputer S-100 Buy It Now $5999
$5999.00
1974 Early Microcomputers by MITS Altair 8800's Ed Roberts HP-9810 Mark-8 Scelbi
$55.00
Vintage Altair 8088 CPU Wire Wrapped S100 Card w Mon EPROM circuit board #T71
$99.00
VINTAGE DEC 1975 VOL 1 ISSUE 1 SCCS INTERFACE MAGAZINE MITS ALTAIR COVER & ADS
$359.99