| Summary | Vacation Procmail problem |
| Queue | Ingo |
| Queue Version | 1.1.1 |
| Type | Bug |
| State | Resolved |
| Priority | 2. Medium |
| Owners | ben (at) |
| Requester | car (at) cespi (dot) unlp (dot) edu (dot) ar |
| Created | 07/03/2006 (7111 days ago) |
| Due | |
| Updated | 07/07/2006 (7107 days ago) |
| Assigned | 07/04/2006 (7110 days ago) |
| Resolved | 07/07/2006 (7107 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Resolved
same end result.
State ⇒ Assigned
434 in lib/Script/procmail.php file from ingo's tree directory
DUMMY=`test $FILEDATE -le $DATE && rm -f 'vacation.user@domain.tld'`
by
DUMMY=`test ${FILEDATE:-0} -le $DATE && rm -f 'vacation.user@domain.tld'`
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Vacation Procmail problem
Queue ⇒ Ingo
first case when the file vacation.user@domain.tld it does not exists.
The generated script looks like:
:0
{
FILEDATE=`ls -lcn --time-style=+%s 'vacation.user@domain.tld' | awk
'{ print $6 + (604800) }'`
DATE=`date +%s`
DUMMY=`test $FILEDATE -le $DATE && rm -f 'vacation.user@domain.tld'`
:0 Whc: vacation.lock
* $^To:.*user@domain.tld
* !^X-Loop: user@domain.tld
* !^FROM_DAEMON
| formail -rD 8192 vacation.user@domain.tld
:0 ehc
| (formail -rI"Precedence: junk" \
-A"X-Loop: user@domain.tld" \
-i"Subject: Vacation test" ; \
echo "I'm not at office" \
) | $SENDMAIL -oi -t
}