[Tickets #14549] Re: Number of days between vacation replies = 0

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Jan 27 12:18:24 UTC 2017


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14549
------------------------------------------------------------------------------
  Ticket             | 14549
  Updated By         | chalith at slt.com.lk
  Summary            | Number of days between vacation replies = 0
  Queue              | Ingo
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


chalith at slt.com.lk (2017-01-27 12:18) wrote:

> These are not filter backends. Which filter backend did you enable in Ingo?

Sorry. I can not understand what you need.

As in the previous image i shared, we are trying to setup vacation  
filter. If possible please let me know how we can find the filter that  
is used in the backend in horde.

Also Please check below script i got from horde when configuring the  
rule. Hope it will be useful to find more details about the issue.

Script name: .procmailrc
      1: # procmail script generated by Ingo (January 27, 2017, 5:23 pm)
      2: DEFAULT=$HOME/Maildir/
      3: MAILDIR=$HOME/Maildir
      4: ##### Vacation #####
      5: :0
      6: {
      7:   :0
      8:   * ^TO_testmail at test.com
      9:   {
     10:     FILEDATE=`test -f  
${VACATION_DIR:-.}/'.vacation.testmail at test.com' && ls -lcn  
--time-style=+%s ${VACATION_DIR:-.}/'.vacation.testmail at test.com' |  
awk '{ print $6 + (0) }'`
     11:     DATE=`date +%s`
     12:     DUMMY=`test -f  
${VACATION_DIR:-.}/'.vacation.testmail at test.com' && test $FILEDATE -le  
$DATE && rm ${VACATION_DIR:-.}/'.vacation.testmail at test.com'`
     13:     START=1482345000
     14:     END=1482517800
     15:
     16:     :0 h
     17:     SUBJECT=| formail -xSubject:
     18:
     19:     :0 Whc: ${VACATION_DIR:-.}/vacation.lock
     20:     * ? test $DATE -gt $START && test $END -gt $DATE
     21:     {
     22:       :0 Wh
     23:       * ^TO_testmail at test.com
     24:       * !^X-Loop: testmail at test.com
     25:       * !^X-Spam-Flag: YES
     26:       * !^FROM_DAEMON
     27:       | formail -rD 8192  
${VACATION_DIR:-.}/.vacation.testmail at test.com
     28:       :0 eh
     29:       | (formail -rI"Precedence: junk" \
     30:        -a"From: <testmail at test.com>" \
     31:        -A"X-Loop: testmail at test.com" \
     32:        -i"Subject: Vacation reply (Re: $SUBJECT)" ; \
     33:        echo -e "Vacation reply" \
     34:       ) | $SENDMAIL -ftestmail at test.com -oi -t
     35:     }
     36:   }
     37: }





More information about the bugs mailing list