Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
sogodovecotldapandgroups [2011/07/07 11:27] – Correct link markup jimsogodovecotldapandgroups [2016/02/02 22:08] – Add blank line. jim
Line 37: Line 37:
 So in Dovecot configuration I set up a post-login script: So in Dovecot configuration I set up a post-login script:
  
-  service imap { +<code> 
-    executable = imap imap-postlogin +service imap { 
-  +  executable = imap imap-postlogin 
-  service imap-postlogin { +
-    # all post-login scripts are executed via script-login binary + 
-    executable = script-login -d /etc/dovecot/acl_groups.py+service imap-postlogin { 
 +  # all post-login scripts are executed via script-login binary 
 +  executable = script-login -d /etc/dovecot/acl_groups.py
  
-    # the script process runs as the user specified here (v2.0.14+): +  # the script process runs as the user specified here (v2.0.14+): 
-    user = $default_internal_user +  user = $default_internal_user 
-    # this UNIX socket listener must use the same name as given to imap executable +   
-    unix_listener imap-postlogin { +  # this UNIX socket listener must use the same name as given to imap executable 
-    }+  unix_listener imap-postlogin {
   }   }
 +}
 +</code>
      
 We currently have ''Maildir''s in the users home directory. ''script-login -d'' runs the after login ''imap'' process as the user. The script ''acl_groups.py'' fishes out the group memberships from LDAP, sets up ''ACL_GROUPS'' and chains to the rest of the IMAP session. Dovecot passes the location of the program to run for the rest of the session on the command line. We currently have ''Maildir''s in the users home directory. ''script-login -d'' runs the after login ''imap'' process as the user. The script ''acl_groups.py'' fishes out the group memberships from LDAP, sets up ''ACL_GROUPS'' and chains to the rest of the IMAP session. Dovecot passes the location of the program to run for the rest of the session on the command line.
 
sogodovecotldapandgroups.txt · Last modified: 2016/02/05 12:44 by jim
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0