Loading ...
Sorry, an error occurred while loading the content.

272035Re: Append orig_to messages subject

Expand Messages
  • Ralf Hildebrandt
    Dec 14, 2010
    • 0 Attachment
      * Selcuk Yazar <selcuk.yazar@...>:
      > Hi,
      >
      > yes. right. is it posssible for filter or another way.

      Directly with .forward alone: No
      But you can call procmail from .forward and do it that way (I guess)

      You would need to use formail to extract the subject into a variable and
      then use formail as a filter to update the Subject line

      e.g.:

      SUBJECT=formail -zx "Subject:":0fwh
      | /usr/bin/formail -b -a -I"Subject: [prefix here]$SUBJECT"
      | ${SENDMAIL} -i new@address

      I think.

      --
      Ralf Hildebrandt
      Geschäftsbereich IT | Abteilung Netzwerk
      Charité - Universitätsmedizin Berlin
      Campus Benjamin Franklin
      Hindenburgdamm 30 | D-12203 Berlin
      Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
      ralf.hildebrandt@... | http://www.charite.de
    • Show all 10 messages in this topic