[EMAIL PROTECTED] writes:

> Current setup: FreeBSD 4-STABLE running postfix/procmail/tmda/cyrus
> 
> * I have postfix going to tmda via /etc/mail/aliases.cyrus:
> davec:            "|/usr/local/bin/python /usr/local/bin/tmda-filter"

I don't run Cyrus, so pardon my ignorance, but if TMDA runs as the
cyrus user, how does the $USER in your TMDA config ever expand as
anything other than 'cyrus'?

> * And in /etc/tmdarc I have:
> DELIVERY = "| /usr/local/bin/procmail -p /usr/local/etc/procmailrc"

Does /usr/local/etc/procmailrc call TMDA in any way?

> BOUNCE_ENV_SENDER = "[EMAIL PROTECTED]"

Looks like you're sending all your double bounces to me :-0

> * Here is the error I get in /var/log/tmda/davec.log:
>   File "/usr/local/lib/python2.2/site-packages/TMDA/Util.py", line 303, in
> pipecmd
>     raise IOError, \
> IOError: failure delivering message to command "/usr/local/bin/procmail -p
> /usr/local/etc/procmailrc" (command "/usr/local/bin/procmail -p
> /usr/local/etc/procmailrc" exited 65  ())

Error 65 is EX_DATAERR.  I'm not sure what causes procmail to exit
with that error, but one possibility might be that procmail is being
called in a loop, which is why I asked above if TMDA is called from
your procmailrc.

> * The setup works fine if I took out tmda, in which case postfix master.cf
> has this for the procmail entry:
> procmail  unix  -       n       n       -       50       pipe
>   flags=Ru user=cyrus argv=/usr/local/bin/procmail -p \
> /usr/local/etc/procmailrc USER=${user} EXTENSION=${extension}

Here you pass the USER and EXTENSION values to procmail on the command
line.  Presumably, when you're running TMDA instead of that procmail
line, those variables are getting set somehow?


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

Reply via email to