LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 12-26-2002, 01:35 AM   #1
katana
Member
 
Registered: Jun 2001
Posts: 100

Rep: Reputation: 15
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
 
Old 12-26-2002, 06:42 AM   #2
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Rep: Reputation: 30
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.
 
Old 12-26-2002, 07:30 PM   #3
katana
Member
 
Registered: Jun 2001
Posts: 100

Original Poster
Rep: Reputation: 15
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

Last edited by katana; 12-26-2002 at 07:32 PM.
 
Old 12-28-2002, 06:00 PM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
www.sendmail.org/
 
Old 12-29-2002, 12:21 AM   #5
gokulagiridaran
Member
 
Registered: Dec 2002
Posts: 36

Rep: Reputation: 15
Check out the versions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail virtusertable niranjan_mr Linux - Software 0 11-07-2005 03:41 AM
sendmail virtusertable or aliases? HeadNoodle Linux - Newbie 7 02-18-2005 11:38 AM
Sendmail & Virtusertable akilles Linux - Newbie 0 01-14-2005 03:19 AM
Sendmail configuration (domain name+virtusertable) bulzbb Linux - Software 2 03-16-2004 04:35 PM
Sendmail /etc/mail/virtusertable not created katana Linux - General 4 03-01-2004 12:19 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 12:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration