Re: OT: procmailrc question

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

 



Hi,

Thanks for this very much, and also the explanations!

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

Before reporting on the process for the next step (as it was doing
previously).

What am I doing wrong?

Many thanks and best wishes,
Ranjan

> 
> "sylfilter" will receive a copy of the message on its standard
> input.  The above recipe should file messages to /dev/null if
> sylfilter returns an exit status of 0. Of course, change "/dev/null"
> to the name of a folder if you plan to file junk email (for review)
> instead of discarding it.
> 
> Note that the above recipe is actually two procmail filters: the
> first uses sylfilter as the message filer (which is hy it has the
> "c" flag; it is "filing" a copy). The filter recipe depends on the
> success of the prceeding one, so if sylfilter did not consider the
> message to be junk, the second filter will not file the message as
> junk.
> 
> See "man 5 procmailrc" for details.
> 
> Cheers,
> -- 
> Cameron Simpson <cs@xxxxxxxxxx>
> 
> In the wet the rear is more controllable and easy to use I would agree.
> But the front is still where most of your power is. Learn to use the
> force correctly Luke! Don't succumb to the high side!!!
>         - Erik.Astrup@xxxxxxxxxxxxxxxxxxxxxxxxx (Erik Astrup)
> -- 
> 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


-- 
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 EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


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