Show pageOld revisionsBacklinksAdd to bookExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== SMTP ====== <code> apt-get install msmtp-mta apt-get install mailutils apt-get install msmtp ca-certificates </code> /etc/mstmprc <code> defaults tls on tls_starttls on tls_trust_file /etc/ssl/certs/ca-certificates.crt account default host smtp.gmail.com port 587 auth on user myguiandroid@gmail.com password xyz from myguiandroid@gmail.com logfile /var/log/msmtp.log </code> test <code> echo "Subject: test\nthis is the body" | msmtp --debug --from=default -t mymail@gmail.com </code> cron <code> 04 19 * * * echo "Subject: backup\n"$(rsnapshot daily) | msmtp --from=default -t mymail@gmail.com </code> tips/vpn/smtp.txt Last modified: 2016/07/12 09:26by scipio