Re: Help a newbie with virtusertable and aliases



In article <pan.2006.05.12.18.18.10.580568@xxxxxxxxxxxx> Dan M
<dan@xxxxxxxxxxxx> writes:

We handle e-mail for a bunch of domains. Most of the domains only have a
few addresses active, and they're handled with entries in virtusertable
looking like:
user@xxxxxxxxxxxxx cust1user
info@xxxxxxxxxxxxx cust2info
with corresponding entries in aliases that look like:
cust1user: userHomeAcct@xxxxxxxxxxxx
cust2info: usersAcct@xxxxxxxxxxxxxxx

This generally works pretty well. But I'm finding that if I have a local
user account "info", mail sent to info@xxxxxxxxxxxxx goes to my local
user's mailbox.

I guess you mean info@xxxxxxxxxxxxx, since info@xxxxxxxxxxxxx would
match your specific virtusertable entry above. You need to define a
catch-all for each domain, that will reject mail for any users other
than the ones you've listed in virtusertable:

@customer2.com error:nouser User unknown

See cf/README and http://www.sendmail.org/tips/virtual-hosting.html

--Per Hedeland
per@xxxxxxxxxxxx
.



Relevant Pages