[Postfixbuch-users] Dovecot 1.2 nach 2.1

Andreas Ernst ae at ae-online.de
Do Dez 6 14:45:02 CET 2012


Hallo,

das Dovecot 1.2 Setup ist nach Peers Buch aufgebaut. Jetzt bekomme ich 
folgende Meldung:

ovecot: auth: Error: userdb(testing at ae-online.net): client doesn't have 
lookup permissions for this user: userdb reply doesn't contain uid 
(change userdb socket permissions)

Den dovecot deliver gibt es ja nicht mehr, statt dessen habe ich jetzt 
in der master.cf:

dovecot   unix  -       n       n       -       -       pipe
   flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/dovecot-lda -f 
${sender} -d ${recipient}

Wie auf der dovecot Seite beschreiben [1].

Danke.

Liebe Grüße
Andreas

[1] http://wiki2.dovecot.org/LDA/Postfix


mail:/etc/dovecot/conf.d # dovecot -n
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.4.11-2.16-desktop x86_64 openSUSE 12.2 (x86_64)
auth_mechanisms = plain login
mail_gid = 10000
mail_location = maildir:~/Maildir
mail_uid = 10000
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope 
encoded-character vacation subaddress comparator-i;ascii-numeric 
relational regex imap4flags copy include variables body enotify 
environment mailbox date ihave
namespace inbox {
   inbox = yes
   location =
   mailbox Drafts {
     special_use = \Drafts
   }
   mailbox Junk {
     special_use = \Junk
   }
   mailbox Sent {
     special_use = \Sent
   }
   mailbox "Sent Messages" {
     special_use = \Sent
   }
   mailbox Trash {
     special_use = \Trash
   }
   prefix =
}
passdb {
   args = /etc/dovecot/dovecot-ldap.conf.ext
   driver = ldap
}
plugin {
   sieve = ~/.dovecot.sieve
   sieve_dir = ~/sieve
}
postmaster_address = ae at ae-online.de
protocols = imap pop3
service auth {
   unix_listener /var/spool/postfix/private/auth {
     group = postfix
     mode = 0666
     user = postfix
   }
}
ssl_ca = </etc/ssl/certs/RapidSSL_CA_bundle.pem
ssl_cert = </etc/ssl/certs/ae-online.de.crt
ssl_key = </etc/ssl/certs/ae-online.de.key
userdb {
   args = /etc/dovecot/dovecot-ldap.conf.ext
   driver = ldap
}
protocol imap {
   mail_max_userip_connections = 20
}


mail:/etc/dovecot/conf.d # postconf -n
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
biff = no
body_checks = regexp:/etc/postfix/body_checks
bounce_queue_lifetime = 2d
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
defer_transports =
delay_warning_time = 1h
disable_dns_lookups = no
disable_mime_output_conversion = no
home_mailbox = Maildir/
html_directory = /usr/share/doc/packages/postfix-doc/html
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 51200000
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
maximal_queue_lifetime = 3d
message_size_limit = 51200000
mydestination = $myhostname, localhost.$mydomain, beselich.net
mydomain = ae-online.eu
myhostname = mail.ae-online.de
mynetworks = 176.28.53.93/32, 217.115.155.192/27, 127.0.0.0/8
mynetworks_style = subnet
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
relay_domains = proxy:ldap:/etc/postfix/relay_domains_dovecot.cf
relay_recipient_maps = proxy:ldap:/etc/postfix/relay_usermap_dovecot.cf
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix-doc/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_tls_CAfile = /etc/ssl/certs/RapidSSL_CA_bundle.pem
smtp_tls_cert_file = /etc/ssl/certs/ae-online.de.crt
smtp_tls_key_file = /etc/ssl/certs/ae-online.de.key
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP
smtpd_client_restrictions =
smtpd_hard_error_limit = 2
smtpd_helo_required = yes
smtpd_helo_restrictions =
smtpd_recipient_restrictions = reject_non_fqdn_recipient, 
reject_non_fqdn_sender,        reject_unknown_sender_domain, 
reject_unknown_recipient_domain,        reject_multi_recipient_bounce, 
       permit_sasl_authenticated,        permit_mynetworks, 
check_sender_access hash:/etc/postfix/access,        check_client_access 
hash:/etc/postfix/access,        reject_unauth_destination, 
reject_unauth_pipelining,        reject_rbl_client ix.dnsbl.manitu.net, 
reject_rbl_client bl.spamcop.net,        reject_rbl_client 
zen.spamhaus.org,        check_recipient_access 
hash:/etc/postfix/recipients,
smtpd_restriction_classes = nopolicyweight_restriction
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = ldap:/etc/postfix/loginmaps.cf
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_soft_error_limit = 1
smtpd_tls_CAfile = /etc/ssl/certs/RapidSSL_CA_bundle.pem
smtpd_tls_cert_file = /etc/ssl/certs/ae-online.de.crt
smtpd_tls_key_file = /etc/ssl/certs/ae-online.de.key
smtpd_use_tls = yes
strict_8bitmime = no
strict_rfc821_envelopes = yes
transport_maps = hash:/etc/postfix/transport, 
proxy:ldap:/etc/postfix/relay_domains_dovecot.cf
unknown_address_reject_code = 554
unknown_client_reject_code = 550
unknown_hostname_reject_code = 450
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:ldap:/etc/postfix/virtual_alias_maps.cf, 
proxy:ldap:/etc/postfix/vacation_relay.cf

-- 
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
ae at ae-online.de | www.ae-online.de
www.parcelchecker.de | www.tachyon-online.de



Mehr Informationen über die Mailingliste Postfixbuch-users