Date: Sun, 31 Aug 2008 20:24:07 -0500 From: Jeffrey Goldberg <jeffrey@goldmark.org> To: Ivan Rambius Ivanov <rambiusparkisanius@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Forwarding all mail to a local user Message-ID: <C1FF04AD-821F-4063-B51D-051AF83578FB@goldmark.org> In-Reply-To: <89ce7f740808311800l15ed3df2k4b549cbf8f257f87@mail.gmail.com> References: <89ce7f740808311800l15ed3df2k4b549cbf8f257f87@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[mailed and posted] On Aug 31, 2008, at 8:00 PM, Ivan Rambius Ivanov wrote: > I have the following questions. How can I forward all mail sent to > <anyone>@localhost to a rambius@localhost, where rambius is my own > user account in my FreeBSD system and <anyone> can be anything > including a user name that does not exist on the local machine? > I have default sendmail installation as provided by the base system > with no modifications of my own. You should edit /etc/mail/virtusertable to include a line like @localhost rambius@localhost There is a sample virtusertable you can look at. After you have edited the virtusertable file, you should run make maps in that directory. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C1FF04AD-821F-4063-B51D-051AF83578FB>