NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Wouter2's avatar
Wouter2
Aspirant
Dec 04, 2013

MUTT email client and full RSYNC options READYNAS 102

Just 24 hours owner of a Readynas 102, very happy but some issues/wishes to solve in next firmware :

1. uptime missing in frontviews Device
2. clock cannot display in 24 hour format
3. advanced rsync option field missing in backup jobs e.g. rsync --backup --suffix=.bkp_`date +%d%m%Y_%H%M%S`
4. mail: send log as an attachment not in the message body
5. genie+ Marketplace not working (no apps available)

I solved issue 3 and 4 via steps below :

a. enable ssh
b. login with putty on command line
c. apt-get install mutt
d. vi .muttrc # add lines below

set realname = "readynas"
set from = ”Your email address”
set use_from = yes
set envelope_from ="yes"
set sendmail="/usr/bin/msmtp"

4. save file .muttrc

Now you able to send mail with attachments
mutt -s ”testmail” Your email address -a /tmp/file_attachment < body message.txt

I use mutt in backup shell script scheduled via crontab and send the rsync log as an attachment. Also on cmd all rsync options are available
e.g.

rsync -av --progress --log-file=FILE --backup --suffix=.bkp_`date +%d%m%Y_%H%M%S` /mnt/data /mnt/backup
mutt -s ”testmail” Your email address -a /tmp/FILE < body message.txt
No RepliesBe the first to reply

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More