<?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 about="http://blog.gmane.org/gmane.mail.procmail">
    <title>gmane.mail.procmail</title>
    <link>http://blog.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://comments.gmane.org/gmane.mail.procmail/19204"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19199"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19195"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19194"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19193"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19189"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19187"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19184"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19175"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19173"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19160"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19159"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19158"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19156"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19154"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19152"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19149"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19143"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19139"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.procmail/19130"/>
      </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://comments.gmane.org/gmane.mail.procmail/19204">
    <title>adding a missing Date: header</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19204</link>
    <description>
For obscure reasons, the Dilbert.com daily strip email does not include
a Date: header.  (It does include Delivery-date:, but I haven't tracked
down where that is being added.)  When I sort the folder by date, mh-e
complains about unreadable dates, so I decided to add the date to any
message missing that header in procmail.  I didn't want to calculate the
date string unless the Date: header was missing, so this is what I came
up with:

# Generate any missing Date: header
:0
* ! ^Date:
{
  :0
  { DATE_=`ruby -e "require 'time'; print Time.now.rfc2822"`}

  :0 fhw:
  | formail -a "Date: ${DATE_}" -a "X-Date: added date header"
}


While this does add a Date: header to any message without it, it also
ends up being evaluated as a delivering recipe.  I've fiddled with it in
different ways and I haven't been able to make it into a non-delivering
recipe.  Could someone fix this so it doesn't deliver?

I really thought this would be a FAQ, but I couldn't find an example of
calculating a value and inserting it into </description>
    <dc:creator>A. Lester Buck III</dc:creator>
    <dc:date>2008-10-03T18:56:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19199">
    <title>Little doubt on receipts.</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19199</link>
    <description>____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail&lt; at &gt;lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
</description>
    <dc:creator>JoeL</dc:creator>
    <dc:date>2008-10-03T08:37:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19195">
    <title>Procmail stopped working? - update</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19195</link>
    <description>I just found out this in mail.log: Suspicious rcfile 
"/home/tolga/.procmailrc"

-------- Orijinal Mesaj --------
Konu: Procmail stopped working?
Tarih: Thu, 02 Oct 2008 20:44:20 +0300
Kimden: Tolga &lt;tolga&lt; at &gt;ozses.net&gt;
Kime: procmail&lt; at &gt;lists.RWTH-Aachen.DE



Hi,

I have the following recipes:

LOGFILE = "procmail.log"
MAILDIR = /var/mail/folders/tolga
:0
* ^From.*procmail-bounces&lt; at &gt;lists.RWTH-Aachen.DE
Procmail
:0
* ^Sender.*kvirc-bounces&lt; at &gt;lists.omnikron.net
KVIrc
:0
* ^From.*noreply&lt; at &gt;couchsurfing.com
* ^Subject:.*[CS msg:*\]
{
   :0c
   CS
   :0
   ! gokce.ozses&lt; at &gt;nielsen.com
}
:0
* ^From.*errors&lt; at &gt;hospitalityclub.org
{
   :0c:
   HC
   :0
   ! gokce.ozses&lt; at &gt;nielsen.com
}
:0
* ^From.*fatura&lt; at &gt;smileadsl.com
* ^Subject:.*Smile Fatura
! tatlimcik&lt; at &gt;hotmail.com
:0
* ^Subject:.*Anacron*
/dev/null

and the following .forward file:

"|IFS=' ' &amp;&amp; exec /usr/bin/procmail || exit 75 #tolga"

But it suddenly stopped working. I don't know why. It just doesn't log, 
it just doesn't filter. Can you help me with that?
</description>
    <dc:creator>Tolga</dc:creator>
    <dc:date>2008-10-02T18:48:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19194">
    <title>Intermittant procmail error</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19194</link>
    <description>Hello,

