Re: Forwarding messages?

Glynn Clements (glynn@sensei.co.uk)
Tue, 27 Oct 1998 19:46:43 +0000 (GMT)


Ishaaq Chandy wrote:

> I've finally managed to setup our office Linux 2.0.35 server to send and
> recieve mail using sendmail 8.8.x :)
>
> Now I want to do some fine-tuning...
>
> How can I configure it to forward e-mails to an address if suppose that
> person has gone out on tour and has left a forwarding address? I did this
> by making a .forward file in the users home directory with the forwarding
> address inside. This worked, however I would prefer to get a local copy of
> the mail saved into the user's mailbox also before forwarding. How do I do
> this?

Add both the local and forwarding addresses to ~/.forward, e.g.

fred@somewhere.else.com, fred

> Right now all unresolved mail is going into root's mailbox, how can I set
> it to go to some other mailbox?

Undeliverable mail should just bounce. If the bounce message bounces,
it should go to `postmaster'. Check whether `postmaster' is aliased to
`root' in /etc/aliases. If it is, change it then run newaliases.

-- 
Glynn Clements <glynn@sensei.co.uk>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu