From owner-freebsd-questions@FreeBSD.ORG Thu Jun 8 09:14:07 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2608C16A90B for ; Thu, 8 Jun 2006 07:10:44 +0000 (UTC) (envelope-from a@zeos.net) Received: from mailgate.kv.ukrtel.net (mailgate.kv.ukrtel.net [213.179.244.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97C4C43D49 for ; Thu, 8 Jun 2006 07:10:43 +0000 (GMT) (envelope-from a@zeos.net) Received: from localhost (localhost.kv.ukrtel.net [127.0.0.1]) by localhost (Postfix) with SMTP id 508551AF6F0 for ; Thu, 8 Jun 2006 10:10:42 +0300 (EEST) Received: from localhost.my.domain (unknown [82.207.124.177]) by mailgate.kv.ukrtel.net (Postfix) with ESMTP id AAP44487CD7214B4F for ; Thu, 8 Jun 2006 10:10:42 +0300 (EEST) Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.13.6/8.13.6) with ESMTP id k587AQ7J001631 for ; Thu, 8 Jun 2006 10:10:26 +0300 (EEST) (envelope-from a@zeos.net) Received: (from elisej@localhost) by localhost.my.domain (8.13.6/8.13.6/Submit) id k587AO9p001630 for freebsd-questions@freebsd.org; Thu, 8 Jun 2006 10:10:24 +0300 (EEST) (envelope-from a@zeos.net) X-Authentication-Warning: localhost.my.domain: elisej set sender to a@zeos.net using -f Date: Thu, 8 Jun 2006 10:10:24 +0300 From: a@zeos.net To: freebsd-questions@freebsd.org Message-ID: <20060608071024.GA1516@localhost> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: mutt-ng/devel-r581 (FreeBSD) Subject: How to make one virtual address in sendmail 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: Thu, 08 Jun 2006 09:14:13 -0000 I use sendmail 8.13.6 and I want all mail from my local host to "my-external-mailbox@external.host.name" is going to "my-local-mailbox@localhost" How to? Can I use any standard feature? I can add my-external-mailbox@external.host.name my-local-mailbox@localhost in virtusertable, but it will nor work without external.host.name in local-host-names, or VIRTUSER_DOMAIN(`external.host.name'), or any other ruler putting "external.host.name" in class {w} or something like that. But I cannot make the last because of my sendmail will try to deliver locally all mail from local host to "external.host.name". The sender of the mail will receive "User unknown" immediately (except for the "my-local-mailbox@localhost") and nothing more. Thank you in advance. Elisej Babenko