[postfix-users] virtuelle User und dovecot lmtp

Lars Täuber taeuber at bbaw.de
Mi Okt 26 14:11:35 CEST 2011


Hier habe ich mal ein anderes Thema.

Bisher hatten alle meine Mailserver Unix-Nutzer und »normale« Postfächer.

Nun kommt mein erster Mailserver drann, der fast nur noch virtuelle Nutzer
haben wird.
Aber ich bekomme das bisher nicht zum laufen.

Es gibt natürlich auch noch »normale« Nutzer. Aber genau die Mischung haut
nicht hin. Es scheint als wird die virtual_alias_maps nicht ausgewertet.

Auszüge aus postconf -n

alias_database = $alias_maps
alias_maps = hash:/etc/postfix/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
message_size_limit = 41943040
mydestination = localhost.$mydomain localhost $myorigin
myhostname = mailservername.bbaw.de
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104    [::1]/128    weitere
myorigin = bbaw.de
readme_directory = no
recipient_delimiter = +
relayhost = [anderermailserver.bbaw.de]
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_non_fqdn_sender    reject_unknown_sender_domain    reject_non_fqdn_recipient    reject_unknown_recipient_domain    reject_unauth_pipelining    reject_sender_login_mismatch    permit_mynetworks    permit_sasl_authenticated    reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = ldap:/etc/postfix/ldap-sender.cf
smtpd_sender_restrictions = reject_unknown_sender_domain
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/pem
smtpd_tls_key_file = /etc/ssl/private/key
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
tls_random_source = dev:/dev/urandom
unknown_address_reject_code = 554
unknown_client_reject_code = 550
unknown_hostname_reject_code = 554
unverified_sender_reject_code = 554
virtual_alias_maps = regexp:/etc/postfix/virtual_aliases
virtual_mailbox_domains = /etc/postfix/virtual_domains
virtual_mailbox_maps = ldap:/etc/postfix/ldap-mailboxes.cf
virtual_transport = lmtp:unix:private/dovecot-lmtp


Die maps funktionieren alle, wenn ich sie einzeln mit »postmap -q« abfrage.
Kann mir jemand auf die Sprünge helfen?

Danke
Lars


Mehr Informationen über die Mailingliste postfix-users