Solaris 10 won"t masquerading xx.domain.com

Solaris 10 won"t masquerading xx.domain.com

am 29.09.2007 01:01:36 von dvd_ranchu

I'm having problem with masquerading xx.domain.com on Solaris 10
sendmail.cf. I've try to rebuild the sendmail.mc file and still have
no success. I have these added to sendmail.mc file and use m4:

FEATURE(`masquerade_envelope')dnl
FEATURE(`masquerade_entire_domain')dnl
MASQUERADE_AS(foo.com)dnl
MASQUERADE_DOMAIN(undesirable_domain)

Re: Solaris 10 won"t masquerading xx.domain.com

am 29.09.2007 22:19:05 von Hans-Peter Sauer

dvd_ranchu unleashed the infinite monkeys on 29/09/2007 00:01 producing:
> I'm having problem with masquerading xx.domain.com on Solaris 10
> sendmail.cf. I've try to rebuild the sendmail.mc file and still have
> no success. I have these added to sendmail.mc file and use m4:
>
> FEATURE(`masquerade_envelope')dnl
> FEATURE(`masquerade_entire_domain')dnl
> MASQUERADE_AS(foo.com)dnl
> MASQUERADE_DOMAIN(undesirable_domain)

Did you install the new sendmail.cf and restart sendmail? If not,
exactly what problem are you having?

--
Rob MacGregor (BOFH)

Rule 37: "There is no 'overkill'. There is only 'open fire'
and 'I need to reload.'"

Re: Solaris 10 won"t masquerading xx.domain.com

am 30.09.2007 06:29:30 von dvd_ranchu

On Sep 29, 1:19 pm, Rob MacGregor wrote:
> dvd_ranchu unleashed the infinite monkeys on 29/09/2007 00:01 producing:
>
> > I'm having problem with masquerading xx.domain.com on Solaris 10
> > sendmail.cf. I've try to rebuild the sendmail.mc file and still have
> > no success. I have these added to sendmail.mc file and use m4:
>
> > FEATURE(`masquerade_envelope')dnl
> > FEATURE(`masquerade_entire_domain')dnl
> > MASQUERADE_AS(foo.com)dnl
> > MASQUERADE_DOMAIN(undesirable_domain)
>
> Did you install the new sendmail.cf and restart sendmail? If not,
> exactly what problem are you having?
>
> --
> Rob MacGregor (BOFH)
>
> Rule 37: "There is no 'overkill'. There is only 'open fire'
> and 'I need to reload.'"

Yes, so I can do masquerading. I did also restart sendmail too. When I
try to do this, I don't get the exact domain I wish to masquerade as
xx.com:

$ cat /etc/hosts | mailx -s "testing" my_email_address@xx.com

I just get the hostname.xx.com from the reply sender.
I want to remove the hostname.

Re: Solaris 10 won"t masquerading xx.domain.com

am 30.09.2007 20:28:03 von Hans-Peter Sauer

dvd_ranchu unleashed the infinite monkeys on 30/09/2007 05:29 producing:
> Yes, so I can do masquerading. I did also restart sendmail too. When I
> try to do this, I don't get the exact domain I wish to masquerade as
> xx.com:
>
> $ cat /etc/hosts | mailx -s "testing" my_email_address@xx.com
>
> I just get the hostname.xx.com from the reply sender.
> I want to remove the hostname.

(By hiding the actual details you're making this harder)

Have you specified "hostname.xx.com" (or "xx.com") in one of the
MASQUERADE_DOMAIN entries?

At this point I think you need to provide an un-mangled sendmail.mc and
some real mail headers (with the domain's un-altered) so that it's
possible to work out what's going wrong.

--
Rob MacGregor (BOFH)

Rule 37: "There is no 'overkill'. There is only 'open fire'
and 'I need to reload.'"