v1.2.5-cvs
----------
+[jan] Fix procmail vacation rule if no dates are set (Gaudenz Steinlin
+ <gaudenz@debian.org>, Bug #8982).
[jan] Fix filtering only unseen message if rule should filter all messages in
IMAP driver (Jan Kuipers <jrkuipers@lauwerscollege.nl>, Bug #9077).
$this->_action[] = ' :0 Whc: ${VACATION_DIR:-.}/vacation.lock';
if ($timed) {
$this->_action[] = ' * ? test $DATE -gt $START && test $END -gt $DATE';
- $this->_action[] = ' {';
- $this->_action[] = ' :0 Wh';
}
+ $this->_action[] = ' {';
+ $this->_action[] = ' :0 Wh';
$this->_action[] = ' * ^TO_' . $address;
$this->_action[] = ' * !^X-Loop: ' . $address;
$this->_action[] = ' * !^X-Spam-Flag: YES';
$reason = addcslashes($reason, "\\\n\r\t\"`");
$this->_action[] = ' ' . $this->_params['echo'] . ' -e "' . $reason . '" \\';
$this->_action[] = ' ) | $SENDMAIL -f' . $address . ' -oi -t';
- if ($timed) {
- $this->_action[] = ' }';
- }
+ $this->_action[] = ' }';
$this->_action[] = ' }';
}
}