procmail
[Top] [All Lists]

Re: Excessive output from formail

2001-02-16 12:59:53
On Fri, 16 Feb 2001, Philip Guenther wrote:

"John D. Hardin" <jhardin(_at_)wolfenet(_dot_)com> writes:
On Thu, 15 Feb 2001, Jonathan Baker-Bates wrote:

procmail: Excessive output quenched from "formail"

Using a variable capture recipe instead of a variable assignment
with backquotes in the value may be the Right Way to solve the
problem, but we would have to know what Jonathan is trying to do
to be sure.

There are only two places the sanitizer uses formail:

 :0 h c
 PM_CC=| formail -r | grep -i '^To: ' | sed -e 's/^.*@/postmaster@/' -e 
's/>.*//'

(ugly, I know) and:

 :0 h ci
 | ( \
     formail -r \
             -I 'From: "Procmail Security daemon" <postmaster>'\
             -I "Bcc: $SECURITY_NOTIFY" -I "$PM_CC" \
             -I "X-Loop: EMAIL SECURITY WARNING $HOST $SECRET" \
     ;\
     ...etc. snipped.

--
 John Hardin KA7OHZ   ICQ#15735746   http://www.wolfenet.com/~jhardin/
 jhardin(_at_)wolfenet(_dot_)com      pgpk -a 
finger://gonzo.wolfenet.com/jhardin
  768: 0x41EA94F5 - A3 0C 5B C2 EF 0D 2C E5  E9 BF C8 33 A7 A9 CE 76 
 1024: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Failure to plan ahead on someone else's part does not constitute an
  emergency on my part.
                                  - David W. Barts in a.s.r
                                    <davidb(_at_)ce(_dot_)washington(_dot_)edu>
-----------------------------------------------------------------------
   106 days until Mir deorbits

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

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