[Tickets #7201] Re: bug with procmail forwarding recipe

bugs at horde.org bugs at horde.org
Sat Sep 13 00:47:34 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/7201
------------------------------------------------------------------------------
  Ticket             | 7201
  Updated By         | tim at sig.msstate.edu
  Summary            | bug with procmail forwarding recipe
  Queue              | Ingo
  Version            | 1.2
  Type               | Bug
  State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             | Matt Selsky
------------------------------------------------------------------------------


tim at sig.msstate.edu (2008-09-12 20:47) wrote:

> Can you post the recipe that Ingo generated and what you changed it
> to in order to get it to work?

Top receipe is what I used (doesn't handle loops, I know, it was a  
quick work around).  Bottom was Ingo generated.

##### Forward All #####
:0 D
* ^Received: .
! forwarded at email.com

##### Forwards #####
:0
{
   :0
   *$ ! ^From *\/[^  ]+
   *$ ! ^Sender: *\/[^   ]+
   *$ ! ^From: *\/[^     ]+
   *$ ! ^Reply-to: *\/[^     ]+
   {
     OUTPUT = `formail -zxFrom:`
   }
   :0 E
   {
     OUTPUT = $MATCH
   }

   :0 c
   * !^FROM_MAILER
   * !^X-Loop: to-forwarded at email.com
   | formail -A"X-Loop: to-fforwarded at email.com" | $SENDMAIL -oi -f  
$OUTPUT forwarded at email.com
   :0 E
   $DEFAULT
   :0
   /dev/null
}






More information about the bugs mailing list