Postfix virtual hosting

Discussion in 'Server Operation' started by vsharma, Oct 16, 2007.

  1. vsharma

    vsharma New Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

Share This Page