Nun hab ich
apt-get install postfix postfix-tls sasl2-bin libsasl2-modules
ausgeführt, hat alles wunderbar geklappt, meine main.cf sieht so aus:
Wie schaffe ich es nun, dass wenn wordpress von der domain1.de eine automatische mail verschickt auch automatisch z.B. info@domain1.de als absender angegeben wird? Hab verschiedene Domains auf dem Host.# See /usr/share/postfix/main.cf.dist for a commented, more complete version
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
myhostname = hostname.de
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = hostname.de, localhost.dedicated.hosteurope.de, localhost, domain1.de, domain2.de, domain3.de
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
Im Moment steht bei allen Domains als Absender:
from=<www-data@hostname.de>
und das landet in der Regel im Spamfilter beim Empfänger.
Vielen Dank!