Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 1998 15:25:21 -0700 (PDT)
From:      Paul Wolstenholme <wolstena@sfu.ca>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Sendmail & virtual host problem
Message-ID:  <199807222225.PAA21152@beaufort.sfu.ca>

next in thread | raw e-mail | index | archive | help
I have been trying to setup some virtual hosting for sendmail following 
the instructions from senmail.org and I cannot get it to work.  

I am running FreeBSD 2.2.6 with I believe Sendmail 8.8.8 which I 
installed with 2.2.6-Release.

What I am trying to accomplish is redirecting certain addresses to 
specified user accounts. But when I try it, I get "user unkown" errors in 
the maillog.  

Steps I have followed:
1. Added domains to sendmail.cw ( I can send to existing account using
domain)
2. Created virtual table with following entries:
ches@newdomain.com	ches
@newdomain.com		ches

Then:
makemap hash /etc/virtusertable < domain.list

Which creates:
/etc/virtusertable.db

3. Uncommented in sendmail.cf
Kvirtuser hash /etc/virtusertable (tried /etc/virtusertable.db as well)


4. Restarted sendmail via kill -1 sendmail_process_number

5. Sent message to editor@newdomain.com which fails with user unknown.

6. also tried sendmail -bt:
/map virtusertable @bc-diver.com
and
/map /etc/virtusertable @bc-diver.com

This gives:
Map named "virtusertable" not found


Can anyone see what I am doing wrong?  


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807222225.PAA21152>