procmail
[Top] [All Lists]

Re: mailing list. New Problem

1996-12-04 06:24:18
On Tue, 3 Dec 1996 tbac(_at_)mail(_dot_)idt(_dot_)net wrote:

[snip]

### IS THERE A FLAG I CAN USE ON THIS RECEIPT BELOW THAT 
### WILL WORK ONLY IF THE ABOVE RECEIPT FALLS THROUGH

Yes, there is: check out the `E' flag in man procmailrc. Your header flag 
should read:
:0Eh
I don't think you need the `i' flag. Also, you should only use the `c' 
flag if you want a copy to end up in your default mailbox. Since you're 
not sending the message body back, it is more efficient to only process the 
message header. Hence the `h' flag.

:0 ic
* ^TO.*
*!^FROM_DAEMON
*!^X-Loop: 
|(formail -r -A"Precedence: junk"\
-I"From: <postmaster(_at_)mydom(_dot_)com> "\
-I"Subject: Undeliverable" \
-A "X-Loop: test(_at_)mydon(_dot_)com";\
cat $FILEDIR/badadd.txt )|$SENDMAIL -t


--
Guy Geens <guy(_dot_)geens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be>: Ph.D. 
student at ELIS -- TFCG / IMEC 
Home Page: http://www.elis.rug.ac.be/ELISgroups/tfcg/staff/gg.html 
finger ggeens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be for PGP public keys (or use 
keyserver) 

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