Re: Want sendmail applying aliases to 'cc:' field too
Generally reading documentation helps. then google... http://www.google.co.uk/search?source=ighl=enrlz=1G1GGLQ_ENUK294=q=sendmail+aliasesbtnG=Google+Searchaq=foq= first URL... http://www.feep.net/sendmail/tutorial/intro/aliases.html t Hey all! I've got /etc/mail/aliases file like user: u...@site1.domain.com user2: us...@site1.domain.com user3: us...@site2.domain.com When someone from Internet send email to u...@domain.com with cc: to us...@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: u...@site1.domain.com cc: us...@domain.com I want that cc would be us...@site2.domain.com, like in aliases file. Because I got problems replying to all (with us...@domain.com included, but it must be us...@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-unsubscr...@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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Want sendmail applying aliases to 'cc:' field too
2010/12/10 tomasz dereszynski toma...@paraklet.net: Generally reading documentation helps. then google... http://www.google.co.uk/search?source=ighl=enrlz=1G1GGLQ_ENUK294=q=sendmail+aliasesbtnG=Google+Searchaq=foq= first URL... http://www.feep.net/sendmail/tutorial/intro/aliases.html t Hey all! I've got /etc/mail/aliases file like user: u...@site1.domain.com user2: us...@site1.domain.com user3: us...@site2.domain.com When someone from Internet send email to u...@domain.com with cc: to us...@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: u...@site1.domain.com cc: us...@domain.com I want that cc would be us...@site2.domain.com, like in aliases file. Because I got problems replying to all (with us...@domain.com included, but it must be us...@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-unsubscr...@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 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: u...@domain.com cc: us...@site2.domain.com Not this one: to: u...@site1.domain.com cc: us...@domain.com Looked at postfix - same thing, no such feature saw there in documentation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Want sendmail applying aliases to 'cc:' field too
On Fri, 10 Dec 2010 17:12:17 +0300, c0re nr1c...@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: u...@domain.com cc: us...@site2.domain.com Not this one: to: u...@site1.domain.com cc: us...@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'. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org