Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2010 16:33:16 +0100
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        c0re <nr1c0re@gmail.com>
Cc:        freebsd-questions@freebsd.org, tomasz dereszynski <tomaszd@paraklet.net>
Subject:   Re: Want sendmail applying aliases to 'cc:' field too
Message-ID:  <xeiahbelabib.fsf@kobe.laptop>
In-Reply-To: <AANLkTik1bWGXJcq8qEb=ACN3Qfp=_H3ssGwD9_JXWuv_@mail.gmail.com> (c0re's message of "Fri, 10 Dec 2010 17:12:17 %2B0300")
References:  <AANLkTikcYW5RnCipuXDqp=R=JL%2BXPv=-QWexo4ofrJRk@mail.gmail.com> <39dadc79e6794dd92bc2c5b8dfa3ab7b.squirrel@paraklet.net> <AANLkTik1bWGXJcq8qEb=ACN3Qfp=_H3ssGwD9_JXWuv_@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 Dec 2010 17:12:17 +0300, c0re <nr1c0re@gmail.com> wrote:
> I do use aliases file and I know what is it.
> But it looks like not this case.
> I want Cc: be rewritten like in aliases file defined in Cc: header,
> not only those one that comes in "RCPT TO:".
> And sendmail does not do it with Cc: field.
> Yes, recipient that in Cc: field do receive this mail, all ok in this
> way, but I want in MY mail Cc: field been rewritten as it is in
> aliases.
>
> I want to see in my mail this email headers
> to: user@domain.com
> cc: user3@site2.domain.com
>
> Not this one:
> to: user@site1.domain.com
> cc: user3@domain.com
>
> Looked at postfix - same thing, no such feature saw there in documentation.

That's because aliases do not actually 'rewrite' anything.  They merely
redirect the message.  Have a look at:

    FEATURE('masquerade_envelope')
    FEATURE(`allmasquerade')

But pay careful attention to the warning about `allmasquerade' in the
docs at `/usr/share/sendmail/cf/README'.




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