Date: Sat, 29 Dec 2001 13:08:27 +0300 From: "Andrey Simonenko" <simon@comsys.ntu-kpi.kiev.ua> To: "Scott Aitken" <scotta@whoever.com> Cc: <freebsd-questions@freebsd.org> Subject: Re: mail aliases and forwarding Message-ID: <016901c19050$c34a62a0$6d36120a@comsys.ntukpi.kiev.ua> References: <000101c19053$bcf199c0$0a01010a@merry>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: Scott Aitken <scotta@whoever.com> Newsgroups: lucky.freebsd.questions Sent: Saturday, December 29, 2001 1:30 PM Subject: mail aliases and forwarding > Hi all, > I want my fBSD machine to forward mail for root and fred to another, > internet address. > I added the following to /etc/mail/aliases > > root: user@domain.tld,root > fred: user@domain.tld,fred > > and it seems to work fine. Mail goes to the root and fred mailboxes as well > as the internet address. > > My question is: is this the best way to do it? > You didn't say what MTA you use, but I guess it is Sendmail. There are some ways to do mail aliasing: alias file, ~/.forward file and virtusertable, may be some more. All these methods can give the same result for your task. I suppose that since ~/.forward file is a plain text file, then alias file and virtusertable will be the better choices. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?016901c19050$c34a62a0$6d36120a>