6.0.0-alpha10
5/15/25

[#5912] set start and stop times for maildrop vacation recipes
Summary set start and stop times for maildrop vacation recipes
Queue Ingo
Queue Version HEAD
Type Enhancement
State No Feedback
Priority 1. Low
Owners
Requester steinkel (at) ctinetworks (dot) com
Created 11/21/2007 (6385 days ago)
Due
Updated 04/16/2008 (6238 days ago)
Assigned
Resolved 04/16/2008 (6238 days ago)
Milestone
Patch No

History
04/16/2008 06:02:44 PM Chuck Hagenbuch State ⇒ No Feedback
 
02/24/2008 12:34:57 PM Jan Schneider Comment #11 Reply to this comment
Ping?
12/07/2007 02:52:30 PM Jan Schneider Comment #10 Reply to this comment
What does the extra trimming of the email addresses do and why?
The extra trims in the foreach loop are from paranoia about too many
exploits using embedded control characters in mail headers.
Shouldn't this rather be done through addcslashes() like anywhere else 
in the maildrop driver?
What's about the currently outcommented ignorelist stuff a few lines
above? Can this go now?
I redid the ignorelist regex to simplify it for debugging my code.
It can certainly be bulked-up, but I think the original ignorelist is
not workable in its current form.  I am using it now as it sits.
I consider this as a "yes."
12/03/2007 06:38:52 PM steinkel (at) ctinetworks (dot) com Comment #9 Reply to this comment
What does the extra trimming of the email addresses do and why?
The extra trims in the foreach loop are from paranoia about too many 
exploits using embedded control characters in mail headers.
What's about the currently outcommented ignorelist stuff a few lines
above? Can this go now?
I redid the ignorelist regex to simplify it for debugging my code.  It 
can certainly be bulked-up, but I think the original ignorelist is not 
workable in its current form.  I am using it now as it sits.
12/03/2007 05:52:22 PM Jan Schneider Comment #8 Reply to this comment
What does the extra trimming of the email addresses do and why?

What's about the currently outcommented ignorelist stuff a few lines 
above? Can this go now?
11/28/2007 05:46:22 PM Chuck Hagenbuch Deleted Original Message
 
11/26/2007 03:36:23 PM steinkel (at) ctinetworks (dot) com Comment #7
New Attachment: maildrop.vacation.diff Download
Reply to this comment
Here is the latest diff, including start and end times, 
list/bulk/junk/admin mail ignoring, and excluded addresses.  I 
simplified the admin mail regexp for debugging purposes.
11/21/2007 11:39:21 PM Jan Schneider Comment #6
State ⇒ Feedback
Reply to this comment
please move the "current_time=time" line before the vacation
start/end time checks
Please provide an updated patch.
11/21/2007 11:38:29 PM Jan Schneider Deleted Original Message
 
11/21/2007 08:02:19 PM steinkel (at) ctinetworks (dot) com Comment #5 Reply to this comment
After you have rendered judgement on these, I have suggestions for 
handling exclusions as well
11/21/2007 07:44:25 PM steinkel (at) ctinetworks (dot) com Comment #4 Reply to this comment
please move the "current_time=time" line before the vacation start/end 
time checks
11/21/2007 06:36:06 PM steinkel (at) ctinetworks (dot) com Comment #3
New Attachment: updated.vacation.diff
Reply to this comment
Here is the latest diff against CVS HEAD, including 'ignorelist' checking.



In the future, I will do more testing before posting.
11/21/2007 05:40:41 PM steinkel (at) ctinetworks (dot) com Comment #2 Reply to this comment
This has been lightly tested.
Heavier testing led to the addition to an else clause at the end, so 
the generated reply is not delivered to the local mailbox



=== add after line 518 ===

             $this->_action[] = '  else';

             $this->_action[] = '  {';

             $this->_action[] = '    to "/dev/null";';

             $this->_action[] = '  }';
11/21/2007 04:41:27 PM steinkel (at) ctinetworks (dot) com Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ set start and stop times for maildrop vacation recipes
Queue ⇒ Ingo
New Attachment: vacation.diff
State ⇒ New
Reply to this comment
This has been lightly tested.

Saved Queries