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

[-- Attachment #1 --]
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
. . .


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.

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
-- 
Louis LeBlanc               leblanc@keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     ԿԬ

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.

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

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

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011202202612.GA9764>