[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sendmail
Subject:    Re: Masquerade for external mail but not internal mail
From:       "Ivan Carey" <icarey () bigpond ! com>
Date:       2004-10-24 13:31:53
Message-ID: 1041024144625.~INN-XFBa00150.comp-news () dl ! ac ! uk
[Download RAW message or body]

I have now setup a virtusertable and think I it is correct
usera@host.domain to usera

it still goes via the outside world

Ivan


"Andrzej Adam Filip ( http://anfi.homeunix.net/ )" <anfi@priv.onet.pl> wrote
in message news:clg6hd$e7$3@anfi.homeunix.com...
> Ivan Carey wrote:
> > How may I setup Masquerading of mail sent to an external address but not
to
> > an internal address.
> >
> > If I use MASQUERADE_AS(`host.domain') then all mail ends up as
> > user@host.domain.
> > If my internal mail is usera@internal.domain.com then I need to be able
to
> > keep this address when sending to userb@internal.domain.com this helps
when
> > user b clicks the reply button otherwise user b will send to
> > usera@host.domain.
> >
> > In other words I only wish to MASQUERADE_AS(`host.domain') when mailing
to
> > an external address and not when mailing to an internal address.
>
> Have you considered the following approach?
>
> Masquerade every message but make the server deliver messages addressed to
> user@host.domain to usera@internal.domain.com
> [ you can use virtusertable for non local email domains]
>
> -- 
> Andrzej [en:Andrew] Adam Filip anfi@priv.onet.pl anfi@xl.wp.pl
> Home Page http://anfi.homeunix.net/ [ PageRank 6 ]
> *Random Epigram* :
> Our sires' age was worse that our grandsires'.
> We their sons are more worthless than they:
> so in our turn we shall give the world a progeny yet more corrupt.
> -- Quintus Horatius Flaccus (Horace)
>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic