6 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] postfix virtual_mailb...
FromSent OnAttachments
Alex ChekholkoAug 5, 2007 9:34 pm 
Tony EarnshawAug 5, 2007 10:17 pm 
Tony EarnshawAug 5, 2007 11:53 pm 
Alex ChekholkoAug 6, 2007 7:40 pm 
Tony EarnshawAug 6, 2007 9:47 pm 
Devin RubiaAug 7, 2007 7:58 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] postfix virtual_mailbox_maps?Actions...
From:Tony Earnshaw (ton@hetnet.nl)
Date:Aug 5, 2007 10:17:03 pm
List:net.sourceforge.lists.courier-maildrop

Alex Chekholko skrev, on 06-08-2007 06:34:

How exactly does one configure maildrop to know the mappings specified in the postfix virtual_mailbox_maps file? I followed the postfix+maildrop howto:

http://www.postfix.org/MAILDROP_README.html

Don't! Don't configure virtual maidirs in Postfix. Have Postfix hand off to maildrop in master.cf:

maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -w 80 -d ${user} ${sender} ${recipient} ${extension} ${user}

Keep

maildrop_destination_recipient_limit = 1 maildrop_destination_concurrency_limit = 1

in main.cf

Instead of vmail use your own global, virtual user.

Configure Courier authlib to support virtual maildirs and a virtual, global user. Here's an example for ldap; if you're using pam, SQL or userdb your configuration will be different:

LDAP_URI ldapi://%2fvar%2frun%2fslapd%2fldapi/, ldap://oikos.leerlingen/ LDAP_PROTOCOL_VERSION 3 LDAP_BASEDN dc=school,dc=nl LDAP_BINDDN cn=proxy,dc=barlaeus,dc=nl LDAP_BINDPW password LDAP_TIMEOUT 5 LDAP_MAIL uid LDAP_FILTER (accountStatus=active) LDAP_GLOB_UID vmail LDAP_GLOB_GID vmail LDAP_HOMEDIR mailMessageStore LDAP_MAILDIR mailMessageStore LDAP_DEFAULTDELIVERY defaultDelivery LDAP_MAILDIRQUOTA quota LDAP_FULLNAME gecos LDAP_CLEARPW userPassword LDAP_CRYPTPW userPassword LDAP_DEREF never LDAP_TLS 0

Check with 'authtest name password' when you've configured this and restarted courier-authlib ('man authtest'). Best,

--Tonni