Date: Wed, 8 Jul 1998 09:52:05 +0200 From: Johann Visagie <wjv@cityip.co.za> To: Geoffrey Robinson <geoffr@globalserve.net> Cc: questions@FreeBSD.org Subject: Re: Email for Virtually Hosted Domains Message-ID: <19980708095205.F23442@cityip.co.za> In-Reply-To: <35A25235.65749A09@globalserve.net>; from Geoffrey Robinson on Tue, Jul 07, 1998 at 12:52:05PM -0400 References: <35A25235.65749A09@globalserve.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 07 Jul 1998 at 12:52 SAT, Geoffrey Robinson wrote: > > I put dom2.com in /etc/sendmail.cw so that mail addressed to me@dom1.com > and me@dom2.com go to my mailbox. The problem with this is that I want to > have mail addressed to say webmaster@dom1.com and webmaster@dom2.com go > into different mailboxes. I tried to follow the directions at > http://www.sendmail.org/virtual-hosting.html but can't make much sense of > it. <personal opinion> Get rid of sendmail ASAP. Install something like exim or qmail. Exim makes virtual domains almost trivial. </personal opinion> > Is there an easy way of doing this? There's an easy kludge, at least: Install procmail. Put an alias in /etc/aliases for every account that has to be "shared". Set up that alias to pipe the message through a specific procmailrc. Have that procmailrc distribute the mail where it's supposed to go. Alternatively, I believe the URL you mention explains how to do it with sendmail. Not that I've ever tried, or am ever likely to. :-) -- V Johann Visagie | Email: wjv@CityIP.co.za | Tel: +27 21 419-7878 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?19980708095205.F23442>