On 6 Nov 2002, Tim Legant wrote:

>    DELIVERY = "|procmail -f '$SENDER' ~/.procmail-tmda"

This doesn't work, because SENDER won't get expanded. However, by 
reversing the strong and weak quotes:

        DELIVERY = '|procmail -f "$SENDER"  ~/.procmail-tmda'

it will (mostly) work, but the FROM line is often empty instead of saying
"MAILER-DAEMON" as it does the first time through procmail. 

The first pass through procmail reports the bounce as being from
"MAILER-DAEMON" but this is somehow stripped off by tmda, so when we
regenerate the FROM line when passing back to .procmail-tmda, it ends up
empty. At least the mail gets delivered, but it won't be able to match
procmail expressions designed to catch MAILER-DAEMON, and may cause other
problems that I haven't thought of yet.

Skipping the -f doesn't work at all with mbox format, since no FROM line
is created. It *will* get appended to the mbox, but can't be read by mailx
or pine, and may in fact cause mbox corruption. It might work with
maildir, but I can't say for sure.

-- 
"Whenever I feel blue, I start breathing again."

                               - Unknown


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

Reply via email to