Am 16.08.2014 um 15:06 schrieb Chris: > I just noticed that all my mails have somehow the main domain/hostname in > them. > Like: > > Aug 16 10:42:51 nudin3 postfix/pickup[9697]: B3150766073B: uid=33 > from=<www-data> > Aug 16 10:42:51 nudin3 postfix/cleanup[10027]: B3150766073B: > message-id=<[email protected]> > Aug 16 10:42:51 nudin3 postfix/qmgr[3040]: B3150766073B: > from=<www-data@server3>, size=10718, nrcpt=1 (queue active) > > Where as domain1.de should be domain2.de > It's just that I've set up domain1.de as the default hostname. > > How is it possible with postfix to set up the hostname as the domain name of > the virtual host? > (I run several websites on this server and therefore several mail accounts > under different domains. > > Hope you know how I mean?
not really - there is no connection between httpd vhosts and postfix just don't use the sendmail binary and specify https://code.google.com/a/apache-extras.org/p/phpmailer/downloads/list mail() is a disabled function here for the last 11 years
