Hi everybody,
I'm using Sun Enterprise 250 machine, installed with Solaris 8. Recently I downloaded the latest version of sendmail (which is sendmail-8.12.6 ) , and compiled it with this command:
./Build NROFF=nroff MANDOC= install
This ran without a problem. Then i edited my host.mc (which is web.mc ) file like so:
divert(0)dnl
VERSIONID(`$Id: web.mc,v 8.13 2001/06/27 21:46:30 gshapiro Exp $')
OSTYPE(solaris2)dnl
DOMAIN(generic)dnl
FEATURE(virtusertable, 'dbm /etc/mail/virtusertable')dnl
MAILER(local)dnl
MAILER(smtp)dnl
Then I ran ./Build web.mc
This also ran without a hitch. Then I went about following the steps in this how-to:
www.sendmail.org/virtual-hosting.html
Evertyhing was ok, or so I thought. But when I ran this command:
makemap /etc/mail/virtusertable < virtusertable.txt
I found out that the /etc/mail/virtualusertable file was not created! Hmm..funny. The virtusertable.txt file is where i put in my virtual user table (since I plan to do virtual hosting). But I fear because of the nonexistent /etc/mail/virtusertable, it wouldnt work. I was right. When I ran this command to test it:
sendmail -bt
Then I typed in this command:
> /map virtuser
suzana@ict.com.my
I got this error message:
dbm map "virtuser": missing map file /etc/mail/virtusertable''
map_lookup: virtuser (suzana@ict.com.my) no match (75)
What's the problem? I think I've followed the instruction quite clearly ( the keyword is ' i think'
)...i dont understand. How come my /etc/mail/virtusertable is not created? Even when I created it manually, i still got the same error..
help..headache
suzana