Differences between revisions 2 and 3
Revision 2 as of 2008-07-31 13:57:43
Size: 1311
Editor: dunxd
Comment: Migrated to Confluence 4.0
Revision 3 as of 2015-02-10 00:01:04
Size: 1278
Editor: JimTittsler
Comment: wikification
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
== 4.16. How do I prevent duplicate copies of email coming to the list ==

Occasionally I get the same email message coming to a list. Sometimes this is because people with broken MUAs (like Outlook) do a "group reply" and it puts the list address in twice, and sometimes it's a mail server hiccup. In order to prevent that, I run the mailing list through procmail as shown in the previous FAQ entry. Near the top of my procmail recipe file, I put the following code:
Line 3: Line 6:
h2. 4.16. How do I prevent duplicate copies of email coming to the list

Occassionally I get the same email message coming to a list. Sometimes this is because people with broken MUAs (like Outlook) do a "group reply" and it puts the list address in twice, and sometimes it's a mail server hiccup. In order to prevent that, I run the mailing list through procmail as shown in the previous FAQ entry. Near the top of my procmail recipe file, I put the following code:
{noformat}
Line 9: Line 8:
{noformat}
{noformat}
Line 13: Line 11:
{noformat}
The first bit keeps a message id cache of the last 8192 message ids recieved on the list, and the second bit deletes any messages whose message id matches one in the cache.
}}}
The first bit keeps a message id cache of the last 8192 message ids received on the list, and the second bit deletes any messages whose message id matches one in the cache.
Line 21: Line 19:
_Last changed on Fri Jan 25 00:22:17 2008 by_ jidanni
{color:darkgreen}Converted from the Mailman FAQ Wizard{color}
Last changed on Fri Jan 25 00:22:17 2008 by jidanni
Line 24: Line 21:
This is one of many [Frequently Asked Questions].}}} Converted from the Mailman FAQ Wizard

This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].

4.16. How do I prevent duplicate copies of email coming to the list

Occasionally I get the same email message coming to a list. Sometimes this is because people with broken MUAs (like Outlook) do a "group reply" and it puts the list address in twice, and sometimes it's a mail server hiccup. In order to prevent that, I run the mailing list through procmail as shown in the previous FAQ entry. Near the top of my procmail recipe file, I put the following code:

 :0 Whc: msgid.lock
 | formail -D 8192 /tmp/msgid.cache

 :0 a
 /dev/null

The first bit keeps a message id cache of the last 8192 message ids received on the list, and the second bit deletes any messages whose message id matches one in the cache.

If you run more than one email list through the same procmail recipe file, be sure and use a different msgid.cache file for each list, possibly by calling it /tmp/msgid.cache.$ {MAILMAN} If you don't, people won't be able to send a message to two of your mailing lists at a time. That may be desirable to you. \\

Last changed on Fri Jan 25 00:22:17 2008 by jidanni

Converted from the Mailman FAQ Wizard

This is one of many Frequently Asked Questions.

MailmanWiki: DOC/4.16 How do I prevent duplicate copies of email coming to the list (last edited 2015-02-10 00:48:08 by JimTittsler)