"Marcin M. Jessa" <[EMAIL PROTECTED]> writes: [...]
Thanks for the detailed report. There seem to be several problems going on at once, so let's fix the obvious one and then see where we are. In most of the examples that failed, the reason is because you have a procmail/TMDA loop going on. The reason it isn't an infinite loop is that the DELIVERY variable doesn't pass procmail the -p flag to preserve the environment, so when the second copy of tmda-filter runs, it doesn't have $SENDER and it errors out. Here's how the loop happens. Postfix calls procmail, procmail calls tmda-filter (from ~/.procmailrc), tmda-filter attempts to deliver by calling procmail (the DELIVERY variable) and procmail again tries to deliver by calling tmda-filter. So, the first thing is to decide how you want your setup to work and get it configured properly. I'll assume that you keep procmail configured in Postfix as the MDA (with the -p flag). Then your ~/.procmailrc would call tmda-filter. You now need to set DELIVERY. There are two choices here. You can set DELIVERY to an mbox or a maildir and let tmda-filter deliver directly or you can create a second procmail configuration file (say .procmailrc-tmda) that delivers to the appropriate locations. DELIVERY would then be set like this: DELIVERY = "/usr/local/bin/procmail -p ~/.procmailrc-tmda" Once you have the configuration you want in place and it's not looping, you can then test further things and we can help you from there. Right now, this loop is either disguising or creating other problems. Tim _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
