<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.mail.procmail">
    <title>gmane.mail.procmail</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48037"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48036"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48035"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48034"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48033"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48032"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48031"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48030"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48029"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48028"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48027"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48026"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48025"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48024"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48023"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48022"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48021"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48020"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48019"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.mail.procmail/48018"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48037">
    <title>Re: detect an email with japanese characters</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48037</link>
    <description>&lt;pre&gt;PSE-L&amp;lt; at &amp;gt;mail.professional.org (Professional Software Engineering) spake on Tuesday 22-May-2012&amp;lt; at &amp;gt;21:58:42

furrin.rc does a pretty decent job, but i there are no habit characters in the subject, as there often aren't, then it fails on utf-8 encoded foreign spam. OTOH, body checks for habit seem a rather high price to pay.


&lt;/pre&gt;</description>
    <dc:creator>LuKreme</dc:creator>
    <dc:date>2012-05-23T22:19:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48036">
    <title>Re: detect an email with japanese characters</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48036</link>
    <description>&lt;pre&gt;

One late arrival:

Check out "furrin.rc" at:

&amp;lt;http://www.professional.org/procmail/spam.html&amp;gt;

That groups various character sets and checks for hibit characters, 
etc.  There are a number of links to references and pertinent RFCs as well.

I wrote it quite a few years ago (last time that was even altered was 
9 years ago), and it's been quite effective for me.

---
  Sean B. Straw / Professional Software Engineering

  Procmail disclaimer: &amp;lt;http://www.professional.org/procmail/disclaimer.html&amp;gt;
  Please DO NOT carbon me on list replies.  I'll get my copy from the list.
&lt;/pre&gt;</description>
    <dc:creator>Professional Software Engineering</dc:creator>
    <dc:date>2012-05-23T03:58:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48035">
    <title>Re: detect an email with japanese characters</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48035</link>
    <description>&lt;pre&gt;
Great! Thank you all for suggestions.

Konstantin.



On 5/21/2012 4:32 PM, Alan Clifford wrote:
&lt;/pre&gt;</description>
    <dc:creator>Konstantin</dc:creator>
    <dc:date>2012-05-23T02:33:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48034">
    <title>Re: detect an email with japanese characters</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48034</link>
    <description>&lt;pre&gt;
In 'western' usage, it is exceedingly rare to -need- anything beyond the 
so-called C0 through C3 glyph sets (roughly 256 'printable' symbols).

Microsoft is well known for it's egregious MISUSE of UTF-8 multi-byte 
glyphs.  *Especially* in documents that are identified as using something 
_other_ than UTF-8.  One simply cannot 'trust' MS products to get the 
'content-type' right.  Their products are notorious for, say, _declaring_
a document as 'iso-8859-1' or 'Windows-1251', but including in that 
document a handful of UTF-8 3-byte sequences from the '0xe2', '0xe7', 
and '0xef' ranges.  

For processing arbitrary e-mail from a Microsoft product, one has to
essentially throw away the declared charset, parse out the 'valid'
ASCII/ISO-8859/WINDOWS-125x/UTF-8 glyphs that one can recognize, and
do 'something sensible' with 'whatever is left unrecognied'.

It takes a couple of hundred lines of 'C' code to convert a putative
ASCII/ISO-8859/WINDOWS-125x/UTF-8 document to a consistent format,
say ISO-8859-1.  I kn&lt;/pre&gt;</description>
    <dc:creator>Robert Bonomi</dc:creator>
    <dc:date>2012-05-22T02:44:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48033">
    <title>Re: detect an email with japanese characters</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48033</link>
    <description>&lt;pre&gt;

Oh, it's not just MSFT, there are many high byte characters in UTF-8 that are perfectly usable and proper. The days of 7-bit email are long behind us, and that's a good thing.
&lt;/pre&gt;</description>
    <dc:creator>LuKreme</dc:creator>
    <dc:date>2012-05-22T01:31:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48032">
    <title>Re: detect an email with japanese characters</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48032</link>
    <description>&lt;pre&gt;
 Konstantin &amp;lt;klk206&amp;lt; at &amp;gt;panix.com&amp;gt; wrote:

