From owner-freebsd-questions@FreeBSD.ORG Sat Mar 15 08:00:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C26691065671 for ; Sat, 15 Mar 2008 08:00:22 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7C1B18FC1A for ; Sat, 15 Mar 2008 08:00:12 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id m2F7xqNo029008; Sat, 15 Mar 2008 08:59:52 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id m2F7x9ZB029005; Sat, 15 Mar 2008 08:59:50 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 15 Mar 2008 08:59:09 +0100 (CET) From: Wojciech Puchar To: Roberto Nunnari In-Reply-To: <47DB19D8.2010001@supsi.ch> Message-ID: <20080315085852.B28960@wojtek.tensor.gdynia.pl> References: <47DB19D8.2010001@supsi.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: sendmail: from virtual address changed to maindomain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2008 08:00:22 -0000 > > entries in hostname.mc > FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') > FEATURE(genericstable, `hash -o /etc/mail/genericstable') > GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains') > > MX hostnames are all A records. > > well, as long as the users receive/send emails from/to external domains > everything works just fine, but when: > > john@mydomain1.com sends to jack@mydomain1.com or viceversa > > the message gets to the right user, but the from header is > changed to john@maindomain.com, mailbox that doesn't exists! could you please show whole hostname.mc