On Fri, 27 Jun 1997 12:37:12 +0200, Dallman Ross
<rossd(_at_)heidelberg-emh11(_dot_)army(_dot_)mil> wrote:
procmail: Extraneous filter-flag ignored
These are hard to debug without a verbose log, and usually easy when
you have one. Try running with VERBOSE=yes (perhaps temporarily using
a different log file -- one good reason for splitting your .procmailrc
into smaller files you can INCLUDERC from the main file and debug on
their own with e.g. different LOGFILE settings) and see what it
catches.
the Linux installation did put procmail in place suid root, or is it
suid mail. How do I check on that so I can duplicate it
in compiling the newer version?
ls -l /path/to/procmail
`make recommend' usually does the right thing (check the INSTALL docs).
fine), I want to answer the person, "thank you for
writing to dman(_at_)netcom(_dot_)com"; but if it is the
ix.urz.uni-heidelberg.de
server that forwarded, then it should be "thank you for
writing to o30(_at_)ix(_dot_)urz(_dot_)uni-heidelberg(_dot_)de"; etc., etc.
You can usually grep this out of the very first Received: lines. This
depends to some extent of the MTAs of the forwarding sites but you can
at least expect to see something like "Received: from xyz.netcom.com"
near the beginning of the headers, and extrapolate from that.
sed "s/\$SUBJ/$SUBJ/" $HOME/etc/.acknowledgment
I just noticed that in mail that came with an ampersand already
in the subject, though, that caused the sed statement to reflect
back the rest of the line where the ampersand was.
SUBJ=`echo "$SUBJ" | sed -e 's/&/\\&/g'` should take care of that.
Simpler equivalent commands could perhaps be devised. There are other
funny characters you might want to be wary of, such as anything with a
backslash. (See the sed manual for which characters are special in the
target portion of the s/// command. And BTW, for the truly paranoid,
's/&/\\\&/g' will prevent the substitution of & with & :-)
Hope this helps,
/* era */
--
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r. <http://www.iki.fi/~era/>
* Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>