In article <[EMAIL PROTECTED]>, Jason R. Mastaler wrote: > Also Ed, how are you setting $SENDER (the other required environment > variable) in your fetchmail setup?
Fetchmail provides $SENDER in the environment without me having to do any additional configuration. Postfix preserves it, and procmail preserves it when invoked with -p. I invoke tmda-filter from procmail. The only problem I have with that configuration is that fetchmail, since it's delivering to my local user account, causes RECIPIENT to be "[EMAIL PROTECTED]", and EXTENSION to be empty. RECIPIENT_HEADER handles the former case, and my patch handles the latter. My patch isn't strictly necessary in my current configuration, as I can use procmail to parse the RECIPIENT_HEADER and set EXT in the environment before tmda-filter is invoked. Until recently, though, I was using tmda-filter directly as my LDA, and it was necessary then. But I think the patch is reasonable enough: if I'm going to trust RECIPIENT_HEADER to set RECIPIENT, why shouldn't I trust it to set EXT? Ed _________________________________________________ tmda-workers mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-workers
