On Fri, Jan 21, 2005 at 10:48:44PM +0800, Ken Tsai wrote: > Hi, > > I am using the simple mailForwardingAddress to create forward only mailling > list, if a user belongs to two groups, then sending a mail to both of the > group, the user will receive the same message twice. Any idea can prevent > from this? does the qmailGroup thing helps? > > Qmail-ldap version : 20041201 >
This is not a qmail issue. qmail just delivers mail and you are sending a mail to two lists that send the message twice to the same user. There is no way to solve that in a MTA. Another story is the MDA (procmail, etc). Most of those tools have a way to store message IDs or so in a db and use that info to suppress additional deliveries. For procmail you just need to read the manpage (I don't use it but I know it has the feature). If you don't want a to install an additional MDA, I think Russel Nelson has even a script on qmail.org that does it via .qmail. You just need to add it to the default delivery and your problem is solved. -- :wq Claudio
