By the way, the problem basically lies in outgoing mail only, not incoming
mail. I don't need to have crypt_key_file defined at all.
I can't believe I didn't think of this before. But I think I have a
solution although I'll have to wait to try it later.

It lies in my small modification to this script.
exec /var/qmail/bin/qmail-qfilter /opt/tmda/bin/tmda-inject -q -c
/etc/tmdarc

Instead I should put the qmail-alias tmda config in this script instead of
/etc/tmdarc. Before, I had to specifiy a key because it kept giving me
permission denied errors (permission set right) and once you specifiy a
directory or key, it worked. (but then broke tmda-cgi) But I think maybe if
change those and take out the datadir and crypt key in tmdarc, that might
work and probably is a better solution than trying to modify the program
which I don't think is necessary.

I'll try this out and get back to the list.
qfilter-tmda:

#!/bin/sh
   export -n QMAILQUEUE  # Muy importante to avoid infinite loop!
   if [ $TCPREMOTEINFO ] && [ -r /home/$TCPREMOTEINFO/.tmdarc ]; then
       exec /var/qmail/bin/qmail-qfilter /opt/tmda/bin/tmda-inject -q \
       -c /home/$TCPREMOTEINFO/.tmdarc
   else
    exec /var/qmail/bin/qmail-qfilter /opt/tmda/bin/tmda-inject -q -c
/etc/tmdarc
   fi

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

Reply via email to