From owner-freebsd-doc@FreeBSD.ORG Wed Jan 5 15:22:14 2005 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A04A16A4CE for ; Wed, 5 Jan 2005 15:22:14 +0000 (GMT) Received: from nic.upatras.gr (nic.upatras.gr [150.140.129.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 65E6043D1F for ; Wed, 5 Jan 2005 15:22:10 +0000 (GMT) (envelope-from ltsampros@upnet.gr) Received: (qmail 15656 invoked by uid 111); 5 Jan 2005 15:22:08 -0000 Received: from ltsampros@upnet.gr by nic.upatras.gr by uid 103 with qmail-scanner-1.22 (clamdscan: 0.71. Clear:RC:1(150.140.129.25):. Processed in 0.052244 secs); 05 Jan 2005 15:22:08 -0000 Received: from owl.upnet.gr (150.140.129.25) by nic.upatras.gr with SMTP; 5 Jan 2005 15:22:08 -0000 Received: (qmail 17476 invoked by uid 1005); 5 Jan 2005 15:22:07 -0000 Received: from upnet-dialinpool-7.upnet.gr (HELO bifteki.home.net) ([150.140.128.247]) (envelope-sender ) by owl.upnet.gr (qmail-ldap-1.03) with SMTP for ; 5 Jan 2005 15:22:07 -0000 Received: from bifteki.home.net (bifteki [127.0.0.1]) by bifteki.home.net (8.13.1/8.13.1) with ESMTP id j05FP9NM002108 for ; Wed, 5 Jan 2005 17:25:09 +0200 (EET) (envelope-from gaghiel@bifteki.home.net) Received: (from gaghiel@localhost) by bifteki.home.net (8.13.1/8.13.1/Submit) id j057qjjf000809 for freebsd-doc@freebsd.org; Wed, 5 Jan 2005 09:52:45 +0200 (EET) (envelope-from gaghiel) Date: Wed, 5 Jan 2005 09:52:45 +0200 From: Leonidas Tsampros To: freebsd-doc@freebsd.org Message-ID: <20050105075245.GA793@bifteki.home.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Problem with mail for dialup users X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2005 15:22:14 -0000 Hello, I'm using dialup to connect to the internet and i tried to setup sendmail in the way it is mentioned in the FreeBSD Handbook. According to Chapter 22.9 all you have to do is to setup sendmail in a way that it rewrites your local domain address to your ISP's domain address. This means that something like user@bsd.home will become user@isp's.net . Of course THIS IS WORKING but it doesn't suit users that have a different login name at ther local machine and a different one at their's ISP mailbox. A solution to this is to use a genericstable file at their /etc/mail mc file so there can be full address rewriting like userY@bsd.home becomes userZ@isp's.net . The options that i have appended to the previous configuration are the following: FEATURE(`genericstable', `btree -o /etc/mail/genericstable') FEATURE(`generics_entire_domain') GENERICS_DOMAIN(`bsd.home') [user@bsd.home]doc $ cat /etc/mail/genericstable user@bsd.home userZ@isp's.net Thanks for your time.