Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2008-07-31 13:57:42
Size: 1310
Editor: dunxd
Comment:
Revision 4 as of 2015-02-10 00:48:08
Size: 1274
Editor: JimTittsler
Comment: remove spurious characters and whitespace
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DOC/versions/14352551 #pragma page-filename DOC/versions/4030586
Line 3: Line 3:
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:
Line 5: Line 4:
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 8: Line 8:
}}}
Line 10: Line 9:

{{{
Line 15: Line 12:
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 16: Line 14:
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. 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.
Line 18: Line 17:
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.$ Last changed on Fri Jan 25 00:22:17 2008 by jidanni
Line 20: Line 19:
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.
<<BR>>
''Last changed on Fri Jan 25 00:22:17 2008 by'' jidanni
<<Color2(
Converted from the Mailman FAQ Wizard, col=darkgreen)>>This is one of many [[../Frequently Asked Questions|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)