>From an idea posted on the list several months ago I have been using dated
addresses on my website for people to contact my wife and me.  I recently
noticed that the script has stopped working.  The script is called from cron
and run as root.

----------
#!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin

echo -n \<a href=\"mailto:
/usr/local/tmda/bin/tmda-address -n -c /home/dom/tmda/charlotte/.tmdarc -a
[EMAIL PROTECTED] -d 23h
echo \"\>John Doe\</a\>
------------

----
crontab entry

16 */1 * * * /home/www/conf/email-jdoe.sh >
/home/www/thewares/email-jdoe.html
----

So basically root is running this command:

/usr/local/tmda/bin/tmda-address -n -c /home/dom/tmda/jdoe/.tmdarc -a
[EMAIL PROTECTED] -d 23h

When I run this command manually as root I get the following error...


Traceback (most recent call last):
  File "/usr/local/tmda/bin/tmda-address", line 104, in ?
    from TMDA import Defaults
  File "/usr/local/tmda/TMDA/Defaults.py", line 1418, in ?
    raise Errors.ConfigError, "Can't find key file: " + CRYPT_KEY_FILE
TMDA.Errors.ConfigError: Can't find key file: /root/.tmda/crypt_key


I recently upgraded from tmda-0.65 to tmda-0.68.  The script works fine in
tmda-0.65.

So my question is, what has changed, and how do I fix it?

Thanks,

Darley
--
PGP Key: www.thewares.net/drware.asc

Dulce bellum inexpertis ("War is delightful to those who have no experience
of it.")  --Erasmus
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to