procmail
[Top] [All Lists]

TIMEOUT ignored

2009-10-29 11:53:31
Hello,

since I am on a slow internet connection (GSM) I am using on my Intranet
server a procmail recipe which download automaticaly PDFs if  an  E-Mail
arrive...

----[ '~/.tdtools-procmail/BUSINESS_firms_maxim' ]----------------------
<snip>
  #=====================================================================
  :0
  * ^(Subject|From):.*Design Guide
  {
    DUMMY_EXEC=`test -d ${HOME}/doc/electronic/Maxim/Design_Guides || mkdir -p 
${HOME}/doc/electronic/Maxim/Design_Guides ; :`
    TMPVAR1=`mimedecode |grep "^URL: " |sed 's|^URL: ||' ; :`
    TMPVAR2=`echo "${TMPVAR1}" |grep '/en/' ; :`
    :0
    * ? test -n "${TMPVAR2}"
    { 
      TIMEOUT=1800
      DUMMY_EXEC=`wget --user-agent="tdtools-procmail v${TDTP_VERSION}" --quiet 
-P ${HOME}/doc/electronic/Maxim/Design_Guides/ ${TMPVAR1} & :`
      ES=`echo "$?"`
    }

    TMPVAR5=`echo "${TMPVAR1}" |sed "s|.*_||" |sed 's|.pdf||' ; :`
    TMPVAR9="${MSG_SUBJECT} ${TMPVAR5}"
    :0
    * ? test ${ES} -eq 0
    { TMPVAR9="${MSG_SUBJECT} ${TMPVAR5} downloaded" }
    :0fw
    | formail -i "Subject: ${TMPVAR9}"

    :0
    .Business.USA.Maxim.Design_Guides/
  }
<snip>
------------------------------------------------------------------------

This was working for years, but now with version 3.22 (Debian Lenny) the
setting TIMEOUT=1800 is ignored and stay on 960 seconds.

Any suggestions?

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>                 Michelle Konzack
<http://www.can4linux.org/>                   Apt. 917
<http://www.flexray4linux.org/>               50, rue de Soultz
Jabber linux4michelle(_at_)jabber(_dot_)ccc(_dot_)de           67100 
Strabourg/France
IRC    #Debian (irc.icq.com)                  Tel. DE: +49 177 9351947
ICQ    #328449886                             Tel. FR: +33  6  61925193
____________________________________________________________
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>