Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 1998 09:37:26 -0600
From:      Dmitry Sonkin <dsonkin@1nettw.com>
To:        "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG>
Subject:   FW: Sendmail config problem.
Message-ID:  <01BE0EE9.3A401680@d4384205.tampa.advantis.com>

next in thread | raw e-mail | index | archive | help
Gentlemen,

I have a problem trying to configure sendmail to accept mail for users at another domain locally.
Here is what I did.

1. Setup DNS MX record for new domain to point to the same host as the one serving the old domain.

2. Made an entry in /etc/sendmail.cw file to accept mail for the new domain.

3. Created several entries in /etc/virtusertable.txt file like this

   userid@mailhost.newdomain.com   localuserid

4. Compiled virtusertable.txt into virtusertable.db with makemap program.

5. Uncommented out Kvirtuser entry in sendmail.cf and changed db type to hash

6. Refreshed the sendmail daemon.

Problem is when I send a mail to someone who has identical mail ids in both domains it works OK.
In case userids do not match, e.g. webmaster@newdomain.com is a different person than webmaster@olddomain.com, virtusertable entries are completely ignored and message gets send to the webmaster@olddomain.com .
In case userid in the old domain does not exist, message does not get delivered at all with an error message: uknown user. This again makes me think that virtusertable does nothing.

I appreciate any help anybody can give me.

Thanks a lot,

Dima Sonkin
Tampa, Florida
dsonkin@1nettw.net






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?01BE0EE9.3A401680>