From owner-freebsd-questions Fri Sep 15 15:26:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from host.windsor.igs.net (host.windsor.igs.net [216.58.102.2]) by hub.freebsd.org (Postfix) with ESMTP id 1E06137B422 for ; Fri, 15 Sep 2000 15:26:23 -0700 (PDT) Received: from system2 (cisco744.windsor.igs.net [216.58.125.45]) by host.windsor.igs.net (8.9.3/8.9.2) with SMTP id SAA55895 for ; Fri, 15 Sep 2000 18:26:15 -0400 (EDT) (envelope-from Rmasse@masterycanada.com) Message-ID: <002c01c01f63$13b7a640$0400a8c0@system2> From: "Ryan Masse" To: Subject: OFF TOPIC - problem getting virtusertable to work with sendmail Date: Fri, 15 Sep 2000 18:19:54 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0029_01C01F41.8BD4FAA0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0029_01C01F41.8BD4FAA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable atm my situation is this.. In sendmail.cf i have add the virtusertabel feature as follows: # Virtual user table (maps incoming users) Kvirtuser hash -o /etc/mail/virtusertable i have created the virtusertable with=20 hello@domain.com bob1 and have created a shell script to do the necessary hash as follows: echo 'Removing old sourcefile' rm /etc/mail/sourcefile echo 'Creating new sourcefile' cp /etc/mail/virtusertable /etc/mail/sourcefile echo 'Removing any existing hashes' rm /etc/mail/virtusertable.db echo 'Creating new hash' makemap hash /etc/mail/virtusertable < /etc/mail/sourcefile echo 'Re-Starting sendmail' killall sendmail sendmail -bd -q now for some reason none of this is working and i get a user unknow = bounce from the mail server when trying to email the address listed in = the=20 virtusertable. I have used the sendmail -bt and tryed to look for any = /maps but there are none. So i'm stuck wondering what to do =3D\=20 i'm not to sure if just adding the Kvirtuser hash -o = /etc/mail/virtusertable into sendmail.cf was the right thing to do or if = i should have recompiled=20 sendmail with virtusertable support. if someone does tell me i need to = recompile could they also give some instructions to as how bcause i've = been=20 unsuccessful in 3 attempts. any support would be greatly appreciated Thanks, Ryan Masse ------=_NextPart_000_0029_01C01F41.8BD4FAA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
atm my situation is this..
 
In sendmail.cf i have add the = virtusertabel feature=20 as follows:
 
# Virtual user table (maps incoming=20 users)
Kvirtuser hash -o /etc/mail/virtusertable
 
i have created the virtusertable with =
 
hello@domain.com   =20 bob1
 
and have created a shell script to do = the necessary=20 hash as follows:
 
echo 'Removing old sourcefile'
rm=20 /etc/mail/sourcefile
echo 'Creating new sourcefile'
cp=20 /etc/mail/virtusertable /etc/mail/sourcefile
echo 'Removing any = existing=20 hashes'
rm /etc/mail/virtusertable.db
echo 'Creating new = hash'
makemap=20 hash /etc/mail/virtusertable < /etc/mail/sourcefile
echo = 'Re-Starting=20 sendmail'
killall sendmail
sendmail -bd -q
 
now for some reason none of this is = working and i=20 get a user unknow bounce from the mail server when trying to email the = address=20 listed in the
virtusertable. I have used the sendmail = -bt and=20 tryed to look for any /maps but there are none. So i'm stuck wondering = what to=20 do =3D\
i'm not to sure if just adding the = Kvirtuser hash=20 -o /etc/mail/virtusertable into sendmail.cf was the right thing to do or = if i=20 should have recompiled
sendmail with virtusertable support. if = someone=20 does tell me i need to recompile could they also give some instructions = to as=20 how bcause i've been
unsuccessful in 3 = attempts.
 
any support would be greatly=20 appreciated

Thanks,
Ryan Masse
------=_NextPart_000_0029_01C01F41.8BD4FAA0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message