I'm using the SSMTP mail server on my Ubuntu server to send emails from my PHP scripts using a 3rd party SMTP and all is working fine expect that the emails that are being sent have there from & reply-to email address set to "[email protected]" instead of the ones provided to the mail() function.
I all so have the "FromLineOverride" set to "YES" in the "ssmtp.conf". The only difference it seems to be making is that in the reply-to address it adds both the "[email protected]" & the email address provided to the mail() function.
I have looked over every setting I could find but it still keeps using the Apache2's process user account as the from address.
Does anyone know why this is happening?