Want sendmail applying aliases to 'cc:' field too

tomasz dereszynski tomaszd at paraklet.net
Fri Dec 10 13:53:53 UTC 2010

Generally reading documentation helps.
then google...


first URL...


> Hey all!
> I've got /etc/mail/aliases file like
> user: user at site1.domain.com
> user2: user2 at site1.domain.com
> user3: user3 at site2.domain.com
> When someone from Internet send email to user at domain.com with cc: to
> user3 at 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 at site1.domain.com
> cc: user3 at domain.com
> I want that cc would be user3 at site2.domain.com, like in aliases file.
> Because I got problems replying to all (with user3 at domain.com
> included, but it must be user3 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at 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

More information about the freebsd-questions mailing list