View previous topic :: View next topic |
Author |
Message |
LucaMartinetti n00b
Joined: 23 Jan 2003 Posts: 44 Location: Rome [IT]
|
Posted: Thu Feb 27, 2003 10:54 pm Post subject: newbie: how to set root/vcron email address? |
|
|
How can I set the email address of the root, to my real address, for vcron output? I'm using postfix.. thank you! _________________ http://www.phatsoft.net |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Fri Feb 28, 2003 12:04 am Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
fifo Guru
Joined: 14 Jan 2003 Posts: 437
|
Posted: Fri Feb 28, 2003 12:08 am Post subject: |
|
|
Edit /etc/mail/aliases. Don't forget to to run "newaliases" after changing the file. See "man aliases" for more information. |
|
Back to top |
|
|
Black Apprentice
Joined: 10 Dec 2002 Posts: 158 Location: Québec, Canada
|
Posted: Sat Mar 01, 2003 2:51 am Post subject: |
|
|
Alternatively (sp?), you could create a ".forward" file in /root:
Code: | echo "user@isp.com" > /root/.forward |
|
|
Back to top |
|
|
sheepdog Guru
Joined: 14 Oct 2002 Posts: 369 Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA
|
Posted: Sun Mar 09, 2003 11:21 pm Post subject: mailto |
|
|
vcron accepts a variable in the crontab file, MAILTO=<user name>, that redirects all mail to this address. |
|
Back to top |
|
|
|