Date: Fri, 10 Dec 2010 17:12:17 +0300 From: c0re <nr1c0re@gmail.com> To: freebsd-questions@freebsd.org, tomasz dereszynski <tomaszd@paraklet.net> Subject: Re: Want sendmail applying aliases to 'cc:' field too Message-ID: <AANLkTik1bWGXJcq8qEb=ACN3Qfp=_H3ssGwD9_JXWuv_@mail.gmail.com> In-Reply-To: <39dadc79e6794dd92bc2c5b8dfa3ab7b.squirrel@paraklet.net> References: <AANLkTikcYW5RnCipuXDqp=R=JL%2BXPv=-QWexo4ofrJRk@mail.gmail.com> <39dadc79e6794dd92bc2c5b8dfa3ab7b.squirrel@paraklet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/12/10 tomasz dereszynski <tomaszd@paraklet.net>: > > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik1bWGXJcq8qEb=ACN3Qfp=_H3ssGwD9_JXWuv_>