OT: procmailrc question

Ranjan Maitra maitra.mbox.ignored at inbox.com
Wed Jan 8 12:38:31 UTC 2014


Hi,

Thanks very much for your help! 

> > >   sylfilter ~/Mail/inbox/1234
> > >as the example to classify a message. 

Yes, and the response is something like this:

sylfilter /home/maitra/Mail/inbox/1234
/home/maitra/Mail/inbox/1234: This is a clean mail (prob: 0.000000)


So I believe you want:
> > >
> > >   :0 Wc
> > >   | /usr/local/bin/sylfilter /dev/stdin
> > >   :0 a
> > >   $HOME/Mail/Junk/.
> > >
> > >because the message will be in the standard input and sylfilter
> > >wants a filename.
> > 
> > Shouldn't this simpler invocation work?
> > 
> > :0 Wc
> > | /usr/local/bin/sylfilter -
> > :0 a
> > $HOME/Mail/Junk

However, neither of these work, in the sense that both yield the same
result as before:

No input file.

Unless the specification above is incomplete, something appears to be
wrong with sylfilter itself. It does work (manually) within sylpheed
itself.

Many thanks again!
Ranjan



> -- 
> Cameron Simpson <cs at zip.com.au>
> 
> I had a wierd dream with Ken Thompson in it once.
>         - George Politis <george at research.canon.com.au>
> -- 
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


-- 
Important Notice: This mailbox is ignored: e-mails are set to be
deleted on receipt. Please respond to the mailing list if appropriate.
For those needing to send personal or professional e-mail, please use
appropriate addresses.

____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
Check it out at http://www.inbox.com/marineaquarium




More information about the users mailing list