I am having a problem with procmail. What I am trying to do is take a received email and forward it to another email address masking the both addresses with their corresponding email@example.com email address. So if a user firstname.lastname@example.org sends a message to email@example.com, bar@mydomain receives an email from firstname.lastname@example.org at their email@example.com address. Does this make sense? I'm basically trying to route emails through my server masking the real addresses. The forwarding works, but the message body is not delievered. The content length is returned as 0. Why does this happen?
Thanks in advance
here is my code--
| /usr/bin/formail -I "From:$sortuser[$i]\@mydomain.com"
| /usr/bin/formail -I "To:$sortemail[$i]"