Hello,

When I try to run this line from /etc/crontab under
Gentoo Linux:

/usr/bin/tmda-pending -c \
/usr/local/vpopmail/domains/wingnet.net/craig/.tmdarc \
-b -T | egrep -i "words|I|don't|want|to|see|go|here" \
| awk '{print $1}' | /usr/bin/tmda-pending -c \
/usr/local/vpopmail/domains/wingnet.net/craig/.tmdarc \
-b -d -  

I get this traceback:

Traceback (most recent call last):
  File "/usr/bin/tmda-pending", line 312, in ?
    main()
  File "/usr/bin/tmda-pending", line 303, in main
    pretend = pretend
  File "/usr/lib/python2.3/site-packages/TMDA/Pending.py", line 90, in initQueue
    sys.stdin = open('/dev/tty', 'r')
IOError: [Errno 6] No such device or address: '/dev/tty'

This is a bug. We shouldn't try to open /dev/tty when
operating in batch mode! I'd love to patch this, but
I can't figure out how to accurately determine if we
are interactive or not on line 90 of Pending.py.

Any ideas?


-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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

Reply via email to