From owner-freebsd-questions Fri May 15 09:02:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA16911 for freebsd-questions-outgoing; Fri, 15 May 1998 09:02:42 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mercury.jorsm.com (mercury.jorsm.com [207.112.128.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA16856 for ; Fri, 15 May 1998 09:02:33 -0700 (PDT) (envelope-from jer@jorsm.com) Received: from localhost (jer@localhost) by mercury.jorsm.com (8.8.7/8.8.7) with SMTP id LAA03362; Fri, 15 May 1998 11:02:27 -0500 (CDT) Date: Fri, 15 May 1998 11:02:27 -0500 (CDT) From: Jeremy Shaffner To: dibyo gahari cc: freebsd-questions@FreeBSD.ORG Subject: Re: multiple domain email addresses in a dedicated server In-Reply-To: <3.0.32.19980515201126.00a5ac38@gahari.id.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just guessing here.... Assuming your MX records are all in order... in /etc/sendmail/maildomains bbb@bbb.com userid2 bbb.com defaultid2 ccc@ccc.com userid3 ccc.com defaultid3 Where useridN is a real account. Using defaults is optional. It's very nearly like setting up normal aliases under /etc/aliases, but not quite. You shouldn't need to bother with aaa.com. If need aliases for those, they should be in /etc/alises. You can also substitute real email addresses instead (useful for those who get their email elsewhere): ddd@ddd.com user@domain.com Hope this helps (and I'm correct.) -===================================================================- Jeremy Shaffner JORSM Internet Senior Technical Support Northwest Indiana's Premium jer@jorsm.com Internet Service Provider support@jorsm.com http://www.jorsm.com -===================================================================- On Fri, 15 May 1998, dibyo gahari wrote: > > Hi, > > I run a dedicated server using FreeBSD 2.2.1 and Apache 1.2.6. > > Since I use "virtualhost" feature, I place several domain names on it. And > I need my email address(es) appear with the domain name related to the > homepage. > > For instance: > dedicated server : www.aaa.com > virtual host 1 : www.bbb.com > virtual host 2 : www.ccc.com > > I need to set: > userid1 : aaa@aaa.com > userid2 : bbb@bbb.com > userid3 : ccc@ccc.com > > How can we set what I need ? > > Thank you. > Regards, > Dibyo Gahari > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message