Hi Tom,
Postfix con rewrite the sender field of all outgoing mail, but it's much work,
if you have many users to administrate.
add
sender_canonical_maps = hash:/etc/postfix/sender_canonical
to your postfix main.cf
touch /etc/postfix/sender_canonical
(vi|emacs) $_
The format is like this
[EMAIL PROTECTED] [EMAIL PROTECTED]
do
/usr/sbinpostmap /etc/postfix/sender_canonical
/usr/sbin/postfix reload
HTH,
Andreas
On Thu, Jun 28, 2001 at 05:07:07PM +0000, Tom Strickland wrote:
> On Thu, Jun 28, 2001 at 07:33:38AM -0700, Rusty Carruth wrote:
> > Tom Strickland <[EMAIL PROTECTED]> wrote:
> > > Our server is about to be connected to the Internet through a dialup
> > > modem. Naive question:
> > > Is it OK to give our network/server any old domain name? To the
> > > outside world we will be the domain set by our ISP, but can I set the
> > > domain in our LAN to something like smith.jones?
> >
> > It may work, it may not.
> >
> > A lot depends upon how you set up your mail.
>
> Thanks.
> That's what I thought. Running postfix as SMTP, fetchmail to hit POP
> boxes at the ISP.
>
> > If you try to send mail to your ISP from [EMAIL PROTECTED], and your
> > isp is jones.smith, then your isp will most likely deny you the
> > relay that it thinks you are asking for when you try to send email
> > to anyone outside the jones.smith (and possibly smith.jones) domain(s).
> >
> > If, however, you send email directly from your smith.jones side then
> > you might (should?) be ok. (But beware - strange things may happen on
> > INCOMING email ;-)
>
> We'll be using a domain along the lines of ourcharity.org.uk anyway
> (got to buy the domain), with mail forwarding, so we'll have to get
> around similar problems. We'll have mail to:
> our ISP's accounts
> our purchased domain
> the local hostname - deliberately totally different from the other 2
> domains.
> ... all of which must be dealt with by Postfix. I assume that it can
> cope. I'm also worried about zealous spam filters on mailing lists
> detecting an untraceable mailer - that shouldn't be a problem should
> it?
>
> > I had a setup like that for a while - I was descomp.phx.inficad.com
> > AND descomp.com for a long time, and it worked fine as long as I
> > sent email directly out from my descomp.com domain (i.e. I ran
> > postfix on descomp.com and IT was a 'smart mailer' (in the old
> > sendmail terminology :-) So it can work fine. It helps if you
> > set your mailer to accept mail for BOTH domains.....
--
Andreas Grytz | http://www.linux-community.de
Stefan-George-Ring 24 | Tel: +49 (0) 89 993411-0
D-81929 M�nchen | Fax: +49 (0) 89 993411-99