[ingo] Vacation not working (ingo h4 2.0.6)
Pro Green European
pro_green_european at yahoo.com
Mon Nov 28 09:37:49 UTC 2011
Hi.
What do I have to do in order to get the procmail vacation recipe working?
This is an example of the generated .procmailrc recipe:
# procmail script generated by Ingo (November 28, 2011, 11:13 am)
##### Vacation #####
:0
{
:0
* ^TO_user.name at dom.tld
{
FILEDATE=`test -f ${VACATION_DIR:-.}/'.vacation.user.name at dom.tld' && ls -lcn --time-style=+%s ${VACATION_DIR:-.}/'.vacation.user.name at dom.tld' | awk '{ print $6 + (604800) }'`
DATE=`date +%s`
DUMMY=`test -f ${VACATION_DIR:-.}/'.vacation.user.name at dom.tld' && test $FILEDATE -le $DATE && rm ${VACATION_DIR:-.}/'.vacation.user.name at dom.tld'`
START=1321826400
END=1322604000
:0 h
SUBJECT=| formail -xSubject:
:0 Whc: ${VACATION_DIR:-.}/vacation.lock
* ? test $DATE -gt $START && test $END -gt $DATE
{
:0 Wh
* ^TO_user.name at dom.tld
* !^X-Loop: user.name at dom.tld
* !^X-Spam-Flag: YES
* !^FROM_DAEMON
| formail -rD 8192 ${VACATION_DIR:-.}/.vacation.user.name at dom.tld
:0 eh
| (formail -rI"Precedence: junk" \
-a"From: <user.name at dom.tld>" \
-A"X-Loop: user.name at dom.tld" \
-i"Subject: =?utf-8?b?UMOl?= semester (Re: $SUBJECT)" \
-i"Content-Transfer-Encoding: quoted-printable" \
-i"Content-Type: text/plain; charset=UTF-8" ; \
echo -e "P=C3=A5 semester" \
) | $SENDMAIL -fuser.name at dom.tld -oi -t
}
}
}
No vacation response is sent out.
Thankful for feedback and help :)
Regards,
/PGE
More information about the ingo
mailing list