On Mon, Mar 26, 2001 at 11:09:22AM -0500, Wade A. Mosely wrote:
> Lars Hecking wrote:
> >
> > > Well, passing the message to a very simple one line script seems
> > > to work. I made a ~/.mutt/mailout (mode +x to make it
> > > executable):
> > >
> > > #!/bin/sh
> > > cat | procmail ~/.procoutrc
> > > # End of ~/.mutt/mailout
> >
> >
> > [Splutter] Useless Use of cat.
> >
> >
>
> Thanks, Lars, for that marvelously helpful comment. I didn't
> find any better solution on my own, though.
>
> Using 'set sendmail="procmail ~/.procoutrc"' didn't seem to work
> because of the recipients being included on the command line by
> Mutt. Is there a better way to get the message passed to
> procmail from Mutt?
Have you tried making a script, just like the one you posted, but
without the 'cat |' part? 'cat' does nothing but read from stdin
and copy to stdout; procmail should handle reading from stdin just
fine :)
G'luck,
Peter
--
No language can express every thought unambiguously, least of all this one.