From owner-freebsd-questions@FreeBSD.ORG Fri Dec 10 14:12:19 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 43E0C106566C for ; Fri, 10 Dec 2010 14:12:19 +0000 (UTC) (envelope-from nr1c0re@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id E878C8FC21 for ; Fri, 10 Dec 2010 14:12:18 +0000 (UTC) Received: by qyk36 with SMTP id 36so3348030qyk.13 for ; Fri, 10 Dec 2010 06:12:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=nZPKphE4U5mC+wy6f1ggB0eDjSTo2NSfgeGgr7tA5eM=; b=BDIO/58/2cIXIX19Lo4ivGJ4VXX7QgXaH3OTbsWSgCF7vdllAhqwJz6wBeAR/oRlsB Fvgd2P9Dw5PAv67/32k4kNDfnPFVtwiKV7Aw22op65pEWtxqEmKrtHgENqTRSk0vlF3+ HYcnME1TF3RwVvkbF2NDUnD9Gg3vfWTKkJukY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=DToQe7jDdkdJOHTTDvgekXxC01FgBWzgUjC4C/fN63m1PITctIUyWku1mO8pQuZBfE 3E8YD1QNzc1fzUV7M5/7wiSnm2FDvbQiLOe/c4xnlvn69ASY4EgDeXl/4oyYfaHi2na+ ypx57Ene9CJWtM62K2+2hcfqNkX8v1fJlWXAg= MIME-Version: 1.0 Received: by 10.229.232.133 with SMTP id ju5mr705327qcb.213.1291990337955; Fri, 10 Dec 2010 06:12:17 -0800 (PST) Received: by 10.229.7.9 with HTTP; Fri, 10 Dec 2010 06:12:17 -0800 (PST) In-Reply-To: <39dadc79e6794dd92bc2c5b8dfa3ab7b.squirrel@paraklet.net> References: <39dadc79e6794dd92bc2c5b8dfa3ab7b.squirrel@paraklet.net> Date: Fri, 10 Dec 2010 17:12:17 +0300 Message-ID: From: c0re To: freebsd-questions@freebsd.org, tomasz dereszynski Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: 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 14:12:19 -0000 2010/12/10 tomasz dereszynski : > > Generally reading documentation helps. > then google... > > http://www.google.co.uk/search?source=3Dig&hl=3Den&rlz=3D1G1GGLQ_ENUK294&= =3D&q=3Dsendmail+aliases&btnG=3DGoogle+Search&aq=3Df&oq=3D > > 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 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 "Confidence is what you= have before you > tomasz dereszynski =A0 =A0 =A0| =A0 =A0 =A0 understand the problem." -- W= oody Allen > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| > Spes confisa Deo =A0 =A0 =A0 =A0| =A0 =A0 =A0 "In theory, theory and prac= tice are much > numquam confusa recedit | =A0 =A0 =A0 the same. In practice they are very > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 different." = -- Albert Einstein > > > 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.