Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 1999 01:45:51 -0500 (EST)
From:      Chris  <chrismar@readington.com>
To:        Craig Beasland <craig@hotmix.com.au>
Cc:        "'Dan Dockery'" <danarchy@endeneu.com>, "'FreeBSD Questions List'" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Virtual users with sendmail
Message-ID:  <Pine.BSF.4.05.9902050143290.18824-100000@walnut.readington.com>
In-Reply-To: <01C7F728BCABD211860B00C0261004192C9E@ABERDEEN>

next in thread | previous in thread | raw e-mail | index | archive | help
Also, be sure you have the proper format when running makemap.

The correct format, in your case would be:
makemap hash /etc/virtusertable.db < /etc/virtusertable

Chris

On Fri, 5 Feb 1999, Craig Beasland wrote:

> Hey there,
> 
> You must also uncomment out the rules in the cf file...
> 
> about line 606 in my copy you will find the rules which need to be
> uncommented out
> #handle virtual users
> 
> you can use the sendmail -bt command to test you setup.
> /usr/sbin/sendmail -bt
> Enter <ruleset> <address>
> >0 craig@hotmix.com.au
> should show you the return...
> 
> cheers
> craig
> 
> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Dan Dockery
> Sent: Thursday, 4 February 1999 23:16
> To: freebsd-questions@FreeBSD.ORG
> Subject: Virtual users with sendmail
> 
> 
> I was wondering if someone could tell me the line I need to put in my
> sendmail.cf to enable virtual users.  I've created /etc/virtusers and
> run makemap hash virtusertable.db, etc.  but I can't figure out which
> line needs to be inserted to tell sendmail to use the file.
> I've tried the stuff in the virtual hosting section of
> www.sendmail.org, but it only mentioned a bunch of m4 stuff that didn't
> work for me.  I also found somewhere something that suggested adding
> Kvirtualusertable hash -o /etc/virtusertable.db but that also doesn't
> seem to have worked.
> 
> (real names changed to protect the innocent)
> sendmail.cw contains domain.com
> 
> and
> /etc/virtuser contains
> user@domain.com	otheruser
> user2@domain.com	otheruser2
> 
> -Dan
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


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?Pine.BSF.4.05.9902050143290.18824-100000>