I need a procmail recipe which stores the mail and forwards it to another address.
The following works fine:
:0c
! addressto@forward.to
But..now I need to change the From:
header in the mails that are being forwarded, and I know it can probably be done with formail but I failed to find any good examples on how to do that and still store the email
EDIT: solved it myself, see the answer below