Summary | Vacation filter, From: header Enhancement |
Queue | Ingo |
Queue Version | FRAMEWORK_3 |
Type | Enhancement |
State | Rejected |
Priority | 2. Medium |
Owners | |
Requester | alessio.molteni (at) gmail (dot) com |
Created | 11/02/2006 (6793 days ago) |
Due | 09/30/2006 (6826 days ago) |
Updated | 07/31/2007 (6522 days ago) |
Assigned | 11/03/2006 (6792 days ago) |
Resolved | 07/31/2007 (6522 days ago) |
Milestone | |
Patch | No |
Taken from ben
State ⇒ Rejected
request 3733.Due ⇒ 09/30/2006
State ⇒ Assigned
Priority ⇒ 2. Medium
Type ⇒ Enhancement
Summary ⇒ Vacation filter, From: header Enhancement
Due ⇒ 10/31/2006
Queue ⇒ Ingo
State ⇒ New
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.