Re: OT: procmailrc question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2014/01/07 23:44, Cameron Simpson wrote:
On 07Jan2014 23:14, Ranjan Maitra <maitra.mbox.ignored@xxxxxxxxx> wrote:
Example (untested, needed adapting):

   # Get rid of duplicates
   :0 Wc
   | sylfilter ...
   :0 a
   /dev/null

So, I tried this, but without the .... (I guessed that you were
suggesting this for arguments, is this correct, and the default
versions are just fine for using sylfilter).

Therefore, I put in this:

:0 Wc
| /usr/local/bin/sylfilter
:0 a
$HOME/Mail/Junk/.


However, I still get the same error in my procmail.log file:

No input file.

The web page shows:

   sylfilter ~/Mail/inbox/1234

as the example to classify a message. 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.

Cheers,


Shouldn't this simpler invocation work?

:0 Wc
| /usr/local/bin/sylfilter -

:0 a
$HOME/Mail/Junk

{^_^}
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux