forwarding mail
Douglas Melniker
melniker at eecs.tufts.edu
Sun Nov 19 01:29:08 EST 2000
Sendmail recognizes a .forward file in a user's home directory to be
forwrading instructions. In your case, you want to keep a copy of the mail
on the machine and send a copy to a remote machine. here's what you should
do, assuming your username is agabriel
echo '\agabriel, user at other.host.com' > ~/.forward
That's it. Sendmail is picky about permissions though: make sure that
.forward and all directories leading to it (recursively from /) are only
writable to user.
As always, make sure to test it out before you commit to it :)
HTH,
Doug Melniker
On Sat, 18 Nov 2000, Anthony J. Gabrielson wrote:
> Hello,
> I need to send a carbon copy of all mail I get to one address to
> another. I need my email on two networks that can't be be bridged, and I
> would like to use the internal machines. I was wondering if anyone new if
> sendmail had built in functionality for this - or if there is a script
> somewhere out there that can do this.
>
> THanks,
> Anthony
>
> -
> Subcription/unsubscription/info requests: send e-mail with
> "subscribe", "unsubscribe", or "info" on the first line of the
> message body to discuss-request at blu.org (Subject line is ignored).
>
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).
More information about the Discuss
mailing list