Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Forwarding root & postfix messages

2 views
Skip to first unread message

gcaplan

unread,
Jun 16, 2009, 10:55:50 AM6/16/09
to
Hi folks

I'm not a sysadmin and I'm struggling with the Postfix docs - they
assume a lot of knowledge!

I know this is a simple request, but I'd very much appreciate a reply
as I'm running out of ideas.

Postfix is installed on a web-host. Its only job is to send outgoing
mail from the server via SMTP,

This is working fine apart from cron messages and postfix messages. I
want to forward them off the machine to my personal hosted IMAP
account, but can't figure out how.

So please help out a newbie - I'm under the cosh time-wise and it
would be much appreciated!

Geoff

Burkhard Ott

unread,
Jun 16, 2009, 7:28:14 PM6/16/09
to
On Tue, 16 Jun 2009 07:55:50 -0700, gcaplan wrote:

> Postfix is installed on a web-host. Its only job is to send outgoing
> mail from the server via SMTP,
> This is working fine apart from cron messages and postfix messages. I
> want to forward them off the machine to my personal hosted IMAP account,
> but can't figure out how.

Set in your crontab the variable MAILTO=yo...@ddre.ss, so every output
from scripts executed via cron will be send to this address.



> So please help out a newbie - I'm under the cosh time-wise and it would
> be much appreciated!

You also can set an alias in /etc/aliases

cheers

gcaplan

unread,
Jun 19, 2009, 9:56:11 AM6/19/09
to
Thanks Burkhard

You put me on the right track - I was looking for the solution in the
wrong place (postfix settings).

For the postfix and other root messages I've created a .forward file
in root, which seems to be doing the trick.

Geoff

Burkhard Ott

unread,
Jun 19, 2009, 7:03:24 PM6/19/09
to

ACK that works either.

cheers

0 new messages