Summary | vacation - dev/null error |
Queue | Ingo |
Queue Version | 1.2.1 |
Type | Bug |
State | Duplicate |
Priority | 3. High |
Owners | |
Requester | horde (at) smartsector (dot) hu |
Created | 01/29/2009 (5973 days ago) |
Due | |
Updated | 01/30/2009 (5972 days ago) |
Assigned | |
Resolved | 01/30/2009 (5972 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Duplicate
bug #7052.State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ vacation - dev/null error
Queue ⇒ Ingo
Milestone ⇒
Patch ⇒ No
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@example.com' && ls -lcn
--time-style=+%s ${VACATION_DIR:-.}/'.vacation.info@example.com' | awk
'{ print $6 + (604800) }'`
8: DATE=`date +%s`
9: DUMMY=`test -f ${VACATION_DIR:-.}/'.vacation.info@example.com'
&& test $FILEDATE -le $DATE && rm
${VACATION_DIR:-.}/'.vacation.info@example.com'`
10:
11: :0 h
12: SUBJECT=| formail -xSubject:
13:
14: :0 Whc: ${VACATION_DIR:-.}/vacation.lock
15: * ^TO_info@example.com
16: * !^X-Loop: info@example.com
17: * !^X-Spam-Flag: YES
18: * !^FROM_DAEMON
19: | formail -rD 8192 ${VACATION_DIR:-.}/.vacation.info@example.com
20: :0 ehc
21: | (formail -rI"Precedence: junk" \
22: -a"From: <info@example.com>" \
23: -A"X-Loop: info@example.com" \
24: -i"Subject: VACATION SUBJECT (Re: $SUBJECT)" ; \
25: echo -e "BODY" \
26: ) | $SENDMAIL -finfo@example.com -oi -t
27:
28: :0
29: /dev/null
30: }
31: