From owner-freebsd-questions@FreeBSD.ORG Fri Dec 10 15:33:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C8E3106566B for ; Fri, 10 Dec 2010 15:33:39 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id E119B8FC17 for ; Fri, 10 Dec 2010 15:33:38 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: oBAFXH5B021535 Received: from gkeramidas-glaptop.linux.gr ([74.125.57.36]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id oBAFXH5B021535 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 10 Dec 2010 17:33:29 +0200 From: Giorgos Keramidas To: c0re References: <39dadc79e6794dd92bc2c5b8dfa3ab7b.squirrel@paraklet.net> Date: Fri, 10 Dec 2010 16:33:16 +0100 In-Reply-To: (c0re's message of "Fri, 10 Dec 2010 17:12:17 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org, tomasz dereszynski Subject: Re: Want sendmail applying aliases to 'cc:' field too X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2010 15:33:39 -0000 On Fri, 10 Dec 2010 17:12:17 +0300, c0re 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'.