Date: Thu, 6 Jan 2005 16:42:35 +0200 From: Giorgos Keramidas <keramida@freebsd.org> To: Leonidas Tsampros <ltsampros@upnet.gr> Cc: freebsd-doc@freebsd.org Subject: Re: Problem with mail for dialup users Message-ID: <20050106144235.GA27377@gothmog.gr> In-Reply-To: <20050105075245.GA793@bifteki.home.net> References: <20050105075245.GA793@bifteki.home.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-01-05 09:52, Leonidas Tsampros <ltsampros@upnet.gr> wrote: > 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. True :) > 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. The only problem with `genericstable' is that newcomers to FreeBSD will have to be taught about ``map files'' and the correct way to update, regenerate (the .db file), possible pitfalls (i.e. using a different map type in hostname.mc and /etc/mail/Makefile), etc. Care to give it a try and send a diff with your suggestions? - Giorgos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050106144235.GA27377>