From owner-freebsd-questions@FreeBSD.ORG Fri Dec 10 13:53:53 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 BCDD71065670 for ; Fri, 10 Dec 2010 13:53:53 +0000 (UTC) (envelope-from tomaszd@paraklet.net) Received: from bxc133.internetdsl.tpnet.pl (bxc133.internetdsl.tpnet.pl [83.18.236.133]) by mx1.freebsd.org (Postfix) with ESMTP id 162D38FC17 for ; Fri, 10 Dec 2010 13:53:52 +0000 (UTC) Received: (qmail 3153 invoked by uid 0); 10 Dec 2010 13:27:11 -0000 Received: from 127.0.0.1 by first.magraf.pl (envelope-from , uid 0) with qmail-scanner-2.01st (clamdscan: 0.95.3/12371. spamassassin: 3.2.5. perlscan: 2.01st. Clear:RC:1(127.0.0.1):. Processed in 0.08995 secs); 10 Dec 2010 13:27:11 -0000 Received: from localhost.magraf.pl (HELO paraklet.net) (127.0.0.1) by bxc133.internetdsl.tpnet.pl with SMTP; 10 Dec 2010 13:27:10 -0000 Received: from 85.115.54.180 (SquirrelMail authenticated user tomaszd@paraklet.net) by paraklet.net with HTTP; Fri, 10 Dec 2010 13:27:10 -0000 Message-ID: <39dadc79e6794dd92bc2c5b8dfa3ab7b.squirrel@paraklet.net> In-Reply-To: References: Date: Fri, 10 Dec 2010 13:27:10 -0000 From: "tomasz dereszynski" To: "c0re" User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org 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 13:53:53 -0000 Generally reading documentation helps. then google... http://www.google.co.uk/search?source=ig&hl=en&rlz=1G1GGLQ_ENUK294&=&q=sendmail+aliases&btnG=Google+Search&aq=f&oq= first URL... http://www.feep.net/sendmail/tutorial/intro/aliases.html t > Hey all! > > I've got /etc/mail/aliases file like > > user: user@site1.domain.com > user2: user2@site1.domain.com > user3: user3@site2.domain.com > > When someone from Internet send email to user@domain.com with cc: to > user3@domain.com sendmail send mail to user and user3 normaly, they > recieve their mail. > > But I need some additional behavior: > user receive that mail with > > to: user@site1.domain.com > cc: user3@domain.com > > I want that cc would be user3@site2.domain.com, like in aliases file. > > Because I got problems replying to all (with user3@domain.com > included, but it must be user3@site2.domain.com). How this can be > achieved? > > In other words I need some kind of cc: field rewriting regarding to > aliases file contents. > > I have not found such feature in sendmail. So I think this can be done > with some milter may be... Anyone has ideas? > > Any tips, thinks, tricks and etc highly needed! I'm out of ideas at that > moment. > > Thanks! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > -- bEsT rEgArDs | "Confidence is what you have before you tomasz dereszynski | understand the problem." -- Woody Allen | Spes confisa Deo | "In theory, theory and practice are much numquam confusa recedit | the same. In practice they are very | different." -- Albert Einstein