The -b flag to tmda-pending doesn't properly disable the opening of /dev/tty. This patch fixes that. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 41577 [details, diff] patch to Pending.py
Here's the discussion thread on tmda-users: http://thread.gmane.org/gmane.mail.spam.tmda.user/14630
Patch applied to 1.0.3-r3, now in CVS. Thanks for reporting!