On Thu, 14 Dec 2000, Eric F Crist wrote: > I've never used a MC file, I've always edited the sendmail.cf file directly. > My virtusertable file is setup like this: > > wraith at shadowwraith.net wraith > ecrist at ardent-hacker.net ecrist > root at ardent-hacker.net root > bogus at shadowwraith.net ecrist Hi Eric, Try going to the directory /usr/lib/sendmail-cf/cf There will be a file called sendmail.mc open it add the line: FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl Save and get out of the editor. Back at the command line type in: m4 < sendmail.mc > sendmail.cf This will generate a new sendmail.cf file. It will create it in the current directory though, so you have to move your new sendmail.cf file over to /etc and replace the old one (I would rename your old one sendmail.cf.bak before you do this) Then restart sendmail and you can make the changes to your virtusertable. go to your /etc/mail directory and make the changes you want to your virtusertable. Then back at the command line type in makemap hash /etc/mail/virtusertable < virtusertable The generics table is just for outgoing mail, if I am not mistaken. But, I would make the changes as you have (which look fine): > > the genericstable is setup like this: > > wraith wraith at shadowwraith.net > And then back at the CLI do makemap hash /etc/mail/genericstable < genericstable. If that doesn't work, I wouldn't know what else to try. Hope that helps. - Jamie > Hope this helps explain things. > > Eric > > On Thu, 14 Dec 2000, you wrote: > > On Thu, 14 Dec 2000, Eric F Crist wrote: > > > I am having a problem with virtual hosting with sendmail. I can't get it to > > > recognize my virtusertable files to map the second domain addresses to the > > > correct local accounts. Can someone help me? > > > I am using sendmail 8.11.1 > > > > MC Entries: > > > > FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl > > > > /etc/mail/virtusertable: > > > > name at domain1 user at yourdomain > > name2 at domain1 user2 at yourdomain > > @domain1 user3 at yourdomain > > > > name at domain2 user4 at yourdomain > > @domain2 user5 at yourdomain > > > > ..you either want to have the @domain route to a real user, or to a user > > that will bounce the message. otherwise, it will default to local users on > > your machine. > > > > if you want to remap users of a domain to yours: > > > > @example.com %1 at yourdomain.net > > > > so bob at example.com delivers to bob at yourdomain.net. > > > > Hope it helps. > > > > -- > > Nate Carlson <natecars at real-time.com> | Phone : (952)943-8700 > > http://www.real-time.com | Fax : (952)943-8500 > > > > > > _______________________________________________ > > tclug-list mailing list > > tclug-list at lists.real-time.com > > https://mailman.real-time.com/mailman/listinfo/tclug-list >