procmail
[Top] [All Lists]

Procmail error "can't write ..."

2008-03-25 07:24:30
Hi!

I am using the Horde module "Ingo" in my webmailsystem
and it generates me the procmail rule on the bottom of this mail.

One line generates an error:

procmail: Executing " /bin/bash -c 'if [ $DATE -gt $START ]; then if [
$END -gt $DATE ]; then true; else false;fi;fi;'"
procmail: Error while writing to " /bin/bash -c 'if [ $DATE -gt $START
]; then if [ $END -gt $DATE ]; then true; else false;fi;fi;'"

I am using Suse 10.1 as OS, the command executed as user works -  can
somebody give me a hint?

------------------------------------ .procmailrc ----------------
[...]

:0
{
  FILEDATE=`test -f '.vacation.martin.hochreiter' && ls -lcn
--time-style=+%s '.vacation.martin.hochreiter' | awk '{ print $6 +
(172800) }'`
  DATE=`date +%s`
  DUMMY=`test -f '.vacation.martin.hochreiter' && test $FILEDATE -le
$DATE && rm '.vacation.martin.hochreiter'`
  START=1206313200
  END=1206486000
 
  :0 Whc: vacation.lock
  | /bin/sh -c 'if [ $DATE -gt $START ]; then if [ $END -gt $DATE ];
then true; else false;fi;fi;'
  :0 Whaf
  * ^TO_martin.hochreiter
  * !^X-Loop: martin.hochreiter
  * !^X-Spam-Flag: YES
  * !^From(_dot_)*root(_at_)XXX(_dot_)at
  * !^From(_dot_)*webmaster(_at_)XXX(_dot_)at
  * !^From(_dot_)*log(_at_)XXX(_dot_)at,
  * !^FROM_DAEMON
  | formail -rD 8192 .vacation.martin.hochreiter
    :0 ehc
    | (formail -rI"Precedence: junk" \
       -a"From: <martin.hochreiter>" \
       -A"X-Loop: martin.hochreiter" \
       -i"Subject: TEST Urlaubsmeldung" \
       -i"Content-Transfer-Encoding: quoted-printable" \
       -i"Content-Type: text/plain; charset=UTF-8" ; \
       echo -e "TEXT\n" \
      ) | $SENDMAIL -fmartin.hochreiter -oi -t

  FILEDATE=`test -f '.vacation.martin_hochreiter' && ls -lcn
--time-style=+%s '.vacation.martin_hochreiter' | awk '{ print $6 +
(172800) }'`
  DATE=`date +%s`
  DUMMY=`test -f '.vacation.martin_hochreiter' && test $FILEDATE -le
$DATE && rm '.vacation.martin_hochreiter'`
  START=1206313200
  END=1206486000

  :0 Whc: vacation.lock
  | /bin/sh -c 'if [ $DATE -gt $START ]; then if [ $END -gt $DATE ];
then true; else false;fi;fi;'
  :0 Whaf
  * ^TO_martin_hochreiter
  * !^X-Loop: martin_hochreiter
  * !^X-Spam-Flag: YES
  * !^From(_dot_)*root(_at_)XXX(_dot_)at
  * !^From(_dot_)*webmaster(_at_)XXX(_dot_)at
  * !^From(_dot_)*log(_at_)XXX(_dot_)at,
  * !^FROM_DAEMON
  | formail -rD 8192 .vacation.martin_hochreiter
    :0 ehc
    | (formail -rI"Precedence: junk" \
       -a"From: <martin_hochreiter>" \
       -A"X-Loop: martin_hochreiter" \
       -i"Subject: TEST Urlaubsmeldung" \
       -i"Content-Transfer-Encoding: quoted-printable" \
       -i"Content-Type: text/plain; charset=UTF-8" ; \
       echo -e "TEXT\n" \
      ) | $SENDMAIL -fmartin_hochreiter -oi -t

}

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