-----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,
/peter

Am 08.09.2015 um 09:03 schrieb 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 <external addess>
> 
> 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 Testing root
> 
> adding a verbose to the mail command doesn't give any more
> details. I tried running newaliases, but that didn't make any
> difference.
> 
> Any help would be greatly appreciated.
> 
> James
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJV7t5/AAoJEM+6Ng5pbtyZsBQQAJuXnS0qZ5qonTpEiXvAynFx
5ierTpmuLiIez2mlfc52bz0gmQWKBbkPcQBFCuOehkAYB3+56HT4HyIjw2ID/luF
eFudNhTSUPd83e5SSEgry1BgpJZltJ6dW65tTrqwJQLdk2Rie0dDwVXSmrhmWXj/
RUUQVXGxEiS8gO4vpmoyZ3INXKuqwh9kn+mGIdk0zTnq5e6GLVtMP3gpD3WHU5JV
QFRd0y4cFbYTt1GDuT5BpeiBoQxXZv3jZXL9/Hh+ll6DLAhBpnG6GEIn9uobX8Wv
wNoXYyfOefLIDOC7IV2jbHZ2rteA+q8rwQcWq0W67t7Zg46bO/hsNxXpOVUhdGUD
9UOVW3Y28UiW1VplT9imJaI+DWl6WUN233QgxqUB0eorvQR5nK+pOSPvUYb0/IyO
6TSMB0xGmi4MSVm01dU5CipJkQHWVU0XXLOlgAX7ceGnAvNiOSP1Ubm/ldiR5PgD
caGq8EXHStQlngwV74lorKS04KfIG8AcRthmjgRT7Bww5H+Z1mWWBGIx8aNWlEDL
nuSD43HeKRAb8IHCvtQuWnvygxElp9ZX4i1JYW4yg8hg/qBg9hWoevrJbmh4r/Uw
JC8iFmhx9398HxCJ0bMW5Hm0U1l/Up9juZks/OyWDNOvPd8Xry6QrOTRrZ4pBffi
lFF9IDxtZZ+3VmsN6K70
=SLx9
-----END PGP SIGNATURE-----

Reply via email to