OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: SIMPLE MASQUERADING

From: Homer Wilson Smith (homerlightlink.com)
Date: Sat Feb 02 2008 - 21:24:04 CST


     masquerade_domains = lightlink.com
     masquerade_exceptoins = root

     seems to fit the bill and duplicates the old sendmail
quite nicely.

     I notice however that if I USE sendmail to send an e-mail as
root, the exception is not honored in the LOGGING in /var/log/mail..

     sendmail homerlightlink.com < /root/.login

     is LOGGED in /var/log/mail as coming from rootlightlink.com,

     rather than rootadore2.lightlink.com, the mail however is
delivered properly with the exception in place.

     Homer

------------------------------------------------------------------------
Homer Wilson Smith The Paths of Lovers Art Matrix - Lightlink
(607) 277-0959 KC2ITF Cross Internet Access, Ithaca NY
homerlightlink.com In the Line of Duty http://www.lightlink.com

On Wed, 30 Jan 2008, chteh wrote:

> Dear Homer,
>
> Have you try the "masquerade_domains = " in your main.cf?
>
> I never try it using pine, but i think it will works.
>
> Best Regards,
>
> Simon Teh
> Network and System Administrator
> National Advanced IPv6 Centre of Excellence,
> School of Computer Science,
> Universiti Sains Malaysia
>
>
>
>
>
> Homer Wilson Smith wrote:
>>
>> I have $myhostname set to adore2.lightlink.com and
>> $mydomain set to lightlink.com.
>>
>> But pine insists on using From: homeradore2.lightlink.com
>> as the default when I send mail unless I explicitly set it
>> to use lightlink.com in pine's config file. This is somewhat
>> problematic as all the other users on this system have no clue about
>> these things, and adore2.lightlink.com is not allowed to receive
>> e-mail directly.
>>
>> Thanks Homer
>>
>> ------------------------------------------------------------------------
>> Homer Wilson Smith The Paths of Lovers Art Matrix - Lightlink
>> (607) 277-0959 KC2ITF Cross Internet Access, Ithaca NY
>> homerlightlink.com In the Line of Duty http://www.lightlink.com
>>
>> On Tue, 29 Jan 2008, Homer Wilson Smith wrote:
>>
>>>
>>> New user to postfix, pointers to RTFM welcome.
>>>
>>> Sendmail had a setting that allowed a machine to send
>>> mail without its name on the outgoing From: line.
>>>
>>> So addresses like From: Homeradore2.lightlink.com would
>>> automatically be masqueraded as homerlightlink.com.
>>>
>>> How do I do this in postfix?
>>>
>>> Thanks Homer
>>>
>>> ------------------------------------------------------------------------
>>> Homer Wilson Smith The Paths of Lovers Art Matrix - Lightlink
>>> (607) 277-0959 KC2ITF Cross Internet Access, Ithaca NY
>>> homerlightlink.com In the Line of Duty http://www.lightlink.com
>>>
>>
>