Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2001 15:26:12 -0500
From:      Louis LeBlanc <leblanc+freebsd@keyslapper.org>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Subject:   [OT] question about multiple domains and Sendmail
Message-ID:  <20011202202612.GA9764@keyslapper.org>

next in thread | raw e-mail | index | archive | help

--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset=unknown-8bit
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hey all. Forgive the OT question,  but I figured this list would yield
the quickest and most useful responses (a little ego stroking :).

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
=2E . .


And in /etc/mail/aliases:
#####################
webmaster@domain1.com	alias1
webmaster@domain2.com	alias2
=2E . .

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.

Also, newaliases gives warnings of duplicate aliases (surprise).

Well, hopefully you get the idea.
Any ideas how to do this 'The Right Way(tm)'?

TIA & HAND
Lou
--=20
Louis LeBlanc               leblanc@keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     =D4=BF=D4=AC

Karlson's Theorem of Snack Food Packages:
  For all P, where P is a package of snack food, P is a SINGLE-SERVING
  package of snack food.

--1yeeQ81UyVL57Vl7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8Co5keAPWYrNkRWIRAqUSAJwM8sEGYvqYH7JJspnOFTUfcWCDfQCfSNfm
St0zuXBSt2lmAbsShVBX3b0=
=0apS
-----END PGP SIGNATURE-----

--1yeeQ81UyVL57Vl7--

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?20011202202612.GA9764>