procmail
[Top] [All Lists]

[dman(_at_)panix(_dot_)com: Re: Trouble with procmail.]

2007-09-24 08:13:33
On Mon, Sep 24, 2007 at 04:49:18PM +0200, k3rn wrote:

  :0
  | /eliot/prod/sbin/fifo_cnx.pl $LASTFOLDER


But when I receive a "big" mail, (around 140k), EVERYTIME I got an error : 

      procmail: No match on "^Delivered-To: 
*[0-9]*(_at_)base(_dot_)eliot(_dot_)com"
      procmail: Match on "^Delivered-To: 
exploitant01(_at_)base(_dot_)eliot(_dot_)com"
      procmail: Assigning "LASTFOLDER=/eliot/prod/stock/msg.Ea4P"
      procmail: Opening "/eliot/prod/stock/msg.Ea4P"
      procmail: Acquiring kernel-lock
      procmail: Executing 
"/eliot/prod/sbin/fifo_cnx.pl,/eliot/prod/stock/msg.Ea4P"
      procmail: Error while writing to "/eliot/prod/sbin/fifo_cnx.pl"
      procmail:       
Assigning "LASTFOLDER=/eliot/prod/sbin/fifo_cnx.pl /eliot/prod/stock/msg.Ea4P"
      procmail: Assigning "PATH=//bin:/bin:/usr/bin:/usr/local/bin"
      From 0629092824(_at_)mobile(_dot_)eliot(_dot_)com  Mon Sep 24 14:59:53 
2007
       Subject: #Eliot#Camion
        Folder: /var/spool/mail/nobody                                        
        
106965

And whats worse, my next mail (n+1) is lost...


Apply the i-flag to your recipe.


       i    Ignore any write errors on this recipe (i.e., usually  due  to  an
            early closed pipe).


The pipe can close early if we're stuffing lots of material (big mail)
into it.

You could also employ the w or W flag.  Then you could have a fallback
recipe in case your perl script fails or is unavailable.

dman
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>