• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Postfix loops back to myself

Dolphon

Member
Hi,

ich habe angefangen auf meinem V-Server Postfix+mysql für virtuelle Domainen + Dovecot zu installieren und zu konfigurieren. Jetzt beim testen mit "telnet localhost 25" bekomme ich beim Zustellen der virutellen Mail immer die Fehlermeldung "loops back to myself". E-mails die nach extern gehen, werden einwandfrei versenden.
Irgendwo habe ich wohl einen kleinen Fehler gemacht. Kann diesen aber leider nicht finden.

Nun die einzelnen Configfiles:

/etc/hosts

Code:
127.0.0.1       zzzzz.stratoserver.net zzzzz. localhost localhost.localdomain
81.169.xxx.xxx   mail.xyx.de mail

/etc/postfix/main.cf

Code:
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf
virtual_alias_domains = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
mydomain = xyx.de
myhostname = mail.xyx.de
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains = 
mydestination = $myhostname, $mydomain, 81.169.xxx.xxx, localhost.$mydomain. 
defer_transports = 
mynetworks_style = subnet
disable_dns_lookups = no
relayhost = 
mailbox_command = 
mailbox_transport = 
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions = 
smtpd_helo_required = no
smtpd_helo_restrictions = 
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
 
Oben