Hi, This is prob. very common setup, I have postfix installed and have multiple domains using the same postfix installation. Postfix main.cfg: myhostname = xxx.jsh.com using php and sendmail_path = /usr/sbin/sendmail.postfix -t -i All works fine but what I notice in maillog is: lets say site for host "abc" sends an email; first in maillog I see [email protected] Second, lets say I send an email from "abc" domain using my php code, which uses php_mailer to some gmail account, now when I look at details of the email in gmail for mailed by it shows "xxx.com", which is bit misleading since the from address is [email protected] and mailed by is xxx.com. Am I missing something basic or this is normal?? -Thanks
Please make sure that you set the correct sender address in the extra headers in PHP's mail() function: http://es.php.net/manual/en/function.mail.php