View previous topic :: View next topic |
Author |
Message |
LucaMartinetti n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/9567680233e576608bd6e3.gif)
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! ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) _________________ http://www.phatsoft.net |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20589
|
Posted: Fri Feb 28, 2003 12:04 am Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fifo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16463380263e35c41d1c152.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Black Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/8170222533ee648360c822.png)
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 |
|
![](templates/gentoo/images/spacer.gif) |
sheepdog Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
|