From owner-freebsd-questions Fri Nov 13 06:37:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA13434 for freebsd-questions-outgoing; Fri, 13 Nov 1998 06:37:37 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from sys02.1nettw.com ([209.136.111.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA13423 for ; Fri, 13 Nov 1998 06:37:31 -0800 (PST) (envelope-from dsonkin@1nettw.net) Received: from d4384205.tampa.advantis.com (gate6.ca.us.ibm.com [198.133.22.212]) by sys02.1nettw.com (8.8.8/8.8.8) with SMTP id JAA18410 for ; Fri, 13 Nov 1998 09:49:49 -0500 (EST) (envelope-from dsonkin@1nettw.net) Received: by d4384205.tampa.advantis.com with Microsoft Mail id <01BE0EE9.3A401680@d4384205.tampa.advantis.com>; Fri, 13 Nov 1998 09:37:28 -0600 Message-ID: <01BE0EE9.3A401680@d4384205.tampa.advantis.com> From: Dmitry Sonkin To: "'freebsd-questions@FreeBSD.ORG'" Subject: FW: Sendmail config problem. Date: Fri, 13 Nov 1998 09:37:26 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id GAA13427 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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