[Tickets #6509] Re: Time period - vacation error

bugs at horde.org bugs at horde.org
Tue May 6 12:02:52 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6509
-----------------------------------------------------------------------
 Ticket             | 6509
 Updated By         | linuxbox at wavenet.at
 Summary            | Time period - vacation error
 Queue              | Ingo
 Version            | 1.2-RC2
 Type               | Bug
 State              | Feedback
 Priority           | 2. Medium
 Milestone          |
 Patch              |
 Owners             |
-----------------------------------------------------------------------


linuxbox at wavenet.at (2008-05-06 08:02) wrote:

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 ":0" in my home directory - output
you can find also at the bottom

lg
Martin

.procmailrc
-----------------------------------------------------
##### Abwesenheit #####
: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=1210024800
  END=1210111200

  :0 Whc: vacation.lock
  * ? test $DATE -gt $START && test $END -gt $DATE
  :0 Whaf
  * ^TO_martin.hochreiter
  * !^X-Loop: martin.hochreiter
  * !^X-Spam-Flag: YES
  * !^From.*root at xxx.xx
  * !^From.*webmaster at xxx.xx
  * !^From.*log at xxx.xx,
  * !^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: Urlaubsmeldung" \
       -i"Content-Transfer-Encoding: quoted-printable" \
       -i"Content-Type: text/plain; charset=UTF-8" ; \
-----------------------------------------------------


procmail log:
--------------------------------------------------------------
procmail: Skipped "Whaf"
procmail: Skipped "* ^TO_martin.hochreiter"
procmail: Skipped "* !^X-Loop: martin.hochreiter"
procmail: Skipped "* !^X-Spam-Flag: YES"
procmail: Skipped "* !^From.*root at xxx.xx"
procmail: Skipped "* !^From.*webmaster at xxx.xx"
procmail: Skipped "* !^From.*log at xxx.xx,"
procmail: Skipped "* !^FROM_DAEMON"
procmail: Skipped "| formail -rD 8192 .vacation.martin.hochreiter"
procmail: Skipped "Whaf"
procmail: Skipped "* ^TO_martin_hochreiter"
procmail: Skipped "* !^X-Loop: martin_hochreiter"
procmail: Skipped "* !^X-Spam-Flag: YES"
procmail: Skipped "* !^From.*root at xxx.xx"
procmail: Skipped "* !^From.*webmaster at xxx.xx"
procmail: Skipped "* !^From.*log at xxx.xx,"
procmail: Skipped "* !^FROM_DAEMON"
procmail: Skipped "| formail -rD 8192 .vacation.martin_hochreiter"
>From martin.hochreiter at 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 at yyy.yy  Tue May  6 13:35:10 2008
Return-Path: <martin.hochreiter at yyy.yy>
X-Original-To: martin_hochreiter at mail.xxx.xx
Delivered-To: martin_hochreiter at mail.xxx.xx
Received: from localhost (localhost [127.0.0.1])
	by mail.xxx.xx (Postfix) with ESMTP id 3B931B96FB
	for <martin_hochreiter at mail.xxx.xx>; 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 <martin_hochreiter at mail.xxx.xx>;
	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 <martin.hochreiter at xxx.xx>; Tue,  6 May 2008 13:35:06 +0200 (CEST)
MailScanner-NULL-Check: 1210678495.59215 at 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 <martin.hochreiter at xxx.xx>; 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 <martin.hochreiter at yyy.yy>
To: martin.hochreiter at xxx.xx
Message-ID: <4820423F.3010008 at yyy.yy>
Subject: test
x-scalix-Hops: 1
User-Agent: Thunderbird 2.0.0.12 (X11/20080227)
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="------------070109070806060504000007"
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 at yyy.yy

>From martin.hochreiter at yyy.yy  Tue May  6 13:35:10 2008
Return-Path: <martin.hochreiter at yyy.yy>
X-Original-To: martin_hochreiter at mail.xxx.xx
Delivered-To: martin_hochreiter at mail.xxx.xx
Received: from localhost (localhost [127.0.0.1])
	by mail.xxx.xx (Postfix) with ESMTP id 3B931B96FB
	for <martin_hochreiter at mail.xxx.xx>; 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 <martin_hochreiter at mail.xxx.xx>;
	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 <martin.hochreiter at xxx.xx>; Tue,  6 May 2008 13:35:06 +0200 (CEST)
MailScanner-NULL-Check: 1210678495.59215 at 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 <martin.hochreiter at xxx.xx>; 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 <martin.hochreiter at yyy.yy>
To: martin.hochreiter at xxx.xx
Message-ID: <4820423F.3010008 at yyy.yy>
Subject: test
x-scalix-Hops: 1
User-Agent: Thunderbird 2.0.0.12 (X11/20080227)
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="------------070109070806060504000007"
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 at yyy.yy
--------------------------------------------------------------






More information about the bugs mailing list