Backup email

Backup your email on LinkStation
You can easly backup your email, with a simple perl script.

1. Download my perl script there wget http://themadmax.free.fr/nas/backupemail.sh

2. Adding execute flag chmod +x backupemail.sh

3. Edit it to change your pop server, email, password and output directory vim backupemail.sh line 12 : $host = 'pop.free.fr'; $user = 'my@email.fr'; $pass = 'password'; line 60 : my $filename = "/home/max/mail/$uidl"; #ouput directory

4. Adding script to crontab crontab -e 00 23 * * * /path/to/script/backupemail.sh