procmail
[Top] [All Lists]

Re: procmail to mtamail probs.

2001-04-03 23:03:22
All I want to do is strip an attachment and save it. My recipe 
looks like this.

:0 fwb
| metamail -q -x -d


I think that "Warning: Cannot freopen /dev/tty to stdin" is an error 
that metamail throws when it can't discern the Content-Type.

Metamail needs the entire email, not just the body.  If you feed the 
body alone, use '-y' ... but you'd be better off sending the entire 
message... the -q flag will keep metamail from reporting any of the 
headers on stdout.

TjL


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