Date: Fri, 15 Sep 2000 18:19:54 -0400 From: "Ryan Masse" <Rmasse@masterycanada.com> To: <questions@freebsd.org> Subject: OFF TOPIC - problem getting virtusertable to work with sendmail Message-ID: <002c01c01f63$13b7a640$0400a8c0@system2>
next in thread | raw e-mail | index | archive | help
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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>atm my situation is this..</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>In sendmail.cf i have add the = virtusertabel feature=20 as follows:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2># Virtual user table (maps incoming=20 users)<BR>Kvirtuser hash -o /etc/mail/virtusertable</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>i have created the virtusertable with = </FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2><A=20 href=3D"mailto:hello@domain.com">hello@domain.com</A> =20 bob1</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>and have created a shell script to do = the necessary=20 hash as follows:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>echo 'Removing old sourcefile'<BR>rm=20 /etc/mail/sourcefile<BR>echo 'Creating new sourcefile'<BR>cp=20 /etc/mail/virtusertable /etc/mail/sourcefile<BR>echo 'Removing any = existing=20 hashes'<BR>rm /etc/mail/virtusertable.db<BR>echo 'Creating new = hash'<BR>makemap=20 hash /etc/mail/virtusertable < /etc/mail/sourcefile<BR>echo = 'Re-Starting=20 sendmail'<BR>killall sendmail<BR>sendmail -bd -q</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>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 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>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\ </FONT></DIV> <DIV><FONT face=3DArial size=3D2>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 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>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 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>unsuccessful in 3 = attempts.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>any support would be greatly=20 appreciated</FONT></DIV> <DIV><FONT face=3DArial size=3D2><BR>Thanks,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Ryan Masse</FONT></DIV></BODY></HTML> ------=_NextPart_000_0029_01C01F41.8BD4FAA0-- 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?002c01c01f63$13b7a640$0400a8c0>