Gianni Sandigliano wrote: > > Is there any way to avoid message duplication after mailing list expansion? > > > A quick example: > > > A message is sent: to: al...@mycompany.com > > cc: theb...@mycompany.com > > Because theboss is included in Alist (and the sender does not know > it...) two copies of the message are delivered to theboss. > > The desired feature would be: > 1) avoid delivering to an address in bcc: list when the same address is > already listed in cc: or to: > 2) avoid delivering to an address in cc: list when the same address is > already listed in to: > > Is this possible in postfix? Could someone point me in the right direction? > > Tnks, > Gianni > > I think duplicated mail detection should be done at mta-level. If you are using procmail, there is a simple recipe to do it
:0 Wh: msgid.lock | formail -D 8192 msgid.cache HTH Gerardo