<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Time period - vacation error</title> 
  <pubDate>Mon, 06 Apr 2026 23:32:50 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6509</link> 
  <atom:link rel="self" type="application/rss+xml" title="Time period - vacation error" href="https://bugs.horde.org/ticket/6509/rss" /> 
  <description>Time period - vacation error</description> 
 
   
   
  <item> 
   <title>Hi!



If you set up a starting an ending time in the prebui</title> 
   <description>Hi!



If you set up a starting an ending time in the prebuild vacation rule of ingo then you got the following error message in the procmail.log (and no vacation answer mail of course)



/bin/sh: line 0: [: 1177587873-gt: unary operator expected

procmail: Error while writing to &quot; /bin/sh -c &#039;if [ $DATE-gt $START ];  

then if [ $END -gt $DATE ]; then true; else false;fi;fi;



I am using the latest RC Versions of Horde, Imp and Ingo on a Suse 10.1 Linux (Kernel 2.6.16.54-0.2.5)



Package Versions

Procmail 3.22-56

postfix 2.2.9-10

courier-imap 4.1.2-47.1

php 5.1.2-29.50

apache 2.2.6-4.2

mysql  5.0.26-12.16</description> 
   <pubDate>Thu, 20 Mar 2008 14:44:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t44068</link> 
  </item> 
   
  <item> 
   <title>Are you sure you are using 1.2-RC2? Because this has been fi</title> 
   <description>Are you sure you are using 1.2-RC2? Because this has been fixed in RC2.</description> 
   <pubDate>Fri, 21 Mar 2008 18:06:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t44130</link> 
  </item> 
   
  <item> 
   <title>&gt; Are you sure you are using 1.2-RC2? Because this has been </title> 
   <description>&gt; Are you sure you are using 1.2-RC2? Because this has been fixed in RC2.



Thats what the horde configuration page says:

Filter (ingo)  H3 (1.2-RC2)



I&#039;ll try to install a full version of ingo (I used the patch)- I did had

troubles with paching dimp too, if I use the &quot;full&quot; version it worked.



I&#039;ll report afterwards

lg



lg





</description> 
   <pubDate>Sat, 22 Mar 2008 09:37:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t44140</link> 
  </item> 
   
  <item> 
   <title>Hi Jan,



I installed ingo from scratch - without any advan</title> 
   <description>Hi Jan,



I installed ingo from scratch - without any advancments (see procmail.log).

Additionally the sender gets a mail returned with:



---------------------------------------------------------------------------------------

&lt;foo@bar.rk-lilienfeld.at&gt;: Host or domain name not found. Name service error

    for name=bar.rk-lilienfeld.at type=AAAA: Host not found

---------------------------------------------------------------------------------------



Maybe there is missing a package or something on Suse?



procmail.log

---------------------------------------------------------------------------------------

  Folder: /home/office/Maildir//.SPAM/new/1206436443.4314_0.linux1         1821

procmail: Error while writing to &quot; /bin/sh -c &#039;if [ $DATE -gt $START ]; then if [ $END -gt $DATE ]; then true; else false;fi;fi;&#039;&quot;

  Folder: /home/martin_hochreiter/Maildir/new/1206436500.4359_2.linux1     1782

procmail: Error while writing to &quot; /bin/sh -c &#039;if [ $DATE -gt $START ]; then if [ $END -gt $DATE ]; then true; else false;fi;fi;&#039;&quot;

procmail: Error while writing to &quot; /bin/sh -c &#039;if [ $DATE -gt $START ]; then if [ $END -gt $DATE ]; then true; else false;fi;fi;&#039;&quot;

---------------------------------------------------------------------------------------

</description> 
   <pubDate>Tue, 25 Mar 2008 09:23:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t44174</link> 
  </item> 
   
  <item> 
   <title>&gt; I installed ingo from scratch - without any advancments (s</title> 
   <description>&gt; I installed ingo from scratch - without any advancments (see procmail.log).



That&#039;s not true, the error message that you reported is gone, as expected.



&gt; Additionally the sender gets a mail returned with:

&gt;

&gt; ---------------------------------------------------------------------------------------

&gt; &lt;foo@bar.rk-lilienfeld.at&gt;: Host or domain name not found. Name service error

&gt;     for name=bar.rk-lilienfeld.at type=AAAA: Host not found

&gt; ---------------------------------------------------------------------------------------



This has nothing to do with Ingo, this is either a misconfigured mail server, or some invalid email address being used.



&gt; procmail.log

&gt; ---------------------------------------------------------------------------------------

&gt;   Folder: /home/office/Maildir//.SPAM/new/1206436443.4314_0.linux1    

&gt;      1821

&gt; procmail: Error while writing to &quot; /bin/sh -c &#039;if [ $DATE -gt $START 

&gt; ]; then if [ $END -gt $DATE ]; then true; else false;fi;fi;&#039;&quot;



This error message is not very helpful because it doesn&#039;t say what exactly the error is. This still is not an Ingo issue, but probably a problem with your procmail setup. Try running that code manually and see what happens. For further help ask on the Ingo or Procmail mailing list.</description> 
   <pubDate>Tue, 25 Mar 2008 13:16:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t44175</link> 
  </item> 
   
  <item> 
   <title>Hi jan,



So .. I am a little bit the man in the middle:

T</title> 
   <description>Hi jan,



So .. I am a little bit the man in the middle:

That&#039;s what I got from the procmail list to the

code Ingo generates:



--------------------------------------------------------------------------------------------

 :0 Whc: vacation.lock

| /bin/sh -c &#039;if [ $DATE -gt $START ]; then if [ $END -gt $DATE ]; then true; else false;fi;fi;&#039;

--------------------------------------------------------------------------------------------

This will never work...

It should be:



    :0 Whc: vacation.lock

    * ? test $DATE -gt $START &amp;&amp; test $END -gt $DATE

    

--------------------------------------------------------------------------------------------</description> 
   <pubDate>Thu, 27 Mar 2008 13:13:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t44199</link> 
  </item> 
   
  <item> 
   <title>Please try this patch:



http://lists.horde.org/archives/cv</title> 
   <description>Please try this patch:



http://lists.horde.org/archives/cvs/Week-of-Mon-20080428/077998.html</description> 
   <pubDate>Sun, 04 May 2008 07:23:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t45156</link> 
  </item> 
   
  <item> 
   <title>Hi Mat!



Thank you for your work.



I patched procmail.ph</title> 
   <description>Hi Mat!



Thank you for your work.



I patched procmail.php and it produces the file on the bottom but

does not send an reply email (find the log also on the bottom) - 

BUT

it generates a file named &quot;:0&quot; in my home directory - output

you can find also at the bottom



lg

Martin



.procmailrc

-----------------------------------------------------

##### Abwesenheit #####

:0

{

  FILEDATE=`test -f &#039;.vacation.martin.hochreiter&#039; &amp;&amp; ls -lcn --time-style=+%s &#039;.vacation.martin.hochreiter&#039; | awk &#039;{ print $6 + (172800) }&#039;`

  DATE=`date +%s`

  DUMMY=`test -f &#039;.vacation.martin.hochreiter&#039; &amp;&amp; test $FILEDATE -le $DATE &amp;&amp; rm &#039;.vacation.martin.hochreiter&#039;`

  START=1210024800

  END=1210111200



  :0 Whc: vacation.lock

  * ? test $DATE -gt $START &amp;&amp; test $END -gt $DATE

  :0 Whaf

  * ^TO_martin.hochreiter

  * !^X-Loop: martin.hochreiter

  * !^X-Spam-Flag: YES

  * !^From.*root@xxx.xx

  * !^From.*webmaster@xxx.xx

  * !^From.*log@xxx.xx,

  * !^FROM_DAEMON

  | formail -rD 8192 .vacation.martin.hochreiter

    :0 ehc

    | (formail -rI&quot;Precedence: junk&quot; \

       -a&quot;From: &lt;martin.hochreiter&gt;&quot; \

       -A&quot;X-Loop: martin.hochreiter&quot; \

       -i&quot;Subject: Urlaubsmeldung&quot; \

       -i&quot;Content-Transfer-Encoding: quoted-printable&quot; \

       -i&quot;Content-Type: text/plain; charset=UTF-8&quot; ; \

-----------------------------------------------------





procmail log:

--------------------------------------------------------------

procmail: Skipped &quot;Whaf&quot;

procmail: Skipped &quot;* ^TO_martin.hochreiter&quot;

procmail: Skipped &quot;* !^X-Loop: martin.hochreiter&quot;

procmail: Skipped &quot;* !^X-Spam-Flag: YES&quot;

procmail: Skipped &quot;* !^From.*root@xxx.xx&quot;

procmail: Skipped &quot;* !^From.*webmaster@xxx.xx&quot;

procmail: Skipped &quot;* !^From.*log@xxx.xx,&quot;

procmail: Skipped &quot;* !^FROM_DAEMON&quot;

procmail: Skipped &quot;| formail -rD 8192 .vacation.martin.hochreiter&quot;

procmail: Skipped &quot;Whaf&quot;

procmail: Skipped &quot;* ^TO_martin_hochreiter&quot;

procmail: Skipped &quot;* !^X-Loop: martin_hochreiter&quot;

procmail: Skipped &quot;* !^X-Spam-Flag: YES&quot;

procmail: Skipped &quot;* !^From.*root@xxx.xx&quot;

procmail: Skipped &quot;* !^From.*webmaster@xxx.xx&quot;

procmail: Skipped &quot;* !^From.*log@xxx.xx,&quot;

procmail: Skipped &quot;* !^FROM_DAEMON&quot;

procmail: Skipped &quot;| formail -rD 8192 .vacation.martin_hochreiter&quot;

From martin.hochreiter@yyy.yy  Tue May  6 13:35:10 2008

 Subject: test

  Folder: /home/martin_hochreiter/Maildir/new/1210073710.10309_2.linux     4155

--------------------------------------------------------------



produced file :0   :

------------------------------------------------------------------

From martin.hochreiter@yyy.yy  Tue May  6 13:35:10 2008

Return-Path: &lt;martin.hochreiter@yyy.yy&gt;

X-Original-To: martin_hochreiter@mail.xxx.xx

Delivered-To: martin_hochreiter@mail.xxx.xx

Received: from localhost (localhost [127.0.0.1])

	by mail.xxx.xx (Postfix) with ESMTP id 3B931B96FB

	for &lt;martin_hochreiter@mail.xxx.xx&gt;; Tue,  6 May 2008 13:35:10 +0200 (CEST)

X-Virus-Scanned: Debian amavisd-new at mail.xxx.xx

Received: from mail.xxx.xx ([127.0.0.1])

	by localhost (mail.xxx.xx [127.0.0.1]) (amavisd-new, port 10024)

	with ESMTP id DRGpnCaxqS5q

	for &lt;martin_hochreiter@mail.xxx.xx&gt;;

	Tue,  6 May 2008 13:35:07 +0200 (CEST)

Received: from scalix.yyy.yy (scalix.yyy.yy [195.202.144.3])

	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))

	(No client certificate requested)

	by mail.xxx.xx (Postfix) with ESMTPS id 6BD44B96F5

	for &lt;martin.hochreiter@xxx.xx&gt;; Tue,  6 May 2008 13:35:06 +0200 (CEST)

MailScanner-NULL-Check: 1210678495.59215@UHHnSw//utRH4988ysGNag

Received: from scalix.yyy.yy (localhost [127.0.0.1])

	by scalix.yyy.yy (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id m46BYtqa026770

	for &lt;martin.hochreiter@xxx.xx&gt;; Tue, 6 May 2008 13:34:55 +0200

Received: from [10.222.0.240] (fwint.yyy.yy [195.202.144.1])

    by scalix.yyy.yy (Scalix SMTP Relay 11.3.0.11339)

    via ESMTP; Tue, 06 May 2008 13:34:20 +0200 (CEST)

Date: Tue, 6 May 2008 13:34:23 +0200

From: Martin Hochreiter &lt;martin.hochreiter@yyy.yy&gt;

To: martin.hochreiter@xxx.xx

Message-ID: &lt;4820423F.3010008@yyy.yy&gt;

Subject: test

x-scalix-Hops: 1

User-Agent: Thunderbird 2.0.0.12 (X11/20080227)

MIME-Version: 1.0

Content-Type: multipart/alternative;

	boundary=&quot;------------070109070806060504000007&quot;

X-FH-StP-MailScanner-Information: Please contact the ISP for more information

X-MailScanner-ID: m46BYtqa026770

X-FH-StP-MailScanner: Found to be clean

X-FH-StP-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,

	score=-104.264, required 3, autolearn=not spam, ALL_TRUSTED -1.80,

	BAYES_00 -2.60, HTML_50_60 0.13, HTML_MESSAGE 0.00,

	USER_IN_WHITELIST -100.00)

X-FH-StP-MailScanner-From: martin.hochreiter@yyy.yy



From martin.hochreiter@yyy.yy  Tue May  6 13:35:10 2008

Return-Path: &lt;martin.hochreiter@yyy.yy&gt;

X-Original-To: martin_hochreiter@mail.xxx.xx

Delivered-To: martin_hochreiter@mail.xxx.xx

Received: from localhost (localhost [127.0.0.1])

	by mail.xxx.xx (Postfix) with ESMTP id 3B931B96FB

	for &lt;martin_hochreiter@mail.xxx.xx&gt;; Tue,  6 May 2008 13:35:10 +0200 (CEST)

X-Virus-Scanned: Debian amavisd-new at mail.xxx.xx

Received: from mail.xxx.xx ([127.0.0.1])

	by localhost (mail.xxx.xx [127.0.0.1]) (amavisd-new, port 10024)

	with ESMTP id DRGpnCaxqS5q

	for &lt;martin_hochreiter@mail.xxx.xx&gt;;

	Tue,  6 May 2008 13:35:07 +0200 (CEST)

Received: from scalix.yyy.yy (scalix.yyy.yy [195.202.144.3])

	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))

	(No client certificate requested)

	by mail.xxx.xx (Postfix) with ESMTPS id 6BD44B96F5

	for &lt;martin.hochreiter@xxx.xx&gt;; Tue,  6 May 2008 13:35:06 +0200 (CEST)

