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
SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26
$149.99
SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G25
$129.99
Western Digital 250GB WD Blue SA510 SATA SSD, Internal M.2 2280 - WDS250G3B0B
$39.99
Team Group 512GB T-FORCE VULCAN Z 2.5" SATA III 3D NAND Internal SSD
$30.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$14.99
Intel DC S3510 Series 120GB SSD 2.5" 6Gb/s SATA Solid State Drive SSDSC2BB120G6K
$9.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$13.99
Samsung 980 PRO 1TB SSD, PCIe 4.0 NVMe M.2 Internal Solid State Drive
$62.50
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot
$198.99
Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot
$197.99