Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th October 2013, 20:25
IceAndFire IceAndFire is offline
Junior Member
 
Join Date: Oct 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix: www-data from Z-Push - No SMTP relay

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 www-data@local.domain instead of the return path of the user: User@PublicEmail.com. Because it is a generic www-data@local.domain I cannot seem to map it properly to change it to user@publicemail.com. 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.
Reply With Quote
Sponsored Links
  #2  
Old 26th October 2013, 22:05
IceAndFire IceAndFire is offline
Junior Member
 
Join Date: Oct 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Solved it:

http://z-push.sourceforge.net/phpbb/...&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.
Reply With Quote
Reply

Bookmarks

Tags
php5, postfix, www-data, z-push

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql and mail problem viritech General 3 16th October 2012 12:54
Email from server driving me crazy chaloum General 29 13th April 2012 13:45
Cannot send or receive mail farbrorc Installation/Configuration 6 24th January 2010 11:56
squirrelmail and postfix witoszek General 12 1st December 2009 18:07
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40


All times are GMT +2. The time now is 16:55.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.