MailScanner-NULL-Check: 1210678495.59215@UHHnSw//utRH4988ysGNag

Received: from scalix.yyy.yy (localhost [127.0.0.1])

	by scalix.yyy.yy (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id m46BYtqa026770

	for &lt;martin.hochreiter@xxx.xx&gt;; Tue, 6 May 2008 13:34:55 +0200

Received: from [10.222.0.240] (fwint.yyy.yy [195.202.144.1])

    by scalix.yyy.yy (Scalix SMTP Relay 11.3.0.11339)

    via ESMTP; Tue, 06 May 2008 13:34:20 +0200 (CEST)

Date: Tue, 6 May 2008 13:34:23 +0200

From: Martin Hochreiter &lt;martin.hochreiter@yyy.yy&gt;

To: martin.hochreiter@xxx.xx

Message-ID: &lt;4820423F.3010008@yyy.yy&gt;

Subject: test

x-scalix-Hops: 1

User-Agent: Thunderbird 2.0.0.12 (X11/20080227)

MIME-Version: 1.0

Content-Type: multipart/alternative;

	boundary=&quot;------------070109070806060504000007&quot;

X-FH-StP-MailScanner-Information: Please contact the ISP for more information

X-MailScanner-ID: m46BYtqa026770

X-FH-StP-MailScanner: Found to be clean

X-FH-StP-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,

	score=-104.264, required 3, autolearn=not spam, ALL_TRUSTED -1.80,

	BAYES_00 -2.60, HTML_50_60 0.13, HTML_MESSAGE 0.00,

	USER_IN_WHITELIST -100.00)

