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

  • Re: Help a newbie with virtusertable and aliases
    ... Dan M writes: ... We handle e-mail for a bunch of domains. ... and they're handled with entries in virtusertable ... to make aliase entries: ...
    (comp.mail.sendmail)
  • Re: Need 3-4ft of 3M 467MP adhesive in LA area (or is there a good alternative?)
    ... If you don't have any luck, Dan, hit me with your address and I'll ... send you a bunch on the house. ...
    (rec.games.pinball)
  • /etc/paswd, Samba and Active Domain
    ... A bunch of entries in /etc/passwd of the form first.lastname, ... Note that the "x" makes this an account that you can't log in under. ... I have to add each user to smbpasswd throught the SWAT GUI because the ...
    (SunManagers)
  • Re: Moving WINS from 2000 to 2003
    ... Unless you have a bunch of static entries in WINS don't bother. ... mornig and startup their machines the new WINS's listing will populate ... > the DHCP scopes and statics to ...
    (microsoft.public.win2000.networking)
  • Re: do bullet statements
    ... Dan S.: ... bulleted list where it would be a period or comma, ... all the entries get normal punctuation. ...
    (alt.usage.english)