Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
newbie: how to set root/vcron email address?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
LucaMartinetti
n00b
n00b


Joined: 23 Jan 2003
Posts: 44
Location: Rome [IT]

PostPosted: Thu Feb 27, 2003 10:54 pm    Post subject: newbie: how to set root/vcron email address? Reply with quote

How can I set the email address of the root, to my real address, for vcron output? I'm using postfix.. thank you! :roll:
_________________
http://www.phatsoft.net
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20588

PostPosted: Fri Feb 28, 2003 12:04 am    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
fifo
Guru
Guru


Joined: 14 Jan 2003
Posts: 437

PostPosted: Fri Feb 28, 2003 12:08 am    Post subject: Reply with quote

Edit /etc/mail/aliases. Don't forget to to run "newaliases" after changing the file. See "man aliases" for more information.
Back to top
View user's profile Send private message
Black
Apprentice
Apprentice


Joined: 10 Dec 2002
Posts: 158
Location: Québec, Canada

PostPosted: Sat Mar 01, 2003 2:51 am    Post subject: Reply with quote

Alternatively (sp?), you could create a ".forward" file in /root:

Code:
echo "user@isp.com" > /root/.forward
Back to top
View user's profile Send private message
sheepdog
Guru
Guru


Joined: 14 Oct 2002
Posts: 369
Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA

PostPosted: Sun Mar 09, 2003 11:21 pm    Post subject: mailto Reply with quote

vcron accepts a variable in the crontab file, MAILTO=<user name>, that redirects all mail to this address.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum