[Postfixbuch-users] Mails an user.domain at localhost.localdomain statt an user at domain.de

Matthias Ebner postfixbuch at mailinglists.syneha.de
Do Dez 15 15:33:40 CET 2005


Hallo,

ich habe hier ein kleines, für mich aktuell aber unlösbares Problem (schäm).

Auf einem Server läuft Postfix in eienr Virtual-Konfiguration.

Alles ist prima :-) bis auf das folgende Problem:

Mails an Domains, welche über die Virtual-Konfig auf dem Server angelegt
sind, erhalten in der Empfänger-Adresse immer ein
"user.domain at localhost.localdomain" statt eines normalen "user at domain.de".

Die Benutzer sind als "user.domain" (Virtualmin) angelegt und werden in eine
gleichnamige mbox-Datei gelegt.


Die mainf.cf sieht aktuell wie folgt aus:


----------------------------------------------------------------------------
--
smtpd_banner = ESMTP - Yet Another Mailsystem
biff = no
append_dot_mydomain = no

mailbox_command = procmail -a $EXTENSION
mailbox_size_limit = 0
recipient_delimiter = +

myorigin = /etc/mailname
myhostname                               =
xx-xx-xxx-xx.xxx.xxxxxxxxxxxxxxxx.de
mydomain                                 = xxx.xxxxxxxxxxxxx.de
mydestination                            = $myhostname, $mydomain,
localhost.localdomain, localhost, $transport_maps

relay_domains                            = $mydestination
mynetworks                               = 127.0.0.0/8

alias_maps                               = hash:/etc/aliases
virtual_alias_maps                       = hash:/etc/postfix/virtual
sender_canonical_maps                    =
hash:/etc/postfix/sender_canonical
canonical_maps                           = hash:/etc/postfix/canonical
recipient_canonical_maps                 = hash:/etc/postfix/virtual
relocated_maps                           = hash:/etc/postfix/relocated
transport_maps                           = hash:/etc/postfix/transport

local_recipient_maps                     = $relocated_maps $alias_maps
$virtual_mailbox_maps unix:passwd.byname

smtpd_helo_required                      = yes
strict_rfc821_envelopes                  = yes
disable_vrfy_command                     = yes
unknown_address_reject_code              = 554
unknown_hostname_reject_code             = 554
unknown_client_reject_code               = 554
unknown_local_recipient_reject_code      = 554
unverified_sender_reject_code            = 550

smtpd_recipient_restrictions             = reject_non_fqdn_sender,
                                           reject_non_fqdn_recipient,
                                           reject_unknown_sender_domain,
                                           reject_unknown_recipient_domain,
                                           permit_mynetworks,
                                           permit_sasl_authenticated,
                                           reject_unauth_destination,
                                           reject_unlisted_recipient,
                                           reject_unauth_pipelining,
                                           reject_invalid_hostname,
                                           reject_non_fqdn_hostname,
                                           permit


content_filter = smtp-amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings

#SASL eingehend (smtpd)
smtpd_sasl_auth_enable                 = yes
smtpd_sasl_local_domain                = $myhostname
broken_sasl_auth_clients               = yes
smtpd_sasl_security_options            = noanonymous

#SASL ausgehend (smtp)
smtp_sasl_auth_enable                  = yes
smtp_sasl_password_maps                = hash:/etc/postfix/smtp_auth
smtp_sasl_security_options             = noanonymous
#relayhost                             = mail.communiz.de

smtpd_use_tls                          = yes
smtpd_tls_cert_file                    = /etc/postfix/smtpd.cert
smtpd_tls_key_file                     = /etc/postfix/smtpd.key
----------------------------------------------------------------------------
--

Da meine anderen Server derartige Probleme nicht haben, bin ich ehrlich
gesagt etwas ratlos.


Freue mich über jeden Tip.

Danke und einen schönen Tag noch.


Gruß
  Matthias




Mehr Informationen über die Mailingliste Postfixbuch-users