Re: LDAP and dovecot

2014-09-26 Thread Dave Ryan
Thank you all for your assistance. I was able to locate another web site that mentioned I needed to compile dovecot with my openldap libraries. I then compiled dovecot in the following manner: CPPFLAGS=-I/usr/local/openldap/include \ LDFLAGS='-L/usr/local/openldap/lib

Re: LDAP and dovecot

2014-09-22 Thread dovecot
} } ssl_cert = /dovecot/certs/dovecot.pem ssl_key = /dovecot/certs/dovecot.key ssl_prefer_server_ciphers = yes userdb { args = /dovecot/etc/dovecot/conf.d/ldap.settings driver = ldap } /dovecot/etc/dovecot/conf.d/ldap.settings hosts = ldap.outputservices.com tls = no auth_bind = yes ldap_version = 3

Re: LDAP and dovecot

2014-09-20 Thread Remko Lodder
On 19 Sep 2014, at 23:31, dove...@outputservices.com wrote: I am sorry. I am NOW able to authenticate to my ldap server. Thank you all. So what changed, for the records :) Remko -- /\ Best regards, | re...@freebsd.org \ / Remko Lodder |

Re: LDAP and dovecot

2014-09-19 Thread dovecot
I was able to decipher the error after looking at some other web pages. I found I have to compile using the openldap libraries instead of the default Solaris ldap libraries. I compiled using the following: LDFLAGS='-L/usr/local/openldap/lib -R/usr/local/openldap/lib' \ ./configure

Re: LDAP and dovecot

2014-09-19 Thread dovecot
I am sorry. I am NOW able to authenticate to my ldap server. Thank you all.

LDAP and dovecot

2014-09-18 Thread dovecot
. We will get real SSL certificates once everything is operational. * I compiled dovecot with the following command: ./configure --prefix=/usr/local/tools/dovecot --with-ssl=openssl --with-solr --with-zlib --with-bzlib --with-ldap=yes --- dovecot

Re: LDAP and dovecot

2014-09-18 Thread Philipp
Am 18.09.2014 22:06 schrieb dove...@outputservices.com: /dovecot/etc/dovecot/tests/ldap.settings hosts = ldap.outputservices.com tls = no ldap_version = 3 base = dc=ldap,dc=outputservices,dc=com --- This will likely also need later on: scope = subtree

Re: [Dovecot] sieve against ldap in Dovecot 1.2 vacation messeage

2012-04-22 Thread Dennis Guhl
here: http://wiki.dovecot.org/LDA/Sieve and here: http://wiki.dovecot.org/LDA/Sieve/Dovecot [..] The principal idea is keep the control the message by user with LDAP and Dovecot(IMAP). without touching the postfix configuration file is that possible, or am I dreaming. What

[Dovecot] sieve against ldap in Dovecot 1.2 vacation messeage

