Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Mar 06, 2005 7:40 pm 
Offline
Senior Newbie

Joined: Sun Mar 06, 2005 7:30 pm
Posts: 5
I have sendmail set up and it doesn't appear to be reading the virtusertable.db

Let's say I have a domain blink48.com, and a user "joeuser-blink48". And I want mail going to joeuser@blink48.com to go to the user "joeuser-blink48"

I have an entry in the virtusertable like so:

joeuser@blink48.com joeuser-blink48

I compile the virtusertable.db file, and then restart sendmail.

But when I connect to port 25 locally and try to send mail to joeuser@blink48.com it doesn't work, telling me the user does not exist. However, when I send mail to joeuser-blink48@blink48.com, it does work.

I'm guessing that somehow sendmail is ignoring what is in /etc/virtusertable.db and thereby not actually knowing that joeuser@blink48.com should exist (virtually)?

Could anyone point me in the right direction? Maybe there is a sendmail config issue I am ignoriing. I'd appreciate it greatly.


Top
   
 Post subject:
PostPosted: Sun Mar 06, 2005 9:10 pm 
Offline
Senior Member
User avatar

Joined: Fri Aug 15, 2003 2:15 pm
Posts: 111
Website: http://fubegra.net/
Maybe it's not enabled in your sendmail.mc?

You should have something like this in your sendmail.mc:

Code:
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl


You then need to run m4 to generate the sendmail.cf file; The Makefile in /etc/mail in Debian, Fedora Core, and (I presume) CentOS can do that for you.

_________________
Bus error (passengers dumped)


Top
   
 Post subject: thanks
PostPosted: Sun Mar 06, 2005 10:16 pm 
Offline
Senior Newbie

Joined: Sun Mar 06, 2005 7:30 pm
Posts: 5
rjp,

Thanks for the reply. I check the .mc file and it had it enabled. However, I recompiled the .cf file and it works now!

I have some other config issues that I need to work through, but at least this one is out of the way.

I've used many mail servers and even administered a few existing ones, but I never had to build one from scratch.

Thanks for your help!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group