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

Reply via email to