Re: Maildir format
"clemens fischer" <[email protected]> 26 May 2003 15:59:26 +0200
| Newsgroups | gmane.mail.ifile.general |
|---|---|
| Message-ID | <[email protected]> |
"Karl Vogel" <[email protected]>: > This is perfect for a filter of some kind to open each message and > append "X-Ifile-Result: {good,other,spam}" to the header: > > me% ifile -c -q ??? | update-header sorry, i don't getthis. ifile will respnd with "god" or "bad" (in your example), but it won't put headers noting the outcome to each message. that depens on magical "update-header", of course. this program gets ifiles result on stdin, then how will it put an appropriate header intot he message? or maybe you meant: cd "$messagedir" for i in ??? do ifile -c -q "$i" | update-header "$i" done then update headers would know the name from the argument vector and ifiles classification from stdin? clemens