nach einer Standard Postfix Installation auf einem aktuellem Debian, verschickt postfix die Mails mit dem Absender username@servername.domain.local.
Das für from, envelope-from, usw.
Ich möchte dies nun für alle User umschreiben, von
username@servername.domain.local --> username.servername@domain.local
Wie stell ich das am Besten an?
thx
vicodas
Hier die config (postconf -n):
Code: Alles auswählen
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
allow_mail_to_files = alias
body_checks = regexp:/etc/postfix/body_checks
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
in_flow_delay = 1s
inet_interfaces = loopback-only
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
myhostname = servername.domain.local
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
recipient_delimiter = +
relayhost = smtp.domain.local
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
unknown_local_recipient_reject_code = 550