Well I took out the $USER for procmail, now the logs are showing what's
below. tmda seems to be working though, I should mention. I'm getting
requests for confirmation, and letting emails pass only after it's
confirmed.
Uncaught Python 2.2.1 Exception (Fri Oct 11 17:13:05 2002):
-----------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/bin/tmda-filter", line 50, in ?
execfile(os.path.join(execdir, 'tmda-rfilter'))
File "/usr/local/bin/tmda-rfilter", line 780, in ?
main()
File "/usr/local/bin/tmda-rfilter", line 717, in main
verify_confirm_cookie(confirm_done_hdr, 'done')
File "/usr/local/bin/tmda-rfilter", line 552, in verify_confirm_cookie
mta.deliver(message_headers, message_body)
File "/usr/local/lib/python2.2/site-packages/TMDA/MTA.py", line 57, in
deliver
msg.deliver()
File "/usr/local/lib/python2.2/site-packages/TMDA/Deliver.py", line 116,
in deliver
self.__deliver_program(self.message, dest)
File "/usr/local/lib/python2.2/site-packages/TMDA/Deliver.py", line 141,
in __deliver_pr
ogram
Util.pipecmd(program, message)
File "/usr/local/lib/python2.2/site-packages/TMDA/Util.py", line 360, in
pipecmd
raise IOError, \
IOError: failure delivering message to command "/usr/local/bin/procmail -p
/usr/local/etc/procmailrc" ([Errno 32] Broken pipe)
On 11 Oct 2002, Tim Legant wrote:
> [EMAIL PROTECTED] writes:
>
> Your mailer has more or less destroyed the formatting of the
> traceback. I'll try to fix the important lines below then ask you a
> question.
>
> > IOError: failure delivering message to command "/usr/local/bin/procmail -p
> > /usr/local/etc/
> > procmailrc $USER" ([Errno 32] Broken pipe)
>
> The preceding section probably looks like this:
>
> > IOError: failure delivering message to command "/usr/local/bin/procmail -p
>/usr/local/etc/ procmailrc $USER" ([Errno 32] Broken pipe)
>
> The error message means that TMDA tried to pipe the message to
> procmail but procmail exited early, before completely reading the
> message. At a guess, it probably exited before reading it at all
> because something in the initialization failed.
>
> In the error text above, either your mailer did something weird or
> your DELIVERY variable has a space between '/usr/local/etc' and
> 'procmailrc', which is probably not what you want. Also, I don't
> understand what '$USER' does on the procmail command-line, since
> according to the manual all arguments are treated as rcfiles and
> latter ones are only read if the earlier ones don't exist or have a
> "not matching HOST-directive".
>
> So... can you post your DELIVERY setting and, if I'm missing something
> about the $USER on the command-line, please enlighten me.
>
>
> 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