procmail
[Top] [All Lists]

Re: adding 'f' to :0w breaks things? odd!

2000-08-24 14:12:02


On Thu, 24 Aug 2000, cory wrote:

Matt Dunford:
I don't think you need to add a 'f' flag when forwarding a message.
Does your perl script print to STDOUT?

(nod) everything is done via pipes, through stdout.

Without the 'f' flag the script works just as I'd like -- the
processed message is piped to sendmail.  Weird things happen, though,
when I add it.  A portion of the recipe is included for reference.

take care,

.c

 :0 w ***
 | $METAMAIL  \
 | $FORMAIL -k -X From: -X Subject: \
 | $PERL $HOME/Procmail/n2w.pl | $SENDMAIL $SENDMAILFLAGS -t

But your recipe is working the way you want it to, then?  I think you
were confusing a pipe with a pipe used as a filter (using the 'f'
flag). They are different.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail