Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Jul 1998 18:44:52 +1000
From:      "Numard (Norberto Meijome)" <numard@smartmedia.com.ar>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Sendmail Virtusertable not working?
Message-ID:  <359DEB84.B5758E3C@smartmedia.com.ar>

next in thread | raw e-mail | index | archive | help
Hi!
i have the following setup:
* main domain: a.com
* 2nd domain: b.com
* /etc/virtusertable :
xx@b.com                numard@a.com
* /etc/sendmail.cw lists b.com and sendmail.cf has the proper line to
use sendmail.cw.
* /etc/sendmail.cf has this line, so it should be reading the
virtusertable.db
Kvirtuser hash -o /etc/virtusertable.db

i've rebuilt the virtusertable.db (/usr/sbin/makemap -v hash
/etc/virtusertable.db < /etc/virtusertable)
i've restarted sendmail.
Now, when i send a mail to xx@b.com (either from the box or from
outside)
i get:

The original message was received at <DATE>
from [<IP address>]

   ----- The following addresses had permanent fatal errors -----
<xx@b.com>

   ----- Transcript of session follows -----
... while talking to <my server name (server.a.com)>.:
>>> RCPT To:<xx@b.com>
<<< 550 <xx@b.com>... User unknown
550 <xx@b.com>... User unknown

Of course, xx is not a valid user, that';s the whole idea of using
virtusertable,isn't it?
what am i doing wrong?
TIA!
-- 
Norberto Meijome (a) Numard, (a) Beto | ICQ # 15032073
 * Contrary to popular belief, Unix is user friendly. It just happens to
be very selective about who it decides to make friends with.

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?359DEB84.B5758E3C>