From [EMAIL PROTECTED] Wed Jul 30 10:20:44 2003
Subject: tmda-test
Folder: /dev/null 914
procmail: [18902] Wed Jul 30 10:21:02 2003
procmail: Assigning "LOGABSTRACT=all"
procmail: Assigning "SHELL=/bin/sh"
procmail: Assigning "EXTENSION="
procmail: No match on "."
procmail: Assigning "[EMAIL PROTECTED]"
procmail: Executing "formail -x Return-Path | sed 's/[<>]//g;s/^[ ]*//'"
procmail: Assigning "[EMAIL PROTECTED]"
procmail: Executing "/usr/local/src/tmda-0.80/bin/tmda-filter"
procmail: [18902] Wed Jul 30 10:21:03 2003
procmail: Error while writing to "/usr/local/src/tmda-0.80/bin/tmda-filter"
procmail: Program failure (75) of "/usr/local/src/tmda-0.80/bin/tmda-filter"
procmail: Assigning "LASTFOLDER=/usr/local/src/tmda-0.80/bin/tmda-filter"
procmail: Assigning "EXITCODE=75"
procmail: Assigning "DEFAULT=/dev/null"
procmail: Assigning "LASTFOLDER=/dev/null"
procmail: Opening "/dev/null"
procmail: Notified comsat: "[EMAIL PROTECTED]:/dev/null"
This couldn't possibly be something as easy a bad file permissions could it?
--Tony
Tim Legant wrote:
Tony Bibbs <[EMAIL PROTECTED]> writes:
In reading list archives i'm confused on what goes in .procmailrc and .procmailrc-tmda. Clarification is appreciated. Right now I have an empty .procmailrc-tmda. In .procmailrc I have this:
LOGFILE=/home/tony/procmail.log VERBOSE=yes LOGABSTRACT=all EXTENSION="$1" :0 * EXTENSION ?? . { DELIMITER="+" } RECIPIENT="[EMAIL PROTECTED]" SENDER=`formail -x Return-Path | sed 's/[<>]//g;s/^[ ]*//'`
:0 w | /usr/local/src/tmda-0.80/bin/tmda-filter
EXITCODE=$?
DEFAULT=/dev/null
These are the correct contents of ~/.procmailrc. If you need to sort mail (using procmail) after TMDA has validated it, then you'll want to put those rules in ~/.procmailrc-tmda. If, on the other hand, you deliver all mail to one mailbox, you don't need to run procmail a second time. You could set DELIVERY to something like this.
DELIVERY = "~/Inbox"
This will cause TMDA to store all valid mail in a standard mbox in your home directory called "Inbox".
Sending a messag to myself produces an EX_TEMPFAIL error in maillog.
So I check out contents of procmail.log:
[...]
procmail: Executing "/usr/local/src/tmda-0.80/bin/tmda-filter"
procmail: [28808] Thu Jul 10 22:07:05 2003
procmail: Program failure (75) of "/usr/local/src/tmda-0.80/bin/tmda-filter"
This means that tmda-filter ran into an unrecoverable error. Since you don't appear to have LOGFILE_DEBUG set in your config file, the error will have been written to ~/TMDA_DELIVERY_FAILURE. It is a Python stack trace. You can post it here to help us figure out what's going wrong.
Tim
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users
_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
