And success!

In the users home dir:

/usr/local/tmda/bin/tmda-keygen
mkdir /home/mitch/.tmda
echo 596041dcfe0a344ecbfc2478fc4b8ecde169ea9c >/home/mitch/.tmda/crypt_key
chown -R u595 /home/mitch/.tmda
chmod -R u=rwX,g=,o= /home/mitch/.tmda

touch /home/mitch/.courier-default
chown -R u595 /home/mitch/.courier-default

This is from my maildroprc:

  LOCKTMDA=$HOME/.tmda.lock
  flock $LOCKTMDA {
#    to "| env SENDER='$SENDER' /usr/local/tmda/bin/tmda-filter"
    # IF EXITCODE is 99, then tmda processed an action
    # IF EXITCODE is 0, then tmda has approved the message for further
action
    cc "| env SENDER='$SENDER' /usr/local/tmda/bin/tmda-filter"
    if ($EXITCODE != "0")
    {
      #tmda has done it's job - get rid of the evidense!
      to "|cat >/dev/null"
    }
  }
  #IF the message hasn't been dumped at this point, continue processing

Hope that example helps someone!

m/

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

Reply via email to