A sendmail config question

stan stanb at panix.com
Fri Sep 16 18:49:03 PDT 2005


I'm setting up a 4.11 STABLE machine.

4.11 comes with sendmail 8.13.4, and I prefer to use this, rather than
build the one from ports (BTW if anyone has a strong reason that I should 
do this different, I'd entertain a discussion on this).

In any case the scenario I'm trying to set up is that I wat to recive mail
for say a at x.com, b at x.com ... a.y.com, c.y.com . Note that I _don't want to 
accept mail for b at x.com. 

Now how I'm trying to do this is using /etc/mail/virtusertable I've got etnries
like this:

stan at a.net                                       stan
stanb at b.com                                      stan

In /etc/mail/local-host-names I have entries like:

a.net
b.com
c.com

Notice that there is not entry in virtusertable for stan at c.com, yet
mail addressed to that address is acepted and deliverd (as are the ones 
I _want_ to work) to the local user stan.

Can anyone enlighten me as to wgat I'm doing wrong here?

Oh, of course the are DNS records for a.net, b.com, and c.com that point
to the IP addresses for this machine.


-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong Terror 
- New York Times 9/3/1967


More information about the freebsd-questions mailing list