On Wed, Nov 08, 2006 at 11:45:52AM -0700, Jason R. Mastaler wrote: > In a Maildir, files do not end with ".msg" like they do in a > native-style pending queue. http://cr.yp.to/proto/maildir.html
Right, but I'm not relying on the extension for globbing; I'm grabbing $PendingCache/* which should handle maildirs just fine. I don't mind changing it as described below, but I'm still not sure I understand why it's failing unless it's just pointing to the wrong directory. So, anyway, this works here: PAGER=/bin/cat tmda-pending -bS <msgID> so I can parse the output of -bT for IDs and then read through the mails with tmda-pending. Maybe I missed it in the docs; I didn't know that tmda-pending relied on the PAGER environment variable. Thanks for pointing that out. I'll try to make those changes later on tonight or tomorrow, and then ask you to try again. By the way, what will tmda-pending say if it has no messages in the cache, or if it can't find its cache? I'll add some basic error-checking for those two cases for sanity's sake. -- Unabashedly littering the information superhighway with detritus like this for over 15 years now. _____________________________________________ tmda-users mailing list (tmda-users@tmda.net) http://tmda.net/lists/listinfo/tmda-users