[Tickets #5581] Re: procmail expression problem

bugs at horde.org bugs at horde.org
Sat Dec 29 00:37:06 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5581
-----------------------------------------------------------------------
 Ticket             | 5581
 Updated By         | selsky at columbia.edu
 Summary            | procmail expression problem
 Queue              | Ingo
 Version            | 1.1.2
 Type               | Bug
 State              | Assigned
 Priority           | 2. Medium
 Owners             | Matt Selsky
-----------------------------------------------------------------------


selsky at columbia.edu (2007-12-28 19:37) wrote:

> You could probably create them (using UTF-7 if necessary, maybe).

I just disabled the IMP listFolders registry call to test.

I committed a fix which generates the following code.

  7: ##### Try to use pipe in folder name #####
  8: :0 
  9: * ^From:.*hisemailaddres at example\.com
 10: {
 11:   :0 
 12:   * ^Subject: .*exec_command\/.*$
 13:   \|formail\ -rA\ "X-Loop:hisemailaddres at example.com"\ \|\ \(\ cat\
-\ \;
 14: \
 15: myCmd="\$MATCH"\;\ echo\ "Executing:\ \$myCmd"\ \;\ bash\ -c\
"\$myCmd"
 16: \
 17: \)
 18: \
 19: \|\ \$SENDMAIL\ -oi\ -t
 20: }
 21: 
 22: ##### Regex Test #####
 23: :0 
 24: * ^X-Spam-Score:.*\+\+\+\+\+
 25: {
 26:   :0 
 27:   * ^X-Spam-Level:.*\*\*\*\*\*\*
 28:   $DEFAULT
 29: }

I think we can close this ticket.



More information about the bugs mailing list