[EXIM] Message ID cache in Exim filter?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jim Tittsler
Päiväys:  
Vastaanottaja: exim-users
Aihe: [EXIM] Message ID cache in Exim filter?
Is there a cookbook way to have an Exim filter keep a database of the last
'n' seen message IDs and discard duplicate messages? (Similar to the
feature in procmail's formail.)

I can probably logwrite the the $message_id and lookup/lsearch that file...
but the only way I know to keep it from growing without bound would be to
have a separate cron process. Is there a better way? And/or is there a way
to insert the IDs into a database instead of a text file (and keep the
database size limited)?

Jim

--
*** Exim information can be found at http://www.exim.org/ ***