On Thu, May 05, 2005 at 08:54:59AM -0700, David Grimberg wrote:
> Files only get deleted from the pending queue on a sporadic basis.

Good information, but that wasn't my question.  Perhaps my message was
misleading, in that sense.  Sorry.

My question is why aren't messages being delivered once I indicate it
needs to be released.  There appeared to be a ``.msgcache`` file in
the ``pending`` directory that looked somewhat corrupted.  This is
perhaps because I CTRL-C'd out of tmda-pending or some other
strangeness.

In any case, once I removed ``.msgcache``, things seemed to be moving
right along.  Messages that I indicated should be released, indeed
were released (delivered to ``/var/mail/username``, as indicated in my
``config`` file).

The problem I had with this is that there were no user-friendly or
even user-unfriendly error messages to indicate that the ``.msgcache``
file was corrupt or that it might be the source of the problem.  FYI,
in TMDA/Pending.py, when you release a file, it gets sent through::

        # Add the date when confirmed in a header.
        del self.msgobj['X-TMDA-Released']
        self.msgobj['X-TMDA-Released'] = Util.unixdate()
        # Reinject the message to the original envelope recipient.
        Util.sendmail(self.show(), self.recipient, self.return_path)

I'm just surprised there wasn't any tracebacks.

-- 
Chad Walstrom <[EMAIL PROTECTED]>           http://www.wookimus.net/
           assert(expired(knowledge)); /* core dump */

Attachment: signature.asc
Description: Digital signature

_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to