6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/8/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#4616] Vacation filter, From: header Enhancement
*
Your Email Address
*
Spam protection
Enter the letters below:
.__. __ .__ ..__ | |/ `| \ |[ __ |__|\__.|__/\__|[_./
Comment
> 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.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers