Postfix relay works but with wrong return-path.

1 post / 0 new
#1 Sat, 08/11/2012 - 20:41
yabapolido

Postfix relay works but with wrong return-path.

Hi,
I've read a few posts but I still can't send e-mails the right way.
This is my setup:
vpserver - hosts my server and my e-mails (DNS MX records are ok)
myhost - has a fresh clean install of ubuntu 12.04 and virtualadmin installed flawless.
domain1.com
domain2.org

Now, I've setup info@domain1.com at my vpserver.
Also, I've installed Mail Relay plugin at virtualadmin and configured it.
I can send e-mails through my application, but the return-path is always:
siteusername@myhost.vpsserver.com

Need some help. This is driving me insane, I've checked Transport Mapping, Rewriting and Masquerading, etc..

Thanks.