procmail
[Top] [All Lists]

Re: get rid of 'From '-"Header"

2001-06-29 13:45:37
Konstantin Kletschke had this recipe at the end of his .procmailrc:

| :0
| | /usr/sbin/cyrdeliver -q -e -a konsti -m
| user.konsti

Is "user.konsti" supposed to be part of the previous line, and it just got
wrapped in your post?  Because if it's on a line by itself in your
.procmailrc, it accomplishes nothing,

| no formail. the deliver-program of the cyrus package ist pissed-off
| from the "From "-line procmail produces when invoked by konsti.

I see from your subsequent post that you found a solution by having formail
remove From_ and pipe the output to cyrdeliver, but another way, without
running formail (nor a shell to set up the pipe) might be to use procmail's
`r' flag for raw mode.  In raw mode, procmail does not care if the message
doesn't have a From_ line or doesn't have a closing blank line and won't add
them if they're not already there.

If at that point in your .procmailrc the message already has a From_ line
that you need to remove, though, raw mode won't help.

_______________________________________________
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>