http://pastebin.com/Df1dYv4m Hello. I am hosting a few virtual domains. I am trying to set up Z-Push. The issue is Z-Push emails have a return path of [email protected] instead of the return path of the user: [email protected]. Because it is a generic [email protected] I cannot seem to map it properly to change it to [email protected]. The main issue is I have sender dependent smtp maps. It therefore isn't routing the email through the relay but attempting to send it directly to port 25 which is getting bounced of course. Everything works fine with direct smtps, RoundCube, iPhone, mac mail app. Its is just Z-Push.
Solved it: http://z-push.sourceforge.net/phpbb/viewtopic.php?&t=2122&p=7540 I did something similar to this. I set false for IMAP and I set $envelopefrom = "-f$this->username"; somewhere after the from sections as it seems the booleans were never true to rewrite the envelopefrom Hope this helps someone else.