Postfix config - virtual domain mapping problem

Discussion in 'Installation/Configuration' started by spdavid, May 23, 2008.

  1. spdavid

    spdavid New Member

    I am currently hosting a few websites with ISPConfig and use Postfix simply to relay web generated emails (from web site contact forms) via smtp. I don't do any local mail hosting. This is working fine, however my problem is that when I inspect the headers of the emails generated from my sites they all contain "Return-Path:" and "Received:" from my own domain, rather than the domain from which the email originated. For example, say my main domain is but I am sending an email via a contact form at If I look at the email header it looks like the email originates from when it should be originating from

    In my I have myhostname set to Don't know what this should be set to in an ISP environment.

    I am new to Postfix and have spent several hours trying to find a solution to my problem - Thanks for any pointers!
  2. falko

    falko Super Moderator ISPConfig Developer

Share This Page