Re: [Dovecot] Quota 1.1 problem
Solved. I changed the user_attrs and could set user quota. user_attrs = mailMessageStore=home,qmailUID=uid,qmailGID=gid,mailQuotaSize=quota_rule=*:bytes On Wed, 2008-01-16 at 17:52 -0200, Raphael Bittencourt S. Costa wrote: > Helo all, > > I'm trying to use Dovecot v1.1.beta13 lda with ldap. I made a tons of > change in configurations but still can't set quota from ldap. See > below: > > Log: > Jan 16 17:37:09 mailserver-03 dovecot: auth(default): > userdb([EMAIL PROTECTED],127.0.0.1): Invalid GID value '*:bytes=1033' > > > dovecot-ldap.conf: > user_attrs = > mailMessageStore=home,qmailUID=uid,qmailGID=gid,mailQuotaSize=quota_rule=*:bytes=%$ > > ldap: > dn: cn=teste,ou=xxx.com.br,ou=accounts > mailHostAddress: 10.0.149.3 > userPassword:: e1NIQX1kNXFTUFdteTRISjBleEdYVzZocFNkNFdjRGM9 > mailQuotaSize: 10485760 > deliveryMode: nombox > objectClass: top > objectClass: person > objectClass: organizationalPerson > objectClass: inetOrgPerson > objectClass: qmailUser > accountStatus: active > cn: teste > qmailGID: 1033 > qmailUID: 1033 > mail: [EMAIL PROTECTED] > mailMessageStore: /data/services/dominios/xxx.com.br/t/te/teste/ > uid: [EMAIL PROTECTED] > sn: teste > mailHost: mailserver03.xxx.com.br > > []s, > > Raphael Costa Atenciosamente, Raphael Bittencourt S. Costa Engenharia --- ALOG Data Centers do Brasil Excelência em Projetos de Hosting R Voluntários da Pátria 360 - RJ - CEP 22270-010 Telefone: 21 3083-3364 - Fax: 21 3083-3300 http://www.alog.com.br <> signature.asc Description: This is a digitally signed message part
[Dovecot] Patch for seg fault in 1.0.10
Hi SELECTING a non-existent folder in 1.0.10 with maildir causes a seg fault and client disconnect. I believe this patch fixes the problem. zlib-plugin.c.patch Description: application/applefile zlib-plugin.c.patch Description: Binary data
[Dovecot] Out of the box: Thank you!
I've just enabled IMAP quota support on a LDAP userbase in about an hour. In this hour I read the Dovecot documentation on quota support, extended the customers LDAP schema, added a "mailQuota"-attribute and a value to all users, enabled the plugin in dovecot.conf, added the attribute query in dovecot-ldap.conf, reloaded the system and tested the functionality and ... everything worked out of the box. Thank you Timo! [EMAIL PROTECTED] -- state of mind Agentur für Kommunikation, Design und Softwareentwicklung Patrick KoetterTel: 089 45227227 Echinger Strasse 3 Fax: 089 45227226 85386 Eching Web: http://www.state-of-mind.de Amtsgericht MünchenPartnerschaftsregister PR 563
Re: [Dovecot] Need help to install dovecot on solaris 10 with openldap libs
WARNING: The following advice has not been specifically tested, because I do not actually run Dovecot on Solaris. It is based on my experience with building other open source software on Solaris. At 1:45 AM -0800 1/17/08, Dovecot Jami wrote: Hi, I install dovecot with ldap support at Solaris 10 (x86). I know that solaris LDAP is broken and so I install openldap. OpenLDAP shared libraries are at /usr/local/lib and /usr/local/include. While installing dovecot, I did the followings: I execute this before run "./configure --with-ldap" LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib -R/usr/local/lib" Why are you including the Berkeley directories? but dovecot is using the Solaris default LDAP lib files. I also run LDFLAGS="-R/usr/local/lib" and LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib /usr/local/lib/libldap-2.3.so.0 " But dovecot is still using solaris ldap libs. The configure script probably did not see the LDFLAGS variable because it was not in the configure command line and were not exported. Also, it is not clear from your message whether you did everything necessary to remove your earlier build of Dovecot. That should include: make distclean This removes all of the linked binaries, intermediate compiled objects, makefiles, and build configuration files in your Dovecot source directory that may have been created by previous attempts to configure and build the software. You need this to be absolutely sure that anything made using the previous build config is gone. CPPFLAGS=-I/usr/local/include \ LDFLAGS='-L/usr/local/lib -R/usr/local/lib' \ ./configure --with-ldap NOTE THE TRAILING BACKSLASHES ON THE FIRST TWO LINES. You can either use those to escape the linebreaks from the shell or you can enter all three of the lines shown in one unbroken line. It should also work to set the flag variables and export them, but that could result in unwanted side-effects later. Setting the variables ahead of ./configure makes the shell pass them in the environment, and configure also supports doing the assignments as arguments to the script itself. If configure is seeing OpenLDAP, its output will include these lines: checking for ldap_init in -lldap... yes checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking for ldap_initialize in -lldap... yes checking for ldap_start_tls_s in -lldap... yes NOTE: That is not conclusive proof that you ARE looking at OpenLDAP, but if those are not all 'yes' then you definitely are NOT. make That will do the build, leaving the various Dovecot binaries in subdirectories of src (e.g. src/suth/dovecot-auth) Those can be examined with ldd. If all is well, you can install with: make install That will install the binaries where they need to be. -- Bill Cole [EMAIL PROTECTED]
[Dovecot] Problem with Quotas
Hi, I am using dovecot 1.0.10 and using passwd-file as userdb. I have enabled quota plugin in /etc/dovecot.conf. Extra fields are added into userdb. user1:X:500:500:User1:/home/user1:/bin/bash:userdb_quota=maildir:storage=1024 Location of the inbox is /var/spool/mail/user1 I dont think this is working. The user already have 5MB in INBOX and if I send a new mail, it is being delivered. Do I need to change any settings? Thanks, Ranjith
[Dovecot] Error with 1.1 Beta
I am running the latest version of the 1.1 beta and just got the following error: Jan 17 06:20:13 apple dovecot: IMAP(jeff): rename(/home/jeff/Maildir/.Sent Items/dovecot.index.cache.lock, /home/jeff/Maildir/.Sent Items/dovecot.index.cache) failed: No such file or directory Jan 17 06:20:13 apple dovecot: IMAP(jeff): file_dotlock_replace() failed with index cache file /home/jeff/Maildir/.Sent Items/dovecot.index.cache: No such file or directory Is it something I should be concerned about? I had just sent an e-mail about 30 seconds before that one which did not give the error. I will see if I get the error again when I send this one. Jeff
[Dovecot] Converting from Maildir to dbox
Hi, How do i convert from Maildir to dbox using the convert plugin? My users reside in /home/user/Maildir. In the dovecot.conf file i've set up convert_mail = dbox:%h but I am not sure about the syntax. Im getting the error: Couldn't create mailbox directory INBOX Mailbox conversion failed, exiting Thanks -- Kjartan
Re: [Dovecot] convert plugin fails - drops root privileges then tries to create file in /
On 1/16/2008, Mikel Ward ([EMAIL PROTECTED]) wrote: I'm running dovecot-1.0-1.2.rc15.el5 on CentOS 5. This is old and pre-release... upgrade please...
[Dovecot] Postfix & Dovecot LDA
Hi, I was using Dovecot (POP3,IMAP+quotas) with postfix quota "addon". But the postfix's quotas were reported differently and the quota file gets messed up all the time. So now I have also Dovecot's LDA, and everything works like charm... but... Now postfix can pass only one mail at a time to LDA. And that slows down delivery. Postfix master file: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver -f ${sender} -d ${recipient} Is there a way to pass more than one mail at a time?
Re: [Dovecot] Deliver, sendmail, virtual users, and catch-all addresses
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 18 Dec 2007, Eric Loyd wrote: thought that it might work by adding @mydomain.com to virtusertable, but sendmail sees the "user not found" return from deliver as the MDA and bounces the mail to postmaster. Mail from [EMAIL PROTECTED] to [EMAIL PROTECTED] (invalid) Deliver to catchall - [EMAIL PROTECTED] How did you set up the catch all? I thought you specify a virtuser entry like: @mydomain.com spam then have a "real" spam account to drop the mail to. You can alias "spam" or whatever. Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHjyq2VJMDrex4hCIRAgtzAJ4h66NFVi5CuSdS+Vb+U4dsq3Z43gCfT46g DqJUjaxBloBXOcn1rnqLGTs= =meFP -END PGP SIGNATURE-
[Dovecot] Need help to install dovecot on solaris 10 with openldap libs
Hi, I install dovecot with ldap support at Solaris 10 (x86). I know that solaris LDAP is broken and so I install openldap. OpenLDAP shared libraries are at /usr/local/lib and /usr/local/include. While installing dovecot, I did the followings: I execute this before run "./configure --with-ldap" LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib -R/usr/local/lib" but dovecot is using the Solaris default LDAP lib files. I also run LDFLAGS="-R/usr/local/lib" and LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib /usr/local/lib/libldap-2.3.so.0 " But dovecot is still using solaris ldap libs. ldd /usr/local/libexec/dovecot/dovecot-auth libcrypt_i.so.1 => /usr/lib/libcrypt_i.so.1 libpam.so.1 => /lib/libpam.so.1 libldap.so.5 => /usr/lib/libldap.so.5 libsocket.so.1 =>/lib/libsocket.so.1 libnsl.so.1 => /lib/libnsl.so.1 librt.so.1 =>/lib/librt.so.1 libsendfile.so.1 => /lib/libsendfile.so.1 libc.so.1 => /lib/libc.so.1 libgen.so.1 => /lib/libgen.so.1 libcmd.so.1 => /lib/libcmd.so.1 libsasl.so.1 => /usr/lib/libsasl.so.1 libmd5.so.1 => /lib/libmd5.so.1 libnspr4.so => /usr/lib/mps/libnspr4.so libplc4.so =>/usr/lib/mps/libplc4.so libnss3.so =>/usr/lib/mps/libnss3.so libssl3.so =>/usr/lib/mps/libssl3.so libmp.so.2 =>/lib/libmp.so.2 libscf.so.1 => /lib/libscf.so.1 libaio.so.1 => /lib/libaio.so.1 libpthread.so.1 => /lib/libpthread.so.1 libthread.so.1 =>/lib/libthread.so.1 libdl.so.1 =>/lib/libdl.so.1 libsoftokn3.so =>/usr/lib/mps/libsoftokn3.so libplds4.so => /usr/lib/mps/libplds4.so libdoor.so.1 => /lib/libdoor.so.1 libuutil.so.1 => /lib/libuutil.so.1 libbsm.so.1 => /lib/libbsm.so.1 libsecdb.so.1 => /lib/libsecdb.so.1 libtsol.so.2 => /lib/libtsol.so.2 libm.so.2 => /lib/libm.so.2 Please help me to solve this problem. Mahmud Jami - Looking for last minute shopping deals? Find them fast with Yahoo! Search.
Re: [Dovecot] question about mysql authentication
On Wednesday 16 January 2008 18:39:56 Timo Sirainen wrote: > On Wed, 2008-01-16 at 18:33 +0100, Chantal Rosmuller wrote: > > On Wednesday 16 January 2008 17:32:33 you wrote: > > > On Wed, 2008-01-16 at 16:02 +0100, Chantal Rosmuller wrote: > > > > When I use this: > > > > > > Starting from dovecot-example.conf would have worked better than trying > > > to modify 0.99 configuration to work with v1.0. > > > > actually I got the configuration from a howto, maybe I should have looked > > at the example instead :) > > Yes, from a HOWTO written for v0.99.. > > > However now I get an error in the logfiles: > > auth(default): Error in configuration file /etc/dovecot-mysql.conf line > > 4: Unknown setting: db > > Is there something wrong with my mysql configuration as well? > > Yes, you have it also in 0.99 format. See the dovecot-sql-example.conf > included with v1.0 (sources at least) for how it's configured nowadays. Thanks a lot! It works now.