Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to remove duplicates messages in some mailing-lists (cross-list posting) in my Exim .forward file.

I was using procmail before with these commands:

:0 Wh: msgid.lock
| /usr/bin/formail -D 8192 msgid.cache

What is the right way to achieve this using .forward Exim files?

share|improve this question
up vote 1 down vote accepted

This isn't really possible to do with Exim filter files. It might be possible to do with embedded Perl or abusing the database lookups, but this would require changing the system exim.conf.

share|improve this answer
Thanks. I'll try to do a shell script and pipe to it. – Grégoire Cachet Oct 21 '09 at 11:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.