[ingo] Vacation not working (ingo h4 2.0.6)

Pro Green European pro_green_european at yahoo.com
Thu Dec 1 13:51:37 UTC 2011


> ----- Original Message -----
> From: Jan Schneider <jan at horde.org>
> To: ingo at lists.horde.org
> Cc:
> Sent: Monday, November 28, 2011 3:03 PM
> Subject: Re: [ingo] Vacation not working (ingo h4 2.0.6)
> 
> 
> Zitat von Pro Green European <pro_green_european at yahoo.com>:
>
>> 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.
> 
> Does Procmail work at all?
> 
> Jan.
> 
> 

Yes, procmail is working. I've tested out other procmail recipes and they work.

The email system is a RHEL5 server.


/PGE



More information about the ingo mailing list