Re: Redirecing root emails to a gmail account

2015-09-09 Thread Linux 4 Bene
Op Tue, 08 Sep 2015 08:03:01 +0100, schreef James Allsopp: > Hello, > I want to have the root e-mails sent to my gmail account if possible. I > can send email here via commandline > > echo "This is a test." | mail -s Test > > but despite editing /etc/aliases so that root points to the external

Re: Redirecing root emails to a gmail account

2015-09-08 Thread Peter Ludikovsky
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, First of all, use -v -s instead of -sv, as the latter says to set the subject to 'v', and adds an additional recipient Testing. Other than that, can you post your /etc/postfix/main.cf, and/or the relevant parts from /var/log/mail.log? Regards, /

Redirecing root emails to a gmail account

2015-09-08 Thread James Allsopp
Hello, I want to have the root e-mails sent to my gmail account if possible. I can send email here via commandline echo "This is a test." | mail -s Test but despite editing /etc/aliases so that root points to the external address I can't get this to work. echo "This is a test.(root)" | mail -sv