Verwirrter E-Mail-Server

Verwirrter E-Mail-Server

Ich habe meinen Server vor Kurzem von Centos 6.9 auf einen neuen Server mit Centos 7.9 migriert und hatte aufgrund drastischer Änderungen am Betriebssystem sowie Versionsänderungen bei Perl, Python, PHP und Apache mit zahlreichen Problemen zu kämpfen. Ich habe sie gelöst.

Außer dass die Postfix/Dovecot-Server weiterhin für große Probleme sorgen. Beispielsweise: [email protected], [email protected]und [email protected]- landen alle im Administratorkonto des Servers, der überhaupt keiner Domäne zugeordnet ist.

Dies ist, was ich getan habe in /ect/postfix/virtual:

[email protected] domain1.com-admin
[email protected] domain2.com-admin

Ergebnis: Keine Freude

Dann habe ich hinzugefügt /etc/postfix/vmailbox:

[email protected] domain1.com/admin
[email protected] domain2.com/admin

Nach dem Ausführen der Routine „postmap /etc/postfix/virtual“ und „postmap /etc/postfix/vmailbox“ erfolgt immer noch keine Trennung der Admin-Mails.

Wo muss ich suchen? Ich bin für jeden Hinweis dankbar.

Postfix-Konfigurationsinformationen:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
disable_vrfy_command = yes
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
html_directory = no
inet_protocols = all
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
milter_default_action = accept
mydestination = $myhostname, $mydomain, localhost.$mydomain, localhost, mail.$mydomain
newaliases_path = /usr/bin/newaliases.postfix
non_smtpd_milters = inet:localhost:8891
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
resolve_dequoted_address = no
sample_directory = /usr/share/doc/postfix-2.10.1/samples
sender_bcc_maps = hash:/etc/postfix/bcc
sender_dependent_default_transport_maps = hash:/etc/postfix/dependent
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_tls_security_level = may
smtpd_error_sleep_time = 5s
smtpd_milters = inet:localhost:8891
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_tls_CAfile = /etc/postfix/postfix.ca.pem
smtpd_tls_cert_file = /etc/postfix/postfix.cert.pem
smtpd_tls_key_file = /etc/postfix/postfix.key.pem
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1
smtpd_tls_security_level = may
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_mailbox_maps = hash:/etc/postfix/vmailbox

Ausschnitt aus /etc/postfix/virtual:

domain1.com domain1.com
[email protected] domain1.com-admin
domain2.com domain2.com
[email protected] domain2.com-admin

Ausschnitt aus /etc/postfix/vmailbox:

[email protected] domain1.com/admin
[email protected] domain2.com/admin

verwandte Informationen