[Postfixbuch-users] Probleme mit dynamischer Empfängervalidierung und Dovecot

Maik Röhrig m at micz.de
Do Dez 17 17:16:34 CET 2009


Hallo,

ich teste grade ein wenig mit Postfix und Dovecot rum. Als UserDb habe
ich einen passwd-file benutzt. Leider klappt das mit dem dynamischen
verifizieren des Empfängers nicht. Ich bekomme bei

echo Testmail | /usr/sbin/sendmail gibtsgarnicht at MYDOMAIN.de

immer einen Bounce

Dec 17 17:12:46 micserv03 postfix/pickup[9994]: 167414B299: uid=0
from=<root>
Dec 17 17:12:46 micserv03 postfix/cleanup[10137]: 167414B299:
message-id=<20091217161246.167414B299 at mail.roehrig-net.de>
Dec 17 17:12:46 micserv03 postfix/qmgr[9995]: 167414B299:
from=<root at mail.roehrig-net.de>, size=301, nrcpt=1 (queue active)
Dec 17 17:12:46 micserv03 dovecot: auth(default):
passwd-file(gibtsgarnicht at roehrig-net.de): unknown user
Dec 17 17:12:46 micserv03 postfix/pipe[10139]: 167414B299:
to=<gibtsgarnicht at MYDOMAIN.de>, relay=dovecot, delay=0.23,
delays=0.13/0.04/0/0.07, dsn=5.1.1, status=bounced (user unknown)
Dec 17 17:12:46 micserv03 postfix/cleanup[10137]: 409154B29A:
message-id=<20091217161246.409154B29A at mail.MYDOMAIN.de>
Dec 17 17:12:46 micserv03 postfix/qmgr[9995]: 409154B29A: from=<>,
size=2065, nrcpt=1 (queue active)
Dec 17 17:12:46 micserv03 postfix/bounce[10141]: 167414B299: sender
non-delivery notification: 409154B29A
Dec 17 17:12:46 micserv03 postfix/qmgr[9995]: 167414B299: removed
Dec 17 17:12:46 micserv03 postfix/local[10143]: 409154B29A:
to=<root at mail.MYDOMAIN.de>, relay=local, delay=0.07,
delays=0.02/0.05/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
Dec 17 17:12:46 micserv03 postfix/qmgr[9995]: 409154B29A: removed

Kann mir da wer weiter helfen? Hier meine Konfiguration:

postconf -n
address_verify_map = btree:/var/spool/postfix/data/verify
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = //usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
home_mailbox = .maildir/
html_directory = /usr/share/doc/postfix-2.6.5/html
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
maximal_queue_lifetime = 3d
mydestination = $myhostname, localhost.$mydomain, localhost
myhostname = mail.roehrig-net.de
mynetworks_style = host
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
proxy_interfaces = xxx.xxx.xxx.xxx
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.5/readme
relay_domains = hash:/etc/postfix/relay_domains
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_recipient_restrictions = check_recipient_access
hash:/etc/postfix/access_recipient-rfc,        check_client_access
hash:/etc/postfix/access_client,        check_helo_access
hash:/etc/postfix/access_helo,        check_sender_access
hash:/etc/postfix/access_sender,        check_recipient_access
hash:/etc/postfix/access_recipient,        reject_non_fqdn_sender,
  reject_non_fqdn_recipient,        reject_unknown_sender_domain,
 reject_unknown_recipient_domain,        permit_sasl_authenticated,
   permit_mynetworks,        reject_rbl_client ix.dnsbl.manitu.net,
   reject_rbl_client zen.spamhaus.org,
reject_unverified_recipient,        reject_unauth_destination,        permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_tls_security_options = noanonymous
smtpd_sasl_type = dovecot
transport_maps = hash:/etc/postfix/relay_domains
unknown_local_recipient_reject_code = 550
unverified_recipient_reject_code = 577


dovecot -n
protocols: imap
ssl: no
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
mail_location: maildir:~/Maildir
lda:
  postmaster_address: testuser at roehrig-net.de
auth default:
  mechanisms: plain login cram-md5 digest-md5
  verbose: yes
  passdb:
    driver: passwd-file
    args: /etc/dovecot/passwd
  userdb:
    driver: static
    args: uid=vmail gid=vmail home=/home/vmail/%u
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 438
      user: vmail


Gruß Maik



Mehr Informationen über die Mailingliste Postfixbuch-users