sendmail forward how to?

Jeff Vian jvian10 at charter.net
Thu Jul 22 02:04:27 UTC 2004


On Wed, 2004-07-21 at 20:49, kursik3 wrote:
> Hi all.
> 
> There is one mail box from which I want to do the forward on other box.
> 
> user1 at myserver.com  ----> any at anydomain.com
> 
> But I want to leave also letters in the first box.
> 
> I have created a file /home/user1/.forward and have written there any at anydomain.com
> 
> The forward works, letters leave on any at anydomain.com, but they do not remain in user1 at myserver.com, and I want that remained.
> 
> How to resolve this problem? 
> Thanks.
> 

edit /etc/aliases.

put a line in there like

user:	user,user2

then run "newaliases"

This will deliver all mail to user as well as user2

Using the .forward file will not allow mail to remain in the users box.






More information about the users mailing list