13 msgHOLD queue GUI
4 msgSpam being sent from our mail server
3 msgcatch-all mail address
4 msgsending mail is working but only local.
8 msg2 postfix boxes as frontservers for MS Exchange...
3 msgdelayed delivery
2 msglibspf2 and policyd
3 msgBypassing content_filter for trusted networks
8 msgChanging UUCP-Sytsle-Adresses to Domain-Style-A...
9 msgList of main.cf options
6 msg'too many errors after RSET' with Outlook

Virtual Users w/ LDAP and Authentication
\ James (24 Sep 2007)
. \ James (24 Sep 2007)

3 msgMultiple content filters?
2 msgI don't know what to make of this
3 msgPostfix and Dspam, point me in the right direct...
14 msgPostfix in base FreeBSD system
4 msgWeird 'Connection timed out while sending messa...
4 msgrewriting and redirecting incoming address
4 msgmaster.cf config question
7 msgLDAP smtpd_recipient_restrictions
Subject:Virtual Users w/ LDAP and Authentication
Group:Postfix-users
From:James
Date:24 Sep 2007


 
Hi guys i can't figure out how to get Virtual User Maps with LDAP to
authenticate users..
Trying to use dovecot for IMAP but i can't get it to authenticate
correctly... i dunno how postfix is even assigning passwords to virtual
users.
maybe i'm not getting the concept correctly or something.

Help is appreciated
TIA


Here's my main.cf
###########################################################
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
mydomain = jwindow.com
myhostname = localhost
mydestination = $myhostname
alias_database = hash:/etc/aliases, hash:/etc/postfix/aliases.mailman,
myorigin = /etc/mailname
relayhost =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
owner_request_special = no
mailman_destination_recipient_limit = 1
#local_recipient_maps = $alias_maps, ldap:/etc/postfix/ldap-users.cf
home_mailbox = Maildir/
mail_owner=postfix
virtual_transport = virtual
virtual_uid_maps = static:800
virtual_gid_maps = static:800
virtual_mailbox_base = /home/vmail/domains
virtual_mailbox_maps = ldap:/etc/postfix/ldap-mailboxes.cf
virtual_mailbox_domains = ldap:/etc/postfix/ldap-domains.cf
virtual_alias_maps = hash:/etc/aliases,
hash:/etc/postfix/aliases.mailman, ldap:/etc/postfix/ldap-groups.cf,
ldap:/etc/postfix/ldap-groups1.cf,
relay_domains = localhost


ldap-mailboxes.cf
######################################################################
bind = no
version = 3
server_host = ldap://localhost
scope = sub
search_base = ou=People,dc=example,dc=com
query_filter = mail=%s
result_attribute = uid
result_format = %s/Maildir/

lda-domains.cf
#####################################################################
bind = no
version = 3
server_host = ldap://localhost
scope = sub
search_base = ou=domains,dc=example,dc=com
query_filter = rfc822MailMember=%s
result_attribute = rfc822MailMember



© 2004-2008 readlist.com