procmail
[Top] [All Lists]

Re: Procmail not substituting the From: field

1998-05-17 08:04:42
First of all thanks to Era for the tip on saving procmail's output to file.
It helps to actually see what's going on.

While testing and playing with the procmail scripts to find out my problems
with the From: field, I quite by accident stumbled on the cause of my
problems. If I take out the "Precedence: junk" header addition from my
script, the From: field is displayed the way I planned. My concern now is
what is the purpose of the junk Precedence and what am I causing by not
having it in place? I thought it was just a prioritization (ie first class,
junk, etc). I see the precedence listed in many of the examples I've seen,
but none really explain it's purpose. Obviously sendmail 8.8.8 doesn't like
it for these autoresponders.

Any ideas?

I am using sendmail 8.8 and procmail to set up autoresponders on a FreeBSD
machine. Everything works perfectly (including the inserted subject line)
except the outgoing message does not use my formail replacement for
"From:".
It uses the default name for the user account. I've used virtually the
identical script before on a different box and it worked fine. I'm
assuming
it's a procmail thing with formail or a sendmail rule, but I just don't
see
the problem.

On Tue, 12 May 1998 21:48:28 -0400, "Harry Patterson"
<harry(_at_)visiontm(_dot_)com> wrote:
My sendmail is as untouched as I could install it. If there is a rule
there
somewhere, I can't find the offending lines. What I need to figure out
is
how to isolate the mail before it gets to sendmail to ensure who's
problem
it is...sendmail, formail, or procmail.

Save a copy to a file. I.e.

   :0
   * conditions
   | ( formail -IFoo: -aBar: ; cat /etc/motd ) \
     | tee -a /tmp/outgoing | $SENDMAIL $SENDMAILFLAGS -t

/* era */

--
Paparazzi of the Net: No matter what you do to protect your privacy,
 they'll hunt you down and spam you. <http://www.iki.fi/~era/spam/>


<Prev in Thread] Current Thread [Next in Thread>