Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

forwarding mail



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).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org