From owner-freebsd-ports Sun Jul 27 07:25:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA06718 for ports-outgoing; Sun, 27 Jul 1997 07:25:44 -0700 (PDT) Received: (from jmb@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA06705; Sun, 27 Jul 1997 07:25:39 -0700 (PDT) From: "Jonathan M. Bresler" Message-Id: <199707271425.HAA06705@hub.freebsd.org> Subject: Re: Sendmail Problems? To: jonz@netrail.net (Jonathan A. Zdziarski) Date: Sun, 27 Jul 1997 07:25:38 -0700 (PDT) Cc: freebsd-ports@freebsd.org In-Reply-To: from "Jonathan A. Zdziarski" at Jul 27, 97 09:48:42 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jonathan A. Zdziarski wrote: > > I've noticed a small problem with what I believe is the localdelivery > agent, or perhaps a ruleset in my sendmail. I've set up a 'virtual > mailmapping' setup in sendmail, using a hash database, so if somebody > uses, for example 'webmaster@thecoffeehouse.com' it is supposed to forward > to 'krioni@ma.ultranet.com'. According to sendmail in -bt mode, and doing > an EXPN, sendmail is responding correctly, but when the message actually > gets to krioni@ma.ultranet.com, it is addressed to > 'krioni@ma.ultranet.com@netrail.net' (netrail.net is our local domain). > I'm trying to track down what is causing this problem, and solve it. > Anybody have any ideas? Let me know thanks. I've included a copy of our > sendmail.cf if you wanted to take a look at it. sound like you are performing the lookup correctly and but then appending the local domain. hmm...you sent your /etc/sendmail.cf rather then your .mc file....you are using the m4 macros for sendmail arent you. /usr/src/usr.sbin/sendmail/cf/cf/*.mc why not use the builtin genericstable and virtusertable. virtusertable for translating inbound mail and genericstable for outbound? jmb