Tom Lee schreef:
(*attribution repaired*) Ruud wrote:
Tom Lee schreef:
[*old advice snipped*]
I just noticed taht formail works only if /etc/passwd contains the
valid login shell.
Try the line
SHELL = '/bin/sh'
in the top of your '.procmailrc'.
thanks. it works this way.
You're welcome.
Let me discuss your recipe now:
:0 c
* (^From.*domain.com)
No need for the surrounding (). You should escape the dot.
* ^From.*domain\.com
{
:0 Afhw
Why the A-flag? Just remove it.
| /usr/bin/formail -I "Content-Type: text/plain;"
I would force a Content-Tranfer-Encoding too, like:
| /usr/bin/formail -I"Content-Type: text/plain;
charset=iso-8859-1"\
-I"Content-Transfer-Encoding: 8BIT"
:0 c
Why another c-flag? An undelivered copy will fall through.
problem_mail
This looks like a mailbox delivery, that normally needs a lock.
You could remove the global lock, and put a local lock on this last
recipe.
}
At this point there will be 2 copies: 1 with and one without the changed
Content-Type header field.
*** Please study my [*comments*] about where you should have removed old
text. You removed (or didn't insert) attribution.
With a quick google: "how to quote" I found:
http://email.about.com/cs/netiquettetips/qt/et090402.htm
There are many other resources on that subject.
[*my own previous sig snipped*]
--
Groet, Ruud
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail