On 5/29/2013 2:03 AM, Bu Xiaobing wrote: > On 2013-5-29 13:24, Stan Hoeppner wrote: >> On 5/28/2013 9:11 PM, Bu Xiaobing wrote: >>> On 2013-5-28 16:12, li...@kurawa.fidonet.or.id wrote: >>>> On Tue, 28 May 2013 16:04:09 +0800 >>>> Bu Xiaobing <bushu...@gmail.com> wrote: >>>> >>>>> When I send mails to the mail list that contains myself, I will >>>>> received the mail. >>>>> >>>>> Is there any way to discard there mails sent back to the original >>>>> sender in the mail list? >>>>> >>>> >>>> This not related to postfix. But if you're using Mailman to manage mail >>>> list, there are option to change this behavior.. look at "Receive your >>>> own posts to the list?" and set it to "No". >>>> >>> >>> The mail lists built for internal use only, the lists/members are >>> maintained by LDAP, so I think the Mailman can't help. >> >> What you have is called a "distribution list". As others mentioned, if >> you want the feature you describe, you will need to use mailing list >> manager software for everyone in the list to have this option. >> >> If you want this only for yourself, again as mentioned, create a >> rule/filter in your MUA to discard such messages. >> > > We have many mail groups or "distribution list" maintained by our LDAP > server as defined by the parameter virtual_alias_maps = > ldap:/etc/postfix/ldap-virtual.cf > > So we just need add the feature like "Don't receive your own posts to > the distribution list" and the mail groups still maintained by the LDAP > server.
As far as I know this isn't possible. > Else if we choose mailman, the mail lists or mail groups will maintained > by mailman, and then we cannot maintain members in lists by one > administrator. This is a programmatic issue. You can't be the first to climb this hill. Look around. Someone has probably already written a script to do this. -- Stan