0

I have a regex rule like this:

/^Subject: *SOME TEXT*/ REDIRECT email1@some.com, email2@some.com

And the receiving server interprets that as a single mail, not two and understandably throws email format errors.

How can i reformat the destinations so POSTFIX read them as two or more and resends to each separate mail (if possible)?

Thanks

EDIT:

Also tried with duplicated rules like:

/^Subject: *SOME TEXT*/ REDIRECT email1@some.com
/^Subject: *SOME TEXT*/ REDIRECT email2@some.com

And only works the first one, not the second.

  • One method could be to create a local alias group and put all the addresses in it. Another would be to create a distribution list on the receiving end, if they are on the same domain / mail server. – Aaron Jul 10 '17 at 19:58
  • I tried that but I'm getting some domain issues that's why i wanted to dig a little more into this alternative. – Gabriel A. Zorrilla Jul 10 '17 at 20:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.