Am 06.05.2011 17:00, schrieb Christoph Weber: > Hallo Liste, > > ich versuche gerade unseren Mailserver mit dovecot und postfix > einzurichten und folge dem Beispiel von Peer Heinlein aus dem Linux > Magazin 09/10. > > Leider bekomme ich die dynamische Adressverifikation nicht in den Griff. > Ich verwende zur Verbindung von Postfix zu dovecot LMTP. > > Eingehende Nachrichten werden jedoch abgewiesen: > > Fehler beim Senden der Nachricht: Der Mail-Server antwortete: 4.1.1 > <[email protected]>: Recipient address rejected: unverified address: > unknown user: "weber". > > Im Log steht dann folgender Eintrag: > > May 6 16:00:50 a79 postfix/smtpd[8043]: NOQUEUE: reject: RCPT from > ws.example.de[xxx.xxx.xxx.xxx]: 450 4.1.1 <[email protected]>: Recipient > address rejected: unverified address: unknown user: "weber"; > from=<[email protected]> to=<[email protected]> proto=ESMTP > helo=<[xxx.xxx.xxx.xxx]> > > Laut dem dovecot-wiki (http://wiki2.dovecot.org/LDA/Postfix) sollte ich > aber einen Logeintrag wie diesen hier sehen: > > Recipient address rejected: undeliverable address: host > tux.example.com[private/dovecot-lmtp] said: 550 5.1.1 < > [email protected] > User doesn't exist: [email protected] (in reply > to RCPT TO command); from=< [email protected] > to=< > [email protected] > > > Für mich sieht das so aus, als ob die Empfängerverifizierung gar nicht > durchgefürt wird bzw. als ob LMTP noch nicht richtig funktioniert. > Kann ich irgendwie testen, daß LMTP verwendet wird? > > Wenn ich statt lmtp irgendetwas anderes verwende, dann erhalte ich auch > die oben genannte Fehlermeldung. Ich habe den Eindruck, daß ich erst > garnicht bis zur Verwendung von LMTP komme, sondern die Mail schon > vorher abgewiesen wird. Ebenso, wenn ich die Konfiguration nicht als > Relay-Setup aufbaue, wie von Peer vorgeschlagen, sondern wir im wiki > unter http://wiki2.dovecot.org/HowTo/VirtualUserFlatFilesPostfix. > > postconf -n: > alias_maps = hash:/etc/aliases > append_dot_mydomain = no > biff = no > config_directory = /etc/postfix > disable_vrfy_command = yes > inet_protocols = ipv4 > mailbox_size_limit = 0 > message_size_limit = 20480000 > myhostname = example.de > smtpd_banner = $myhostname ESMTP > smtpd_helo_required = yes > smtpd_recipient_restrictions = reject_unknown_recipient_domain, > reject_unverified_recipient, reject_non_fqdn_recipient, > permit_mynetworks, reject_unauth_destination permit > smtpd_tls_security_level = none > strict_rfc821_envelopes = yes > relay_domains = hash:/etc/postfix/relay_domains > transport_maps = $relay_domains > > > relay_domains: > example.de lmtp:unix:private/dovecot-lmtp > > > > doveconf -n: > > > # 2.0.12: /usr/local/etc/dovecot/dovecot.conf > # OS: Linux 2.6.32-30-server x86_64 Ubuntu 10.04.2 LTS > auth_debug = yes > auth_verbose = yes > auth_verbose_passwords = plain > mail_debug = yes > mail_location = mdbox:~/mdbox > mail_plugins = acl quota > namespace { > hidden = no > inbox = yes > location = > prefix = > separator = / > type = private > } > namespace { > list = yes > location = maildir:/var/vmail/public:LAYOUT=fs:INDEX=~/public > prefix = Public/ > separator = / > subscriptions = no > type = public > } > passdb { > args = username_format=%n /var/vmail/auth.d/example.de/passwd > driver = passwd-file > } > plugin { > acl = vfile:/var/vmail/conf.d/%d/acls:cache_secs=300 > quota = dict:user::file:%h/mdbox/dovecot-quota > quota_rule = *:storage=1GB > quota_rule2 = Trash:storage=+10% > sieve = ~/.dovecot.sieve > sieve_dir = ~/sieve > sieve_global_dir = /var/vmail/conf.d/%d/sieve > } > protocols = imap lmtp > service auth-worker { > user = doveauth > } > service auth { > unix_listener /var/spool/postfix/private/auth { > group = postfix > mode = 0660 > user = postfix > } > user = doveauth > } > service imap-login { > inet_listener imap { > port = 143 > } > inet_listener imaps { > port = 0 > } > } > service lmtp { > unix_listener /var/spool/postfix/private/dovecot-lmtp { > group = postfix > mode = 0660 > user = postfix > } > } > ssl_cert = </etc/ssl/certs/dovecot.pem > ssl_key = </etc/ssl/private/dovecot.pem > userdb { > args = username_format=%n /var/vmail/auth.d/example.de/passwd > driver = passwd-file > } > verbose_proctitle = yes > protocol lmtp { > mail_plugins = acl quota sieve > } > protocol imap { > mail_plugins = acl quota imap_acl imap_quota mail_log notify > } > > > Viele Grüße und ein schönes Wochenende, > Christoph > >
reject_unverified_recipient was soll das ? -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria _______________________________________________ postfix-users mailing list [email protected] http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users
