Date: Sun, 02 Dec 2001 13:50:45 -0700 From: Chris Fedde <chris@fedde.littleton.co.us> To: freebsd-questions@FreeBSD.ORG Subject: Re: [OT] question about multiple domains and Sendmail Message-ID: <200112022050.fB2KojN55136@fedde.littleton.co.us> In-Reply-To: <20011202202612.GA9764@keyslapper.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2 Dec 2001 15:26:12 -0500 Louis LeBlanc wrote: +------------------ | I am running sendmail, and handling mail for multiple domains. Two of | those domains have a similar address: webmaster@<domain>. Well, I'm | not doing something right, because they all go to the same place. | | I have the following setup in /etc/mail/local-host-names: | ##################### | domain1.com | domain2.com | | | And in /etc/mail/aliases: | ##################### | webmaster@domain1.com alias1 | webmaster@domain2.com alias2 | | Unfortunately, all messages to webmaster@<any domain> goes to alias2. | Changing the order of the aliases indicates the last webmaster@<...> | alias overrides the previous ones. +------------------ IIRC sendmail 8.11.X shipped with FreeBSD does not support doing aliases that way. Your best bet is to use the virtusertable to map complete email addresses to usernames. I believe that recent FreeBSD releases ship with virtusertable enabled. Cd to /etc/mail/, put your "aliases" lines above into a file called virtusertable and type make. Good Luck -- Chris Fedde 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?200112022050.fB2KojN55136>