X-FH-StP-MailScanner-From: martin.hochreiter@yyy.yy

--------------------------------------------------------------



</description> 
   <pubDate>Tue, 06 May 2008 12:02:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t45182</link> 
  </item> 
   
  <item> 
   <title>Please try this patch.  If you can get more feedback from yo</title> 
   <description>Please try this patch.  If you can get more feedback from your procmail experts on what&#039;s wrong with our generated .procmailrc that would be great.</description> 
   <pubDate>Tue, 06 May 2008 16:04:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t45191</link> 
  </item> 
   
  <item> 
   <title>I had the same problem with my procmail-vacation script. wit</title> 
   <description>I had the same problem with my procmail-vacation script. with the two additional brackets from the patch it now works fine.



thanks!</description> 
   <pubDate>Sat, 14 Jun 2008 09:08:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t46452</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/ingo/docs/CHANGES?r1=1.194&amp;r2=1.195&amp;ty=u
http://cvs.horde.org/diff.php/ingo/lib/Script/procmail.php?r1=1.96&amp;r2=1.97&amp;ty=u</description> 
   <pubDate>Sat, 14 Jun 2008 16:22:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t46458</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/ingo/docs/CHANGES?r1=1.55.2.99&amp;r2=1.55.2.100&amp;ty=u
