Michael Bleyer <[EMAIL PROTECTED]> writes:

> I have appended a patch that modifies tmda-rfilter to automatically
> cleanup the pending directory.

What's wrong with just purging the pending queue periodically from
cron?

> However, only the message key/value pair in the dictionary list is
> purged, the actual message never gets deleted.

This was an intentional design decision, because doing this each time
a message arrives with tmda-rfilter seems too expensive to me.  Doing
it with tmda-pending also allows you to specify a time-interval so you
can decide exactly how long messages are to live in pending.
Otherwise a pending message's lifetime is unpredictable since it
depends on how fast DELIVERED_CACHE_LEN is filled.

Another reason I'm hesitant to commit this change is that I'm not sure
I want to keep the DELIVERED_CACHE/DELIVERED_CACHE_LEN method.  If I
replace this later, it will create an incompatibility which users
seem to get extremely uptight about.

Comments, anyone?
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to