Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2005 09:52:45 +0200
From:      Leonidas Tsampros <ltsampros@upnet.gr>
To:        freebsd-doc@freebsd.org
Subject:   Problem with mail for dialup users
Message-ID:  <20050105075245.GA793@bifteki.home.net>

next in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050105075245.GA793>