I want to make a header check rule to add a reply-to and change From to a no-reply. I use it for sort of diffusion list adress
I have tried this regexp code but it is not working:
if !/^From:(.+@myserver\.fr)/
/^From:(.*)$/ PREPEND Reply-To:$1
/^From:(.*)$/ REPLACE From: no-reply@myserver.fr
endif
Only the first action is use.
Can someone explain me what I am doing wrong?