Kein Mailempfang

#1
Hallo,

ich habe ISPConfig laut "Perfekter Server" neu auf einem Ubuntu 11 vServer neuaufgesetzt. Es funktioniert auch alles soweit, bis auf den Mailempfang. Wenn ich mir selber eine Mai schicke, erhalte ich direkt die folgende Meldung:

<info@xxx.de>: unknown user: "info"

Anbei die main.cf
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

myhostname = XXX.de
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
mydestination = XXX.de, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf, hash:/var/lib/mailman/data/virtual-mailman
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_tls_security_level = may
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_$
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
smtpd_client_message_rate_limit = 100
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
owner_request_special = no
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
Folgendes steht in mail.log

Mar 19 19:39:02 XXX postfix/pickup[10233]: BFAAB1A227C: uid=0 from=<root>
Mar 19 19:39:02 XXX postfix/cleanup[12817]: BFAAB1A227C: message-id=<20120319183902.BFAAB1A227C@feinsauber.de>
Mar 19 19:39:02 XXX postfix/qmgr[10234]: BFAAB1A227C: from=<root@XXX.de>, size=1014, nrcpt=1 (queue active)
Mar 19 19:39:02 XXX postfix/smtpd[12823]: connect from localhost[127.0.0.1]
Mar 19 19:39:02 XXX postfix/trivial-rewrite[12819]: warning: do not list domain feinsauber.de in BOTH mydestination and virtual_mailbox_domains
Mar 19 19:39:02 XXX postfix/smtpd[12823]: E59BE1A00EF: client=localhost[127.0.0.1]
Mar 19 19:39:02 XXX postfix/cleanup[12817]: E59BE1A00EF: message-id=<20120319183902.BFAAB1A227C@feinsauber.de>
Mar 19 19:39:02 XXX postfix/qmgr[10234]: E59BE1A00EF: from=<root@XXX.de>, size=1447, nrcpt=1 (queue active)
Mar 19 19:39:02 XXX postfix/trivial-rewrite[12819]: warning: do not list domain XXX.de in BOTH mydestination and virtual_mailbox_domains
Mar 19 19:39:02 XXX amavis[4910]: (04910-10) Passed CLEAN, <root@XXX.de> -> <root@XXX.de>, Message-ID: <20120319183902.BFAAB1A227C@XXX.de>, mail_id: Jsw5jFtzxjOa, Hits: -0.001, s$
Mar 19 19:39:02 XXX postfix/smtpd[12823]: disconnect from localhost[127.0.0.1]
Mar 19 19:39:02 XXX postfix/smtp[12820]: BFAAB1A227C: to=<root@XXX.de>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.18, delays=0.02/0/0/0.15, dsn=2.0.0, status=sent (250 2.0.0 fr$
Mar 19 19:39:02 XXX postfix/qmgr[10234]: BFAAB1A227C: removed
Mar 19 19:39:02 XXX postfix/local[12824]: E59BE1A00EF: to=<root@XXX.de>, relay=local, delay=0.02, delays=0/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Mar 19 19:39:02 XXX postfix/qmgr[10234]: E59BE1A00EF: removed
Habt ihr eine Idee wo das Problem liegt?
 

Till

Administrator
#2
Du hast eine Domain die für Emailempfang verwendet werden soll als host und mailnamen verwendet. Das Tutorial verwendet ja server1.example,com und nicht example.com. Du musst also den hostnamen Deines Servers sowie alle Einträge der Domain in /etc/postfix/main.cf sowie etc/mailname von "deinedomain.tld" in z.B. "mail.deinedomain.tld" oder "server1.deinedomain.tld" ändern und dann postfix neu starten.
 

Werbung