Bennett Todd <bet(_at_)mordor(_dot_)net> writes:
I don't suppose there's any chance that we could get an environment variable
or a config variable in an rc file or some such "sticky" way to disable this?
Hmm. It would be difficult for procmail itself to use such thing as the
effect of the -Y flag takes place when the message is read in, before
the rcfile is even opened, and environment variable are dangerous to
trust due to their being passed between trusted and untrusted processes.
This is subtler than it may look.
Meanwhile, for those of us who are content to lose backward-compatiblity in
the "-Y" behavior, here's a teensy source-code patch, which I made against
3.13.1; it simply inverts the sense of the -Y option, so if you do nothing
Content-Length is ignored, and if you want formail to trust it you use -Y.
Just remember that you applied that patch when you show your shell
scripts to other people.
Wasn't there a 3.14 series under development at one time that supported
Maildir? Or am I confused? I can't find it on ftp.procmail.org.
Look in /pub/procmail/testing -- beware: the current snapshot is broken
with respect to its handling of the spool file in some cases.
Philip Guenther