[Tickets #7917] vacation - dev/null error
bugs at horde.org
bugs at horde.org
Thu Jan 29 21:46:14 UTC 2009
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/7917
------------------------------------------------------------------------------
Ticket | 7917
Created By | horde at smartsector.hu
Summary | vacation - dev/null error
Queue | Ingo
Version | 1.2.1
Type | Bug
State | Unconfirmed
Priority | 3. High
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
horde at smartsector.hu (2009-01-29 16:46) wrote:
We have the lastes CVS version from ingo.
we recive the following malfunction when anybody set up a vaccation
without start/end time.
in this case all messages are deliverd to dev/null.
here is the generated procamil script:
1: # procmail script generated by Ingo (January 29, 2009, 10:44 pm)
2: DEFAULT=$HOME/example.com/user/Maildir/new
3:
4: ##### Vacation #####
5: :0
6: {
7: FILEDATE=`test -f
${VACATION_DIR:-.}/'.vacation.info at example.com' && ls -lcn
--time-style=+%s ${VACATION_DIR:-.}/'.vacation.info at example.com' | awk
'{ print $6 + (604800) }'`
8: DATE=`date +%s`
9: DUMMY=`test -f ${VACATION_DIR:-.}/'.vacation.info at example.com'
&& test $FILEDATE -le $DATE && rm
${VACATION_DIR:-.}/'.vacation.info at example.com'`
10:
11: :0 h
12: SUBJECT=| formail -xSubject:
13:
14: :0 Whc: ${VACATION_DIR:-.}/vacation.lock
15: * ^TO_info at example.com
16: * !^X-Loop: info at example.com
17: * !^X-Spam-Flag: YES
18: * !^FROM_DAEMON
19: | formail -rD 8192 ${VACATION_DIR:-.}/.vacation.info at example.com
20: :0 ehc
21: | (formail -rI"Precedence: junk" \
22: -a"From: <info at example.com>" \
23: -A"X-Loop: info at example.com" \
24: -i"Subject: VACATION SUBJECT (Re: $SUBJECT)" ; \
25: echo -e "BODY" \
26: ) | $SENDMAIL -finfo at example.com -oi -t
27:
28: :0
29: /dev/null
30: }
31:
More information about the bugs
mailing list