Blue Hawk wrote:
> My mail kept coming back as spam so i posted the text here http://pastie.org/334579
> basically i can not figure out how to get exim4 on debain using multiple users and multiple emails through google app. I need user1& user2@??? and somename@??? user2@??? all on the same box using php mail. regardless what email i use in my php app it always uses user1@???
Either use something like phpMailer[1] which is a set of PHP scripts
which act as a compliant MUA, or look into making your apache user a
trusted user[2] inside the exim configuration file.
You will also need to change the default email command line in PHP to
include the "-bm -t"[3] flags so that exim will read the message sender
and recipient from the headers.
[1]
http://phpmailer.codeworxtech.com/
[2]
http://docs.exim.org/current/spec_html/ch14.html#id558022
[3]
http://docs.exim.org/current/spec_html/ch05.html#id480108