LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


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

Rep: Reputation: 15
Sendmail /etc/mail/virtusertable not created


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-28-2002, 12:07 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Are you running makemap from the same directory as your virtuser.txt file?
 
Old 10-02-2003, 03:30 PM   #3
waffe
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 69

Rep: Reputation: 15
Hi katana,

I have the same problem. I have just installed sendamil on a debian box and I can't seem to find/make a virtusertable. Did you ever solve your problem. If so, how did you do it.

Thanks,

Bill
 
Old 03-01-2004, 10:54 AM   #4
cvanbrederode
LQ Newbie
 
Registered: Jan 2004
Location: Glen Rock, PA
Distribution: Red Hat Enterprise Linux 5
Posts: 21

Rep: Reputation: 15
I'm having a similar problem on _both_ my Red Hat 9.0 boxes. When I run makemap hash file > file on either box, the process hangs. No activity from the process in top, but it can be killed and/or Ctrl-C'd out. Don't think it would take more than a blink to makemap a two line file with a 2.6 GHz P-4 w/ HT

Anybody else running into this problem?

Chris Van Brederode
http://www.intlogsys.com
 
Old 03-01-2004, 12:19 PM   #5
waffe
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 69

Rep: Reputation: 15
Been A while

Sorry but I probably can't help much because I brought a guy in to fix my server problems. Sometimes it is just easer that way.

Have you had mail working at all, ever? Or is this a fresh install of red hat?

I had just installed a new version of Debian when I learned that I had to put all server mail components together manually. Like qpopper, sendmail mail, berkly db. Pain in the ass I tell ya!

Bill
 
  


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 On
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 headache! katana Solaris / OpenSolaris 4 12-29-2002 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:44 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