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

Re: [cobalt-users] Email aliasing



Brad Rathbun wrote:

> On the host we used to use before we got our Raq3i, we could go in to a
> maint page for our various domains and set up an alias for any number of
> users without having to set up an actual POP3 mailbox like the Raq makes you
> do.
> 
> Is there a way to do this that anyone here knows of? It would sure be handy
> for the way we use this thing if we could just tell it that
> joeblow@xxxxxxxxxxxxxx forwards to jblow@xxxxxxxxxxxxxxxxx

Yes, you can do it, but only from ssh-ing in (I refuse to support
telnetting in any longer) as root, and making changes to /etc/aliases.

Because I don't like to mess with aliases, which is also messed with by
the gui, I created a new file, /etc/aliases.local.

If you go my route, you have to add a line to sendmail.cf to make
sendmail look for the file.

To find out where, search for my previous posts on this topic, or search
sendmail.cf for the word "alias" until you find what you're looking
for.  You'll know it when you find it.

Note that whenever you change /etc/sendmail.cf you need to restart
sendmail:

# kill -HUP `cat /var/run/sendmail.pid`

and when you change aliases.local you need to run

# newaliases

That'll do it.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205