6.0.0-beta1
7/23/25

[#2136] 'Destination' and other meta-headers like TO_ in procmail
Summary 'Destination' and other meta-headers like TO_ in procmail
Queue Ingo
Queue Version HEAD
Type Enhancement
State Resolved
Priority 1. Low
Owners selsky (at) columbia (dot) edu
Requester sky (at) columbia (dot) edu
Created 06/14/2005 (7344 days ago)
Due
Updated 05/21/2007 (6638 days ago)
Assigned 11/16/2006 (6824 days ago)
Resolved 05/21/2007 (6638 days ago)
Milestone
Patch No

History
05/21/2007 10:17:08 PM Matt Selsky Comment #12
State ⇒ Resolved
Reply to this comment
Committed!
11/16/2006 10:51:56 PM Chuck Hagenbuch Comment #11
Assigned to Matt Selsky
State ⇒ Assigned
Reply to this comment
Matt, unless I'm missing something you should go ahead and commit that 
fields patch, and this will be taken care of.
10/10/2006 07:14:41 PM Matt Selsky Comment #10 Reply to this comment
The procmail driver has a "special type" defined as 'Destination'.  By 
adding more fields to fields.php then perhaps destination doesn't need 
to be a special procmail only thing.
10/10/2006 07:11:13 PM Matt Selsky Comment #9
New Attachment: fields.patch Download
Reply to this comment
All we do is add three entries to fields.php that act like procmail's 
^TO_, etc
10/10/2006 03:07:35 PM sky (at) columbia (dot) edu Comment #8 Reply to this comment
Are you going to answer my question?
'this' refers to my additions to config/fields.php

I'm no longer working at the same place where I was working on horde, 
so it might be harder for me to clear the cobwebs if you have more 
specific questions about the implementation, but I'll be glad to try.   
It looks like Columbia is still using this successfully.
10/10/2006 02:36:21 PM Jan Schneider Comment #7 Reply to this comment
Are you going to answer my question?
04/28/2006 04:40:41 PM Jan Schneider Comment #6 Reply to this comment
Thus, this simply adds three options in the fields, which make this
easy with a Sieve driver (too).
What do you mean with "this"?
04/27/2006 12:57:08 PM sky (at) columbia (dot) edu Comment #5 Reply to this comment
Sorry, I lost you completely. Can you please explain what exactly
your enhancement request is?
Procmail has a nice feature where you can put TO as a special matcher 
for all 'Destination' fields, matching an address in the To,Cc, 
Resent-to, etc. fields with one rule.  This feature is, at least, 
exposed with the Procmail driver with a regex or something (I forget), 
but if you want _any_ mail that goes to a certain email address (or 
comes from a 'destination'), regardless of the specific header field, 
then you need to make several rules (or did).



Thus, this simply adds three options in the fields, which make this 
easy with a Sieve driver (too).
04/27/2006 11:42:15 AM Jan Schneider Comment #4 Reply to this comment
Sorry, I lost you completely. Can you please explain what exactly your 
enhancement request is?
04/26/2006 07:17:19 PM sky (at) columbia (dot) edu Comment #3 Reply to this comment
Are you saying this works already in the sieve driver? Or in the
procmail driver? Or?
Our system was a sieve driver, so that's what it's tested on.
04/24/2006 12:56:40 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Are you saying this works already in the sieve driver? Or in the 
procmail driver? Or?
06/14/2005 05:52:25 PM Jan Schneider State ⇒ Accepted
 
06/14/2005 04:09:37 PM sky (at) columbia (dot) edu Comment #1
Priority ⇒ 1. Low
State ⇒ New
Queue ⇒ Ingo
Type ⇒ Enhancement
Summary ⇒ 'Destination' and other meta-headers like TO_ in procmail
Reply to this comment
Adding comma-separated headers to config/fields.php works with the 
sieve driver.  If this worked for the other drivers, this could be a 
more general addition, instead of just for procmail:



   'To,Cc,Bcc,Resent-To' => array(

     'label' => _("Destination (To,Cc,Bcc,etc)"),

     'type' => INGO_STORAGE_TYPE_HEADER

   ),

   'From,Sender,Reply-To,Resent-From' => array(

     'label' => _("Source (From,Reply-To,etc)"),

     'type' => INGO_STORAGE_TYPE_HEADER

   ),

   'To,Cc,Bcc,Resent-To,From,Sender,Reply-To,Resent-From' => array(

     'label' => _("Participant (From,To,etc)"),

     'type' => INGO_STORAGE_TYPE_HEADER

   ),


Saved Queries