[Tickets #4616] Vacation filter, From: header Enhancement
bugs@bugs.horde.org
bugs at bugs.horde.org
Thu Nov 2 15:44:36 PST 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=4616
-----------------------------------------------------------------------
Ticket | 4616
Created By | alessio.molteni at gmail.com
Summary | Vacation filter, From: header Enhancement
Queue | Ingo
Version | FRAMEWORK_3
Type | Enhancement
State | New
Priority | 2. Medium
Owners |
-----------------------------------------------------------------------
alessio.molteni at gmail.com (2006-11-02 15:44) wrote:
Hi,
I'm playing a bit with Ingo and Vacation filter rule. I found that a
simple improvement could be added.
When i type "my email address" in the vacation rule I want that this is
the address used to send the Vacation reply mail to the sender...
So I've edited the lib/Script/procmail.php as below:
----------------------------------------------------------------------------------------------------------
$reason = $params['action-value']['reason'];
$this->_action[] = ' | formail -rD 8192 .vacation.' .
$address;
$this->_action[] = ' :0 ehc';
$this->_action[] = ' | (formail -rI"Precedence:
junk" \\';
$this->_action[] = ' -A"X-Loop: ' . $address .
'" \\';
$this->_action[] = ' -i"Subject: ' .
$params['action-value']['subject'] . '" ; \\';
$this->_action[] = ' echo "' .
str_replace("\r\n", '"; echo "', $reason) . '" \\';
$this->_action[] = ' ) | $SENDMAIL -oi -t -f ' .
$address . ' ';
^^^^^^^^^^^^^^^^^^^
$this->_action[] = '';
----------------------------------------------------------------------------------------------------------
I think it could be helpful to anyone else...
Best Regards,
Alessio.
More information about the bugs
mailing list