2012-04-20 Thread Victor Oñate
Hi. I need configure sieve against ldap this is my file configuration dovecot.conf plugin { quota = dirsize:user sieve_dir = ~/sieve } protocol lda { mail_plugins = sieve } auth default { mechanisms = plain passdb pam { } userdb ldap { args = /etc/dovecot/dovecot-ldap.conf

Re: [Dovecot] Mail_quota plugin and LDAP on Dovecot 1.2

2011-11-20 Thread Victor
Thank a lot, your were completely in the truth Victor Onate

Re: [Dovecot] Mail_quota plugin and LDAP on Dovecot 1.2

2011-11-18 Thread Timo Sirainen
On Thu, 2011-11-17 at 22:54 -0430, Victor wrote: the quota_imap plugin not working when I use against MailquotaSize Attribute of LDAP users. this setup works perfectly on lenny and dovecot-imapd 1:1.0.15-2.3 but on squeeze dovecot-imad 1:1.2.15-7 doesn't work, the service is up, but

[Dovecot] Mail_quota plugin and LDAP on Dovecot 1.2

2011-11-17 Thread Victor
= quota } userdb ldap { args = /etc/dovecot/dovecot-ldap.conf } the configuration in dovecot-ldap.conf below uris = ldap://server-ldap.com.ve auth_bind = yes ldap_version = 3 base = dc=dominio,dc=com,dc=uk deref = never scope = subtree user_attrs = homeDirectory=home,uidNumber=uid

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-27 Thread Camron W. Fox
On 10/10/19 08:01, Timo Sirainen wrote: No. The username is sent another way to deliver. Anyway, I think -d $RECIPIENT is the right way. Timo, I modified the mailbox command in /etc/postfix/main.cf: mailbox_command = /usr/libexec/dovecot/deliver -d ${recipient} This causes

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-27 Thread Timo Sirainen
On 27.10.2010, at 21.11, Camron W. Fox wrote: mailbox_command = /usr/libexec/dovecot/deliver -d ${recipient} This causes postfix to bounce the message with this error: Oct 27 09:06:57 rb8 postfix/local[1931]: A99494E0D25: to=loadt...@subaru.naoj.org, relay=local, delay=10,

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-27 Thread Jerry
On Wed, 27 Oct 2010 09:11:02 -1000 Camron W. Fox cw...@us.fujitsu.com articulated: On 10/10/19 08:01, Timo Sirainen wrote: No. The username is sent another way to deliver. Anyway, I think -d $RECIPIENT is the right way. Timo, I modified the mailbox command in

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-27 Thread Camron W. Fox
On 10/10/27 09:56, Jerry wrote: On Wed, 27 Oct 2010 09:11:02 -1000 Camron W. Fox cw...@us.fujitsu.com articulated: On 10/10/19 08:01, Timo Sirainen wrote: No. The username is sent another way to deliver. Anyway, I think -d $RECIPIENT is the right way. Timo, I modified the mailbox

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-19 Thread Timo Sirainen
On Mon, 2010-10-18 at 13:09 -1000, Camron W. Fox wrote: Looking at the logs, it appears that it must already be using -d $user because of the username shown in the deliver lines in dovecot.log, right? No. The username is sent another way to deliver. Anyway, I think -d $RECIPIENT is

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-18 Thread Timo Sirainen
On Fri, 2010-10-15 at 09:29 -1000, Camron W. Fox wrote: Once again, dovecot-imap seems to read the info correctly, as the TBird plugin reads 20MB as the user quota, but deliver begins to reject mail at the 10MB default. Also, the quota warning messages are sent base on the default,

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-18 Thread Camron W. Fox
On 10/10/18 04:15, Timo Sirainen wrote: On Fri, 2010-10-15 at 09:29 -1000, Camron W. Fox wrote: Once again, dovecot-imap seems to read the info correctly, as the TBird plugin reads 20MB as the user quota, but deliver begins to reject mail at the 10MB default. Also, the quota warning

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-18 Thread Timo Sirainen
On 18.10.2010, at 20.42, Camron W. Fox wrote: You're not calling deliver with -d parameter? No. Did I miss that in the documentation? Where is that configured? This is what I have in postfix main.cf: mailbox_command = /usr/libexec/dovecot/deliver Often that's done with system users

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-18 Thread Camron W. Fox
On 10/10/18 11:28, Timo Sirainen wrote: On 18.10.2010, at 20.42, Camron W. Fox wrote: You're not calling deliver with -d parameter? No. Did I miss that in the documentation? Where is that configured? This is what I have in postfix main.cf: mailbox_command =

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-15 Thread Camron W. Fox
delay-newmail } auth default { mechanisms = plain passdb ldap { args = /etc/dovecot-ldap.conf } userdb ldap { args = /etc/dovecot-ldap.conf } user = nobody count = 1 socket listen { master { path = /var/run/dovecot/auth-master mode = 0666 } client

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-10 Thread Timo Sirainen
On 7.10.2010, at 22.12, Camron W. Fox wrote: Dovecot-imap appear to recognize the quota from ldap, as the Thunderbird quota plugin reads the correct info from LDAP if the mailQuotaSize entry exists, and the default storage=10240 from doveconf.conf if there is no LDAP attr. ok, so

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-08 Thread Camron W. Fox
On 10/10/07 10:08, Charles Marcus wrote: On 2010-10-07 3:38 PM, Camron W. Fox wrote: If we upgrade, then we lose RH support for any future dovecot issues (not that they're being particularly helpful with this issue). Personally I think you'd get much higher quality support for free right

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-08 Thread Camron W. Fox
On 10/10/08 08:59, Charles Marcus wrote: On 2010-10-08 2:10 PM, Camron W. Fox wrote: I started poking @ 1.2 as you suggested, but I run into libcurl-devel dependency issues. Does anyone know where to get a libcurl-devel RPM for RHEL5? I'd think you could get everything you needed from the

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-08 Thread Aliet Santiesteban Sifontes
Camron, if you look in the downloads link at dovecot site, you can can check: http://wiki2.dovecot.org/PrebuiltBinaries#RPMs_of_newer_Dovecot_and_Sieve_packages There you will find references to third party repositories wich build latest dovecot rpm versions for rhel5.5. If you will use atrpms

[Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-07 Thread Camron W. Fox
in /etc/doveconf.conf: userdb ldap { args = /etc/dovecot-ldap.conf } and the following user_attrs defined in /etc/dovecot-ldap.conf user_attrs = uidNumber=uid,gidNumber=gid,mailQuotaSize=quota=maildir:ignore=Trash:storage,mail_plugins The user's quota setting is: dn: uid

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-07 Thread Charles Marcus
On 2010-10-07 3:12 PM, Camron W. Fox wrote: We're running Dovecot V1.0.7 on RHEL5.5, Very old, you will not get much support unless/until you upgrade... 1.2.15 is recommended for most, although 2.0.5 is current stable... Lots of changes with respect to quotas (and everything else)... -- Best

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-07 Thread Camron W. Fox
On 10/10/07 09:17, Charles Marcus wrote: On 2010-10-07 3:12 PM, Camron W. Fox wrote: We're running Dovecot V1.0.7 on RHEL5.5, Very old, you will not get much support unless/until you upgrade... 1.2.15 is recommended for most, although 2.0.5 is current stable... Lots of changes with

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-07 Thread William Blunn
On 07/10/2010 20:38, Camron W. Fox wrote: If we upgrade, then we lose RH support for any future dovecot issues And if you don't upgrade, you don't get any support from the guy who wrote Dovecot and therefore knows it inside-out :-) I tend to suggest the practice of: Keep your server on

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-07 Thread Charles Marcus
On 2010-10-07 3:38 PM, Camron W. Fox wrote: If we upgrade, then we lose RH support for any future dovecot issues (not that they're being particularly helpful with this issue). Personally I think you'd get much higher quality support for free right here from the developer himself... But of

Re: [Dovecot] Per User Quotas with LDAP on Dovecot 1.x

2010-10-07 Thread Camron W. Fox
On 10/10/07 10:08, Charles Marcus wrote: On 2010-10-07 3:38 PM, Camron W. Fox wrote: If we upgrade, then we lose RH support for any future dovecot issues (not that they're being particularly helpful with this issue). Personally I think you'd get much higher quality support for free right

Re: [Dovecot] ldap quota dovecot

2009-10-14 Thread Peter Fraser
HI All I'm having this exact problem but I call deliver this way in Postfix virtual_transport = dovecot mailbox_transport = dovecot Should I remove these and use the mailbox_command directive instead as you suggested? or is there a mailbox_transport alternative? On Mon, Sep 28, 2009 at 4:26 PM,

Re: [Dovecot] ldap quota dovecot

2009-09-30 Thread Mathieu BALCERAK
Timo Sirainen a écrit : On Mon, 2009-09-28 at 23:20 +0200, Mathieu BALCERAK wrote: Timo Sirainen a écrit : On Sun, 2009-09-27 at 16:26 +0200, Mathieu BALCERAK wrote: I have the same issue, when i upgrade to 1.2.5 the quota per user work only if i remove the directive

Re: [Dovecot] ldap quota dovecot

2009-09-28 Thread Timo Sirainen
On Sun, 2009-09-27 at 16:26 +0200, Mathieu BALCERAK wrote: I have the same issue, when i upgrade to 1.2.5 the quota per user work only if i remove the directive quota_rule=*:storage=2G I set this rules as default for all my users except for 3 users. The imap_quota report perfectly the quota

Re: [Dovecot] ldap quota dovecot

2009-09-28 Thread Mathieu BALCERAK
Timo Sirainen a écrit : On Sun, 2009-09-27 at 16:26 +0200, Mathieu BALCERAK wrote: I have the same issue, when i upgrade to 1.2.5 the quota per user work only if i remove the directive quota_rule=*:storage=2G I set this rules as default for all my users except for 3 users. The imap_quota

Re: [Dovecot] ldap quota dovecot

2009-09-28 Thread Timo Sirainen
On Mon, 2009-09-28 at 23:20 +0200, Mathieu BALCERAK wrote: Timo Sirainen a écrit : On Sun, 2009-09-27 at 16:26 +0200, Mathieu BALCERAK wrote: I have the same issue, when i upgrade to 1.2.5 the quota per user work only if i remove the directive quota_rule=*:storage=2G I set this

Re: [Dovecot] ldap quota dovecot

2009-09-27 Thread Mathieu BALCERAK
/imap mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve lda: postmaster_address: m...@mydomain.com mail_plugins: sieve quota auth default: mechanisms: plain login passdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf userdb: driver: prefetch userdb: driver

Re: [Dovecot] ldap quota dovecot

2009-09-27 Thread Mathieu BALCERAK
/imap mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve lda: postmaster_address: m...@mydomain.com mail_plugins: sieve quota auth default: mechanisms: plain login passdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf userdb: driver: prefetch userdb: driver

Re: [Dovecot] ldap quota dovecot

2009-09-14 Thread Justinas Samas
thanks, with dovecot 1.2.5 everything works perfectly! On Mon, Sep 14, 2009 at 3:46 AM, Timo Sirainen t...@iki.fi wrote: On Thu, 2009-09-10 at 12:55 +0300, Justinas Samas wrote: user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid,telephoneNumber=quota_rule=*:storage=%$M .. Imap

Re: [Dovecot] ldap quota dovecot

2009-09-13 Thread Timo Sirainen
On Thu, 2009-09-10 at 12:55 +0300, Justinas Samas wrote: user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid,telephoneNumber=quota_rule=*:storage=%$M .. Imap shows correct quota, but dovecot lda doesn't reject mail and it gets overquota, maildirsize: I guess this is caused by two

[Dovecot] ldap quota dovecot

2009-09-10 Thread Justinas Samas
): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh pop3_client_workarounds(managesieve): lda: postmaster_address: postmas...@example.com mail_plugins: quota sieve auth_socket_path: /var/run/dovecot/auth-master auth default: debug: yes passdb: driver: ldap args: /etc/dovecot-ldap.conf

Re: [Dovecot] Using LDAP for Dovecot extra/regular fields

2009-03-13 Thread Jack Stewart
Just to answer some of my own questions and close the loop in case anyone sees this message down the road. All of it makes sense when you consider SQL and the implications. With a multivalue attribute, the last value is returned. There is no host failure, which is likely a good thing when

Re: [Dovecot] Using LDAP for Dovecot extra/regular fields

2009-03-13 Thread Timo Sirainen
On Fri, 2009-03-13 at 13:05 -0700, Jack Stewart wrote: With a multivalue attribute, the last value is returned. Currently, but I don't think you should rely on this. Also in situations where multiple values make sense Dovecot might do something special in future. If the host attribute exists

[Dovecot] Using LDAP for Dovecot extra/regular fields

2009-03-08 Thread Jack Stewart
Hi, We're moving to a dovecot proxy / server configuration in order to make sure that a users go to a specific server. If someone has used these LDAP for this, there are a few things that I wish to verify. Dovecot does not verify that type of the LDAP attribute, only that the returned

Re: [Dovecot] [Help] quota_rule with LDAP backend, dovecot-1.1.1

2008-07-20 Thread Timo Sirainen
On Fri, 2008-07-04 at 11:03 +0800, Zhang Huangbin wrote: 8 mailQuota: 10 # - 10M 8 It's still 10 there. My dovecot-ldap.conf: 8 user_attrs = homeDirectory=home,mailMessageStore=maildir:mail,mailQuota=quota_rule=*:bytes=%$ 8 Here you tell Dovecot to

[Dovecot] [Help] quota_rule with LDAP backend, dovecot-1.1.1

2008-07-03 Thread Zhang Huangbin
Hi, all. I use dovecot-1.1.1 with OpenLDAP as userdb. but i failed to convert quota value as expect. I set '10' as mail quota, and it should be '10M' as expect, but it's not effect, dovecot always uses 'quota_rule' setting in dovecot.conf. How can i fix this issue? 10*1047576? I have