Postfix virtual hosting

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

  1. vsharma

    vsharma New Member


    This is prob. very common setup, I have postfix installed and have multiple domains using the same postfix installation.

    Postfix main.cfg: myhostname =

    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 "",
    which is bit misleading since the from address is [email protected] and mailed by is

    Am I missing something basic or this is normal??

  2. falko

    falko Super Moderator ISPConfig Developer

Share This Page