What are these lines for?

> passdb {
>   driver = pam
> }

> userdb {
>   driver = passed
> }


Martin Šimovič

NETSON s.r.o.
Mlynská 1/2338
934 01 Levice
tel: +421 915 393 570
mail: mar...@netson.sk



On 27 May 2014, at 17:58, marco ardito <ard...@apiform.to.it> wrote:

> Il 27/05/2014 17:11, heupink ha scritto:
>> 
>>> is acting slow, or else? 
>> is there any "benchmark" (ie: timed command) I can issue to test if ldap 
>> Sogo.log tells you for many commands how long they took to complete. And I 
>> don't think a slower ldap would 'slow down' your imap folders. 
>> 
>> MJ 
> 
> Thx all :D
> 
> Sogo.log 
> ========
> here are last lines whan switching from Inbox to Trash...
> 192.168.3.22 - - [27/May/2014:17:47:44 GMT] "POST 
> /SOGo/so/ardito/Mail//0/folderINBOX/uids HTTP/1.1" 200 28/46 2.648 - - 0
> 192.168.3.22 - - [27/May/2014:17:47:52 GMT] "POST 
> /SOGo/so/ardito/Mail/0/folderTrash/unseenCount HTTP/1.1" 200 13/0 2.085 - - 0
> 192.168.3.22 - - [27/May/2014:17:47:52 GMT] "POST 
> /SOGo/so/ardito/Mail//0/folderTrash/uids HTTP/1.1" 200 386/28 2.127 1124 65% 0
> 
> Are those float near the line end, seconds? Because that could likely be the 
> lag I experiment...2-3 seconds. need more lines?
> 
> Then, here some conf files I have atm (keep in mind that is just a test 
> install, lots of details are just tests. and I disabled any SSL I found, for 
> now)
> 
> /etc/dovecot/local.conf: 
> ====================
> disable_plaintext_auth = no
> log_path = /var/log/dovecot.message
> log_timestamp = "%Y-%m-%d %H:%M:%S "
> mail_location = maildir:/var/mail/%u
> mail_privileged_group = mail
> mail_uid = vmail
> mail_gid = vmail
> auth_cache_size=5 M
> auth_cache_ttl=3600
> passdb {
>   args = /etc/dovecot/dovecot-ldap.conf
>   driver = ldap
> }
> passdb {
>   driver = pam
> }
> protocols = imap
> service auth {
>   unix_listener auth-master {
>     group = vmail
>     mode = 0600
>     user = vmail
>   }
>   unix_listener auth-userdb {
>     user = vmail
>   }
>   user = root
> }
> userdb {
>   args = /etc/dovecot/dovecot-ldap.conf
>   driver = ldap
> }
> userdb {
>   driver = passwd
> }
> protocol lda {
>   hostname = oc.local
>   log_path = /var/log/dovecot.message
>   postmaster_address = postmaster@oc.local
> }
> 
> protocol pop3 {
>   pop3_uidl_format = %08Xu%08Xv
> }
> 
> /etc/dovecot/dovecot-ldap.conf (setup "B", eg: local openldap)
> ===================================================
> uris = ldap://localhost:389
> dn = cn=admin,dc=oc,dc=local
> dnpass = openchange
> tls = no
> ldap_version = 3
> base = dc=oc,dc=local
> scope = subtree
> user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid
> user_filter = (uid=%u)
> pass_attrs = uid=user,userPassword=password
> pass_filter = (uid=%u)
> 
> apache (/etc/apache2/conf.d/SOGo.conf)
> ==================================
> Alias /SOGo.woa/WebServerResources/ \
>       /usr/lib/GNUstep/SOGo/WebServerResources/
> Alias /SOGo/WebServerResources/ \
>       /usr/lib/GNUstep/SOGo/WebServerResources/
> 
> <Directory /usr/lib/GNUstep/SOGo/>
>     AllowOverride None
>     Order deny,allow
>     Allow from all
> 
>     # Explicitly allow caching of static content to avoid browser specific 
> behavior.
>     # A resource's URL MUST change in order to have the client load the new 
> version.
>     <IfModule expires_module>
>       ExpiresActive On
>       ExpiresDefault "access plus 1 year"
>     </IfModule>
> </Directory>
> 
> ## Uncomment the following to enable proxy-side authentication, you will then
> ## need to set the "SOGoTrustProxyAuthentication" SOGo user default to YES and
> ## adjust the "x-webobjects-remote-user" proxy header in the "Proxy" section
> ## below.
> #<Location /SOGo>
> #  AuthType XXX
> #  Require valid-user
> #  SetEnv proxy-nokeepalive 1
> #  Allow from all
> #</Location>
> 
> ProxyRequests Off
> SetEnv proxy-nokeepalive 1
> ProxyPreserveHost On
> 
> # When using CAS, you should uncomment this and install cas-proxy-validate.py
> # in /usr/lib/cgi-bin to reduce server overloading
> #
> # ProxyPass /SOGo/casProxy http://localhost/cgi-bin/cas-proxy-validate.py
> # <Proxy http://localhost/app/cas-proxy-validate.py>
> #   Order deny,allow
> #   Allow from your-cas-host-addr
> # </Proxy>
> 
> ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0
> 
> # Enable to use Microsoft ActiveSync support
> # Note that you MUST have many sogod workers to use ActiveSync.
> # See the SOGo Installation and Configuration guide for more details.
> #
> #ProxyPass /Microsoft-Server-ActiveSync \
> # http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync \
> # retry=60 connectiontimeout=5 timeout=360
> 
> <Proxy http://127.0.0.1:20000/SOGo>
> ## adjust the following to your configuration
> #  RequestHeader set "x-webobjects-server-port" "443"
> #  RequestHeader set "x-webobjects-server-name" "192.168.3.10"
> #  RequestHeader set "x-webobjects-server-url" "https://192.168.3.10";
>   RequestHeader set "x-webobjects-server-port" "80"
>   RequestHeader set "x-webobjects-server-name" "192.168.3.10"
>   RequestHeader set "x-webobjects-server-url" "http://192.168.3.10";
> 
> ## When using proxy-side autentication, you need to uncomment and
> ## adjust the following line:
> #  RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e"
> 
>   RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
> 
>   AddDefaultCharset UTF-8
> 
>   Order allow,deny
>   Allow from all
> </Proxy>
> 
> # For Apple autoconfiguration
> <IfModule rewrite_module>
>   RewriteEngine On
>   RewriteRule ^/.well-known/caldav/?$ /SOGo/dav [R=301]
> </IfModule>
> 
> 
> That's it for now 
> > btw I'm utc+2 - I can answer only tomorrow... :))
> 
> -- 
> Marco 
> 
> ------------------- [Ai sensi e per gli effetti della Legge sulla tutela 
> della privacy (L. 196/2003), questa mail è destinata unicamente alle persone 
> sopra indicate e le informazioni in essa contenute sono da considerarsi 
> strettamente riservate. E' proibito leggere, copiare, usare o diffondere il 
> contenuto della presente mail senza autorizzazione. Se avete ricevuto questo 
> messaggio per errore, siete pregati di rispedire la stessa al mittente. 
> Grazie]

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to