http://cvs.horde.org/diff.php/ingo/lib/Script/procmail.php?r1=1.46.10.28&amp;r2=1.46.10.29&amp;ty=u</description> 
   <pubDate>Sat, 14 Jun 2008 16:25:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t46460</link> 
  </item> 
   
  <item> 
   <title>Hi,



yes the time period works now with the patch - a repl</title> 
   <description>Hi,



yes the time period works now with the patch - a reply mail is correctly sent BUT

the incoming mail is not stored in my mailbox any more ....</description> 
   <pubDate>Wed, 18 Jun 2008 11:05:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t46633</link> 
  </item> 
   
  <item> 
   <title>Can you attach the vacation rule that is generated for procm</title> 
   <description>Can you attach the vacation rule that is generated for procmail?</description> 
   <pubDate>Wed, 18 Jun 2008 12:26:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t46635</link> 
  </item> 
   
  <item> 
   <title>Forget it Matt - the mails have just arrived it lasted a lit</title> 
   <description>Forget it Matt - the mails have just arrived it lasted a little bit longer ...



lg

Martin</description> 
   <pubDate>Wed, 18 Jun 2008 12:29:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t46636</link> 
  </item> 
   
  <item> 
   <title>Glad to hear it.</title> 
   <description>Glad to hear it.</description> 
   <pubDate>Wed, 18 Jun 2008 12:31:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6509#t46637</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