What I do is:

  a) specify a list of charsets that I understand:

     OK_CHARSET=(ASCII|DISPAY|ISO-8859-[12]|WINDOWS-125[012]|utf-8|utf8)

  b) filter anything that (1) specifies charset, and (2) does -not- have
     one of those charsets:h

     :0 H
     * ^(From|To|Subject): *\=\?\?.*
     * ! $ MATCH ?? ${OK_CHARSET}
     $DISCARD

     :0 H
     * ^Content-Type:.*charset\/.*
     * ! $ MATCH ?? ${OK_CHARSET}
     $DISCARD

  c) for 'foreign language' issues, I look for 'commonly occuring' 
     character-sequences (presumbly 'words', but, since I don't speak
     the languge, i'm not -sure- of that:) and look for any of several
     such (presumed) 'words' in the message body.  e.g.:
       for German (which I understand, a little):
        :0 H
        * ^Subject:.*\&amp;lt;(aufmachen|und|der|Ihr|Ihre|Veil|Zeit)\&amp;gt;
        $DISCARD

       for Italian (which I don't):
        :0 EH
        * ^Subject:.*\&amp;lt;(aviso|limitazione|posteitaliane|Urgente|attenzione|logiciel|pros&lt;/pre&gt;</description>
    <dc:creator>Robert Bonomi</dc:creator>
    <dc:date>2012-05-21T23:25:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48031">
    <title>Re: detect an email with japanese characters</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48031</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Robert Bonomi</dc:creator>
    <dc:date>2012-05-21T21:52:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48030">
    <title>Re: detect an email with japanese characters</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48030</link>
    <description>&lt;pre&gt;Konstantin wrote (at 14:59 (-0400) on Monday, 21st May, 2012):


I took a copy of this some time ago.  It might be useful

http://clifford.ac/chinese.html

The mentioned files are in chinese.zip


Alan
&lt;/pre&gt;</description>
    <dc:creator>Alan Clifford</dc:creator>
    <dc:date>2012-05-21T20:32:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48029">
    <title>detect an email with japanese characters</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48029</link>
    <description>&lt;pre&gt;
Hi,

How it is possible to detect (and filter) an email written in Japanese characters (which I cannot read anyway)?

The content-Type specifies charset="utf-8". The "From" field is apparently invalid, and may not necessarily contain .jp

Regards,
Konstantin.
&lt;/pre&gt;</description>
    <dc:creator>Konstantin</dc:creator>
    <dc:date>2012-05-21T18:59:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48028">
    <title>Re: Playing a sound</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48028</link>
    <description>&lt;pre&gt;After extracting the name of the sender, or the list to which it was sent,
or whatever, maybe assemble a text announcement and pipe it into flite
(festival light, text-to-speech in one compact executable).
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail&amp;lt; at &amp;gt;lists.RWTH-Aachen.de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail
&lt;/pre&gt;</description>
    <dc:creator>Bennett Todd</dc:creator>
    <dc:date>2012-04-18T17:53:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48027">
    <title>Re: Playing a sound</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48027</link>
    <description>&lt;pre&gt;Thank you all guys ... appreciated ... I now know more or less what to do ...

Danny

&lt;/pre&gt;</description>
    <dc:creator>Danny</dc:creator>
    <dc:date>2012-04-18T17:46:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48026">
    <title>Re: Playing a sound</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48026</link>
    <description>&lt;pre&gt;Danny wrote (at 21:27 (+0200) on Tuesday, 17th April, 2012):



I remember trying this and I still have the recipe commented out in my 
procmail files:

FROMHEADER=`formail -c -rtz -x To:`
# play sound
# DUMMY=`test -f "${PMDIR}/mailsounds/${FROMHEADER}.wav" \
# &amp;amp;&amp;amp; play "${PMDIR}/mailsounds/${FROMHEADER}.wav" &amp;gt; /dev/null &amp;amp;`


I had a directory with sounds:

alan&amp;lt; at &amp;gt;malander:~$ ls ~/.procmail/mailsounds/
alanclifford\&amp;lt; at &amp;gt;gmail.com.wav  test2\&amp;lt; at &amp;gt;clifford.ac.wav  test\&amp;lt; at &amp;gt;clifford.ac.wav


I don't sit at that computer any more since I got a laptop.


Alan

(  Please address personal email to alan+1&amp;lt; at &amp;gt; as email to lists&amp;lt; at &amp;gt;
    is only read from my subscribed lists. )
&lt;/pre&gt;</description>
    <dc:creator>Alan Clifford</dc:creator>
    <dc:date>2012-04-18T17:25:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48025">
    <title>Re: Playing a sound</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48025</link>
    <description>&lt;pre&gt;Danny squawked out on Tuesday 17-Apr-2012&amp;lt; at &amp;gt;13:27:32

Yep, it's quite easy. On the tried period of time that I was running postfix/procmail on my OIS System I had a recipe that looked something like this on my personal account. I set UNAME by indexing the CLEANFROM against a whitelist local file.

user&amp;lt; at &amp;gt;domain.tld Fred Smith

# This is a non-delivery recipe
:0
* CLEANFROM ?? $UNAME
{ DUMMY=`/usr/bin/say "New mail has arrived from $UNAME" -v Alex -r 255` }

Of course, the command that you use will vary by OS, but it really is that simple. The hard part was building UNAME, which I did with a local file that I edited manually when I wanted notifications from a person.

But the experiment of running postfix and procmail on OS X was short-lived, and my servers are miles away, so sound playing would be rather silly at this point.

You can do pretty much anything you want in a recipe, and executing it from a fake variable assignment avoids a lot of issues.

&lt;/pre&gt;</description>
    <dc:creator>LuKreme</dc:creator>
    <dc:date>2012-04-18T04:34:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48024">
    <title>Re: Playing a sound</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48024</link>
    <description>&lt;pre&gt;`

Yes, procmail is -capable- of doing it.  To wit;

    :0 c:
    * ^From:.*${ADDRESS}
    | ${PLAYSOUND}

However _system_ restrictions may prohibit it.  e.g. system-enforced access
controls may allow only the user logged in on the 'console' to access the
audio device.

More than two decades ago, in a _production_ business environment, I 
deployed a routine on user workstations that submitted a job to a remote 
mainframe.  when the 'completion status' mail came back one of two sound-
effects would play, depending on whether the job completed sucessfully or
failed.  Picked from the 'standard' samples that came with the O/S release,
they were a 'gong' for a successful run, and a 'toilet flushing' for the
other case.   One day, a new user got the submitted data wrong for something
like 20 consecutive attempts.  When he -finally- got the 'gong', he got a
round of applause from everybody within earshot.  *GRIN*
&lt;/pre&gt;</description>
    <dc:creator>Robert Bonomi</dc:creator>
    <dc:date>2012-04-18T03:45:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48023">
    <title>Re: Playing a sound</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48023</link>
    <description>&lt;pre&gt;
:0
* ^From:.*\&amp;lt;some_address&amp;lt; at &amp;gt;domain\.tld
{
         # c - make a copy for purpose of invoking a sound processor
         # i - ignore write errors (say, because your invoked program doesn't
         # give a hoot about stuff on stdin)
         :0ci
         | path/to/some/sound/player soundfile

         # original processing continues here (say you want to file it special
}


The \&amp;lt; isn't literal open bracket, it's regexp for "character before 
or after a word, and of course, the above could be simplified to more 
specifically what you asked for:

# this doesn't copy the message, so it effectively gets tosssed when invoking
# the sound player.
:0i
* ^From:.*\&amp;lt;some_address&amp;lt; at &amp;gt;domain\.tld
| path/to/some/sound/player soundfile


YOU need to find a suitable audio player.  It's an exercise for you 
to resolve hardware permissions (can your user account play sound, or 
only root?)

---
  Sean B. Straw / Professional Software Engineering

  Procmail disclaimer: &amp;lt;http://www.professional.org/procmail/disclaimer.html&amp;gt;
 &lt;/pre&gt;</description>
    <dc:creator>Professional Software Engineering</dc:creator>
    <dc:date>2012-04-17T19:57:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48022">
    <title>Re: Playing a sound</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48022</link>
    <description>&lt;pre&gt;Hi,

I am running Debian ... I think I know how to do it now ...

Thank You

Danny

&lt;/pre&gt;</description>
    <dc:creator>Danny</dc:creator>
    <dc:date>2012-04-17T20:02:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48021">
    <title>Re: Playing a sound</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48021</link>
    <description>&lt;pre&gt;That depends on your operating system, is your mailbox server also your 
workstation, etc.
Generally, assuming your workstation is the same machine where Procmail 
is running, this is fairly trivial. You just need the "action" of your 
procmail recipe to include calling your sound player program, presumably 
telling it what sound file to play. You may have to monkey around with 
user/permissions a bit so that the user that's running the procmail 
script has permission to access your sound device. Presumably if 
procmail is being run as you, and you are logged into X windows, this is 
a non-issue as you will have permission to access the sound device.

&lt;/pre&gt;</description>
    <dc:creator>Andrew Edelstein</dc:creator>
    <dc:date>2012-04-17T19:54:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48020">
    <title>Playing a sound</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48020</link>
    <description>&lt;pre&gt;Hi guys,

Is it possible to play a soundfile when procmail encounters mail from a certain
e-mail address?

Thank You

Danny
&lt;/pre&gt;</description>
    <dc:creator>Danny</dc:creator>
    <dc:date>2012-04-17T19:27:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48019">
    <title>(unknown)</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48019</link>
    <description>&lt;pre&gt;I have the following procmail recipe to auto-respond upon certain
criteria.  The recipe "works" in the way to match and to send reply email;
however the sent email only has mail header without mail body (empty), 
that I could not get it why mail body is "not formed" or "not sent":

SUBJADDR =`formail -xSubject: |perl -pe 's/.*sub.*\s+([^\s]+\&amp;lt; at &amp;gt;[^\s]+)/$1/sg;s/^\s+//g;s/\s+$//g;'`
HISTMARK = `date +"%s"`

:0
* ^TO.*watchdog&amp;lt; at &amp;gt;my.domain
| (formail -i"Subject: Confirmation needed" \
       -I "To: $SUBJADDR"; \
       echo " "; \
       echo " "; \
       echo "Confirmation mark: $HISTMARK") | $SENDMAIL -oi $SUBJADDR

I tried single or double 'echo " ";' lines to leave 1 or 2 space lines 
between mail header and body - that makes no difference.  Any suggestion 
would be appreciated.

Zhiliang
&lt;/pre&gt;</description>
    <dc:creator>Zhiliang</dc:creator>
    <dc:date>2012-02-09T20:32:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48018">
    <title>Re: Organizing</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48018</link>
    <description>&lt;pre&gt;
So?  You can still run the stuff "for all users" in the global 
procmailrc, then fall through to their personal .procmailrc configs.

---
  Sean B. Straw / Professional Software Engineering

  Procmail disclaimer: &amp;lt;http://www.professional.org/procmail/disclaimer.html&amp;gt;
  Please DO NOT carbon me on list replies.  I'll get my copy from the list.
&lt;/pre&gt;</description>
    <dc:creator>Professional Software Engineering</dc:creator>
    <dc:date>2011-11-10T14:29:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.mail.procmail/48017">
    <title>Re: Organizing</title>
    <link>http://permalink.gmane.org/gmane.mail.procmail/48017</link>
    <description>&lt;pre&gt;
That’s one thing I am not having to deal with. We just have the one mailserver and that isn’t king to change.


Both, really.


Because some users will have their own .procmailrc files they want to run. Also, I find that the intersection of people who can grok plus addressing and people who cannot grok a simple .procmailrc is near enough to nil as makes no difference


The global config doesn’t actually *do* anything. It sets a bunch of variables (CLEANFROM, etc), sets a header if the message can in on a spoofed local IP, and it backsup the message. Frankly, if users want to opt-out of the header, they can simply remove it.


That’s a good idea.


&lt;/pre&gt;</description>
    <dc:creator>LuKreme</dc:creator>
    <dc:date>2011-11-10T05:03:17</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.mail.procmail">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.mail.procmail</link>
  </textinput>
</rdf:RDF>

