Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
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 

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 
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 =\ 
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 
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 
unsuccessful in 3 attempts.

any support would be greatly appreciated

Thanks,
Ryan Masse

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>atm my situation is this..</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>In sendmail.cf i have add the virtusertabel feature 
as follows:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># Virtual user table (maps incoming 
users)<BR>Kvirtuser hash -o /etc/mail/virtusertable</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>i have created the virtusertable with </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><A 
href="mailto:hello@domain.com">hello@domain.com</A>&nbsp;&nbsp;&nbsp; 
bob1</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>and have created a shell script to do the necessary 
hash as follows:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>echo 'Removing old sourcefile'<BR>rm 
/etc/mail/sourcefile<BR>echo 'Creating new sourcefile'<BR>cp 
/etc/mail/virtusertable /etc/mail/sourcefile<BR>echo 'Removing any existing 
hashes'<BR>rm /etc/mail/virtusertable.db<BR>echo 'Creating new hash'<BR>makemap 
hash /etc/mail/virtusertable &lt; /etc/mail/sourcefile<BR>echo 'Re-Starting 
sendmail'<BR>killall sendmail<BR>sendmail -bd -q</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>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 </FONT></DIV>
<DIV><FONT face=Arial size=2>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 =\ </FONT></DIV>
<DIV><FONT face=Arial size=2>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 </FONT></DIV>
<DIV><FONT face=Arial size=2>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 </FONT></DIV>
<DIV><FONT face=Arial size=2>unsuccessful in 3 attempts.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>any support would be greatly 
appreciated</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Ryan Masse</FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002c01c01f63$13b7a640$0400a8c0>