[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] is this possible on a Raq4?



> Is there an easy way to do this? What is the procedure? I'm not very
linux /
> telnet savy.

Gabe,
First, through the GUI, we're gonna take the 'info' alias out of the
user's box that has it. Then make a third user that *only* has 'info'
as it's alias.
Now go into telnet:
1. Telnet (or use SSH) into your machine, login as admin.
2. Switch to root (superuser) by typing su -  (that's su<space>dash)
3. Type in your root password - this will be the same as admin's
password if you haven't changed it.
4. Backup the /etc/mail/aliases file like so:
cp /etc/mail/aliases /etc/mail/aliases.old
5. Open the /etc/mail/aliases file so you can change it:
pico /etc/mail/aliases
6. Page down until you get to the very end of the file. On the last
empty line, put the username of the THIRD user, a colon, then hit tab,
then put in the email address of the first user, a comma, and the
email address of the second user. Hit ENTER so that there is a fresh
new blank line at the end of the file. So it will look like:
thirduser:     user1@xxxxxxxxxx,user2@xxxxxxxxxx
7. Hit CTRL-X (CTRL and X at the same time) and when it asks if you
want to save it, hit Y for yes. Then it will ask you if you want the
name to be /etc/mail/aliases, just hit ENTER.
6. Restart sendmail:
/etc/rc.d/init.d/sendmail restart

Now check your GUI and in the third user's box, you should have both
user1@xxxxxxxxxx and user2@xxxxxxxxxx listed in the 'forward' field.
Test it out by sending an email to info@xxxxxxxxxxx

If anything screws up, you can always restore the aliases file by
putting your backup back in place:
mv /etc/mail/aliases.old /etc/mail/aliases

HTH! (Hope that helps!)

CarrieB