Hi! I am trying to understand how duplicate mail elimination works in postfix.
According to previous postings, mails that are duplicated by resolving multiple recipient aliases that refer to the same final address cannot be suppressed because local(8) doesn't currently handle that case. http://thread.gmane.org/gmane.mail.postfix.user/222900/focus=222906 However, some kind of deduplication might actually be done, because the local(8) man-page tells: -------------------- 8< -------------------- While expanding aliases, ~/.forward files, and so on, the program attempts to avoid duplicate deliveries. The dupli- cate_filter_limit configuration parameter limits the num- ber of remembered recipients. [...] duplicate_filter_limit (1000) The maximal number of addresses remembered by the address duplicate filter for aliases(5) or vir- tual(5) alias expansion, or for showq(8) queue dis- plays. -------------------- 8< -------------------- Unfortunately my problem is quite similar to the issue cited above (brought up in the beginning of this month), so I am not actually expecting a solution. I'm just trying to understand which deduplication cases are handled by postfix and which are not... In my case, I have two aliases: testgrp1: user testgrp2: user If I send a mail to both groups, it will be delivered twice. In contrast, if I add a group testgrp12 that contains testgrp1 and testgrp2 and send the mail to this address, deduplication works. I guess thats because in the first case, even though a single local(8) process handles both addresses, multiple recipients are apparently handled separately. Is there any workaround? (I could use procmail as mailbox delivery agent and filter by duplicate message ids but this won't work for recipients with forwards...) Thanks in advance, --leo -- e-mail ::: Leo.Bergolth (at) wu.ac.at fax ::: +43-1-31336-906050 location ::: IT-Services | Vienna University of Economics | Austria