[Postfixbuch-users] Fehler bei der Zustellung - User nicht in valiases gefunden

Sandy Drobic postfixbuch-users at japantest.homelinux.com
Mo Jul 28 20:57:03 CEST 2008


Florian Helms wrote:
> So, jetzt hab ich hoffentlich alles

Grins! Fast gut, wenn jetzt nur noch dieser Krempel unterhalb der Mail stünde. 
So hat man die ganze Konfig und weiss nicht, wonach man denn suchen soll.

Das findet man dann ganz unten in der Mail und muss danach wieder ganz nach 
oben gehen, um zu sehen, was in der Konfig falsch sein könnte.

> -> postconf -n
> 
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> biff = no
> canonical_maps = hash:/etc/postfix/canonical
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/lib/postfix
> debug_peer_level = 2
> defer_transports =
> disable_dns_lookups = no
> disable_mime_output_conversion = no
> html_directory = /usr/share/doc/packages/postfix/html
> inet_protocols = all
> mail_owner = postfix
> mail_spool_directory = /var/mail
> mailbox_command = /usr/bin/procmail
> mailbox_size_limit = 0
> mailbox_transport =
> mailq_path = /usr/bin/mailq
> manpage_directory = /usr/share/man
> masquerade_classes = envelope_sender, header_sender, header_recipient
> masquerade_domains = tanner.de
> masquerade_exceptions = root
> message_size_limit = 0
> mydestination = $myhostname, lnxmail.tanner.de, mail.tag.local, 
> mail.tanner.de, localhost, localhost.tag.local, localhost.tanner.de, 
> tanner.de, tanner.it

Gültige Empfänger für Domains in mydestination sind in local_recipient_maps.

postconf local_recipient_maps

> mydomain = tanner.de
> myhostname = lnxmail.tag.local
> mynetworks = 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/16
> mynetworks_style = subnet
> myorigin = $mydomain
> newaliases_path = /usr/bin/newaliases
> queue_directory = /var/spool/postfix
> readme_directory = /usr/share/doc/packages/postfix/README_FILES
> recipient_canonical_maps = hash:/etc/postfix/recipient_canonical
> relayhost = mx.tanner.de
> relocated_maps = hash:/etc/postfix/relocated
> sample_directory = /usr/share/doc/packages/postfix/samples
> sender_canonical_maps = hash:/etc/postfix/sender_canonical
> sendmail_path = /usr/sbin/sendmail
> setgid_group = maildrop
> smtp_sasl_auth_enable = no
> smtp_use_tls = no
> smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
> smtpd_client_restrictions =
> smtpd_helo_required = no
> smtpd_helo_restrictions =
> smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
> smtpd_sasl_auth_enable = no
> smtpd_sender_restrictions = hash:/etc/postfix/access
> smtpd_use_tls = no
> soft_bounce = no
> strict_8bitmime = no
> strict_rfc821_envelopes = no
> transport_maps = hash:/etc/postfix/transport
> unknown_local_recipient_reject_code = 550
> virtual_alias_domains = hash:/etc/postfix/vdomains
> virtual_alias_maps = hash:/etc/postfix/valiases
> 
> 
> -> Beispielmail:
> 
> Betreff:
> Undelivered Mail Returned to Sender
> Von:
> MAILER-DAEMON at tanner.de (Mail Delivery System)
> Datum:
> Mon, 21 Jul 2008 16:55:26 +0200 (CEST)
> 
> An:
> admin at tanner.de
> 
> 
> This is the Postfix program at host lnxmail.tag.local.
> 
> I'm sorry to have to inform you that your message could not
> be delivered to one or more recipients. It's attached below.
> 
> For further assistance, please send mail to <postmaster>
> 
> If you do so, please include this problem report. You can
> delete your own text from the attached returned message.
> 
> 			The Postfix program
> 
> <florian.helms at tanner.de>: unknown user: "florian.helms"
> 
> 
> 
> -> Logauszug:
> 
> Jul 21 16:55:26 lnxmail postfix/smtpd[18020]: 893DB43CC059: client=buchsbaum.tag.local[172.16.4.202]
> Jul 21 16:55:26 lnxmail postfix/cleanup[20429]: 893DB43CC059: message-id=<4884A35E.1080302 at tanner.de>
> Jul 21 16:55:26 lnxmail postfix/qmgr[12788]: 893DB43CC059: from=<admin at tanner.de>, size=3783, nrcpt=4 (queue active)
> Jul 21 16:55:26 lnxmail postfix/local[19744]: 893DB43CC059: to=<florian.helms at tanner.de>, relay=local, delay=0, status=bounced (unknown user: "florian.helms")
> Jul 21 16:55:26 lnxmail postfix/qmgr[12788]: 893DB43CC059: removed

Die Mail wurde also angenommen, aber bei der Zustellung durch den Local 
Delivery Agent "local" wurde kein entsprechender User gefunden. Wie bereits 
erwähnt, sucht Postfix die gültigen User in /etc/passwd und /etc/aliases.

Was ergibt:

postmap -q "florian.helms" unix:passwd.byname

postmap -q "florian.helms" hash:/etc/postfix/aliases




-- 
Sandy

Antworten bitte nur in die Mailingliste!
PMs bitte an: news-reply2 (@) japantest (.) homelinux (.) com



Mehr Informationen über die Mailingliste Postfixbuch-users