I haven't posted to the list for years, but I've now hit a problem with 
procmail that I can't find a fix for. I've been plagued by this obscure 
problem with one of my procmail recipes for a long time and thought it 
might have something to do with the old software/OS it was running on 
(SuSE 9.0, procmail 3.15.1). I just moved the script over to a newer OS 
(CentOS 5.2, procmail 5.22) and experience the same problem there :-( I 
hope that someone on this list can finally help me find the problem.

The script takes a mail from a monitoring server (bigsister) as input and 
produces an output in the correct API format for an SMS provider and sends 
it to them. This has been working for years, I don't remember how long. 
However, after a while I recognized that I'm not getting all SMS that I 
should. Eventually I found out that on some of the mails an error happens 
and procmail "recovers" and sends the unprocessed mail body out.
I tried quite a few changes (for instance I first catted most of the body</description>
    <dc:creator>Kai Schaetzl</dc:creator>
    <dc:date>2008-10-02T18:31:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19193">
    <title>Procmail stopped working?</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19193</link>
    <description>Hi,

I have the following recipes:

LOGFILE = "procmail.log"
MAILDIR = /var/mail/folders/tolga
:0
* ^From.*procmail-bounces&lt; at &gt;lists.RWTH-Aachen.DE
Procmail
:0
* ^Sender.*kvirc-bounces&lt; at &gt;lists.omnikron.net
KVIrc
:0
* ^From.*noreply&lt; at &gt;couchsurfing.com
* ^Subject:.*[CS msg:*\]
{
    :0c
    CS
    :0
    ! gokce.ozses&lt; at &gt;nielsen.com
}
:0
* ^From.*errors&lt; at &gt;hospitalityclub.org
{
    :0c:
    HC
    :0
    ! gokce.ozses&lt; at &gt;nielsen.com
}
:0
* ^From.*fatura&lt; at &gt;smileadsl.com
* ^Subject:.*Smile Fatura
! tatlimcik&lt; at &gt;hotmail.com
:0
* ^Subject:.*Anacron*
/dev/null

and the following .forward file:

"|IFS=' ' &amp;&amp; exec /usr/bin/procmail || exit 75 #tolga"

But it suddenly stopped working. I don't know why. It just doesn't log, 
it just doesn't filter. Can you help me with that?
</description>
    <dc:creator>Tolga</dc:creator>
    <dc:date>2008-10-02T17:44:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19189">
    <title>Problems with whitespace characters in procmail</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19189</link>
    <description>I want to use printf to use octal or hex characters to avoid ambiguity
in a whitespace character class inside a procmailrc, but the following
rule is not triggering:

    #SPC_CHAR=`printf \\\\040`
    #TAB_CHAR=`printf \\\\011`
    SPC_CHAR=`printf \\\\x20`
    TAB_CHAR=`printf \\\\x9`
    WHITESPACE="[${SPC_CHAR}${TAB_CHAR}]"
    :0
    * ^Subject: Foo${WHITESPACE}bar
    {
:0fW
|formail -I "X-Local-Fubar: ${WHITESPACE}"

:0:
$DEFAULT
    }

If I don't try to match against WHITESPACE in the recipe, then the
character class appears to be passed along to formail just fine. What am
I doing wrong here?

</description>
    <dc:creator>Todd A. Jacobs</dc:creator>
    <dc:date>2008-10-02T00:20:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19187">
    <title>Adding to the body &amp; forwarding</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19187</link>
    <description>Hi All,
I am effectively trying to add a string to an email body and forward 
the result. I am trying to stay within procmail/formail to do so if possible.

I tried this:

:0
| (formail -I "Subject: change" \
              -I "To: test&lt; at &gt;test.com"; \
              echo "change to $change") | $sendmail -t

Here's what I observe:
*Using formail - I To: as above didn't cause sendmail to send to that address
*If I want to forward to several people I guess I can -I "To: email1, 
email2, email3
*I keep getting an error message (maybe because of the above) 
:executing echo - then the value of $change - then echo echo no such 
file or directory

Thanks in advance for any thoughts.

Shane
</description>
    <dc:creator>Shane</dc:creator>
    <dc:date>2008-10-01T04:07:06</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19184">
    <title>string search to exclude attachments</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19184</link>
    <description>____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail&lt; at &gt;lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
</description>
    <dc:creator>Nick Sharp</dc:creator>
    <dc:date>2008-10-01T01:23:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19175">
    <title>Forcing sendmail</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19175</link>
    <description>____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail&lt; at &gt;lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
</description>
    <dc:creator>Shane</dc:creator>
    <dc:date>2008-09-27T15:23:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19173">
    <title>Procmail and perl scripts</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19173</link>
    <description>I want to call a perl script as a filter from procmail.  The recipe is:

#call perl filter
:0f c
|proctest.pl

How do I pass the current mail document to proctest.pl and have proctest 
return information for Procmail to use? I would settle for a return code.

Thank you

Thornton
</description>
    <dc:creator>W. Thornton Martin</dc:creator>
    <dc:date>2008-09-26T18:34:08</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19160">
    <title>FROM_DAEMON on preventing loops</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19160</link>
    <description>I am writing a recipe to forward mail to another account.  Virtually every
example I have seen includes use of the FROM_DAEMON conditional statement.
 Reviewing the recipe, it really looks to me that the real work is being
done by the X-Loop: header being added.  My question is, are the
FROM_DAEMON (and FROM_MAILER) conditionals really necessary?

  :0
  * ^TO_skip&lt; at &gt;pelorus\.org
  * !^FROM_DAEMON
  * !^FROM_MAILER
  * !^X-Loop: pelorus.org
  {
    :0fw
    | /usr/bin/formail -A "X-Loop: pelorus.org"

    :0c
    !skip.x.mobile&lt; at &gt;gmail.com
  }

The reason why I ask is that I have seen some emails not get forwarded
(namely from google itself, but they weren't in a loop) and I want to make
sure that those conditionals aren't over aggressive and possibly prevent
other emails from being forwarded.  If all I am concerned about is
looping, then couldn't I get rid of those two conditionals?
</description>
    <dc:creator>Skip Morrow</dc:creator>
    <dc:date>2008-09-25T19:30:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19159">
    <title>Problem on passing values from Procmail to Perl</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19159</link>
    <description>____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail&lt; at &gt;lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
</description>
    <dc:creator>Joyce Gutierrez</dc:creator>
    <dc:date>2008-09-25T04:28:23</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19158">
    <title>Changes on receipts</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19158</link>
    <description>____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail&lt; at &gt;lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
</description>
    <dc:creator>JoeL</dc:creator>
    <dc:date>2008-09-24T08:25:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19156">
    <title>two-language legal-mumbo-jumbo disclaimer footer</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19156</link>
    <description>
Dallman,

While I agree in principle, some of us don't have a choice about having 
this garbage appended to messages when we send them while we're working 
for our employer. Mine, for instance, blocks access to outside mail 
services so I couldn't even send from, e.g., gmail to get around the 
problem. No complaining to an IT dept. falls on anything other than deaf 
ears either. 'Tis a fact of corporate email life I'm afraid until such 
time as a strong legal precedence exists for the pointlessness of these 
disclaimers.

Rich
</description>
    <dc:creator>Richard Ball</dc:creator>
    <dc:date>2008-09-23T16:27:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19154">
    <title>Help with recipts.</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19154</link>
    <description>____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail&lt; at &gt;lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
</description>
    <dc:creator>Joel Serrano De Castro</dc:creator>
    <dc:date>2008-09-23T15:18:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19152">
    <title>Forcing permissions on mail files</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19152</link>
    <description>Hi

Having wrestled with procmail for the last few weeks, and with much 
appreciated assistance of this group, I have come up with the following 
recipe:

and everything is perfect in the world.

Except for one thing. All the mail messages that get put into $FLDR/ 
have the permissions set to 600 and I need them to be 660. I have set 
g+s on the Maildir and the Maildir/cur folder but it appears that 
procmail ignores this.

Can anyone tell me what is the best way of having procmail create the 
messages as 660? I need them to be this way as they are shared folders 
with all users being members of the "group".

Thanks and Regards

Nigel.
</description>
    <dc:creator>Nigel Allen</dc:creator>
    <dc:date>2008-09-23T03:01:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19149">
    <title>Ammending Date-Time Stamps to a file</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19149</link>
    <description>____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail&lt; at &gt;lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
</description>
    <dc:creator>Shane</dc:creator>
    <dc:date>2008-09-21T16:45:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19143">
    <title>MarkMail search</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19143</link>
    <description>
http://procmail.markmail.org

very nice..
</description>
    <dc:creator>Joe Smith</dc:creator>
    <dc:date>2008-09-17T14:08:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19139">
    <title>From list in a file</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19139</link>
    <description>I figured out my problem, sorry I jumped the gun.  I swear I googled my
eyeballs out for a while and was SO close..  but I tried again with a
markmail search of this list and found an answer.
</description>
    <dc:creator>Joe Smith</dc:creator>
    <dc:date>2008-09-17T03:56:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19130">
    <title>Appending FROM: headers only to a local file: Great Replies - Thanks.Why didn't my recipe work ??</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19130</link>
    <description>____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail&lt; at &gt;lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
</description>
    <dc:creator>Shane</dc:creator>
    <dc:date>2008-09-16T03:39:25</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.procmail/19127">
    <title>changing MAILDIR not working[repost]</title>
    <link>http://comments.gmane.org/gmane.mail.procmail/19127</link>
    <description>Sent this the other day but it didn't show up.

I am trying to change my MAILDIR from /var/spool/mail
to $HOME/mail/ in ~/.procmailrc with no luck. Running
"procmail -v" still shows

Your system mailbox:/var/spool/mail/username

This is in Fedora 9 and procmail 3.22. Google was no help
and I went back a few years in the list archives with no
hits. Any pointers appreciated.

</description>
    <dc:creator>Robert Holtzman</dc:creator>
    <dc:date>2008-09-16T00:49:06</dc:date>
  </item>
  <textinput 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>
