LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Sendmail /etc/mail/virtusertable headache! (https://www.linuxquestions.org/questions/solaris-opensolaris-20/sendmail-etc-mail-virtusertable-headache-39383/)

katana 12-26-2002 01:35 AM

Sendmail /etc/mail/virtusertable headache!
 
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

GtkUser 12-26-2002 06:42 AM

Apparently Sendmail went through some major revision. The sample you are using is from the old version of the text, this is the new version < http://www.oreilly.com/catalog/sendmail3/ > covering the new updated Sendmail.

katana 12-26-2002 07:30 PM

D*mn, just what i need at this deadline :(

yeah this is so different from sendmail version 8.10.x that I used before...and so many features and files I'm not familiar with :(

Anybody got a link that has a guide on how to configure sendmail 8.12 ?

Thanks Gtkuser :)

Suzana

peter_robb 12-28-2002 06:00 PM

www.sendmail.org/

gokulagiridaran 12-29-2002 12:21 AM

Check out the versions.


All times are GMT -5. The time now is 04:04 AM.