[Dovecot] returned error 83 (Out of memory)

2010-04-21 Thread J Contad
Hello! I've setup dovecot a few months ago, and it was working pretty swimmingly. Then, out of nowhere, we started getting this error: Apr 21 19:15:17 IMAP(x...@xxx.com): Fatal: block_alloc(1073741824): Out of memory Apr 21 19:15:17 IMAP(x...@xxx.com): Error: Raw backtrace: imap [0x49e5e0] -> ima

Re: [Dovecot] imap-zlib patch to fix runaway imap process

2010-04-21 Thread Scott Ellis
On 4/20/2010 5:19 PM, Mike Abbott wrote: Here is a patch to fix the problem where an imap process runs away when imap-zlib is in use. The backtrace showed: [snip] The patch seems to be working great on my NetBSD/amd64 system. Thanks for figuring it out Mike! ScottE

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Curtis Maloney
On 04/22/10 00:58, Peter Hessler wrote: postfix: smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth dovecot: auth default { socket listen { client { path = /var/spool/postfix/private/auth user = _postfix group = wheel mode = 0660 } } } Then c

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Heiko Schlittermann
Hello Phil, Phil Howard (Mi 21 Apr 2010 16:32:36 CEST): > I'm setting up a Postfix and Dovecot combination. What I want to do is have > a user database that (1) is not running from some engine (so not LDAP or SQL > or such) ... and (2) is completely disassociated from system users (e.g. > most e

Re: [Dovecot] Quota Issue

2010-04-21 Thread Peter Fraser
Ok this is an update. The quota has been refreshed now. Any ideas why it takes so long though? It wasn't refreshed until almost an hour later. On Wed, Apr 21, 2010 at 3:51 PM, Peter Fraser wrote: > He used Thunderbird to delete them. I checked and they were deleted, > not just flagged. > > > On W

Re: [Dovecot] Quota Issue

2010-04-21 Thread Peter Fraser
He used Thunderbird to delete them. I checked and they were deleted, not just flagged. On Wed, Apr 21, 2010 at 3:36 PM, Charles Marcus wrote: > On 2010-04-21 3:17 PM, Peter Fraser wrote: >> Hi All >> >> I'm using dovecot version 1.2.4_1 and I noticed something strange. I >> checked the list but

Re: [Dovecot] Quota Issue

2010-04-21 Thread Charles Marcus
On 2010-04-21 3:17 PM, Peter Fraser wrote: > Hi All > > I'm using dovecot version 1.2.4_1 and I noticed something strange. I > checked the list but so far I haven't found anything that exactly fits > my setup. I'm using maildirs and ldap as a backend to authenticate. A > user went over quota, real

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Phil Howard
On Wed, Apr 21, 2010 at 3:30 PM, Thomas Leuxner wrote: > I'm running a setup that should be good enough for what you are trying to > achieve. All user information is stored in flat files per domain and you may > override per user settings individually: > > passdb { > args = username_format=%u /v

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Thomas Leuxner
I'm running a setup that should be good enough for what you are trying to achieve. All user information is stored in flat files per domain and you may override per user settings individually: passdb { args = username_format=%u /var/vmail/auth.d/%d/passwd driver = passwd-file } userdb { ar

[Dovecot] Quota Issue

2010-04-21 Thread Peter Fraser
Hi All I'm using dovecot version 1.2.4_1 and I noticed something strange. I checked the list but so far I haven't found anything that exactly fits my setup. I'm using maildirs and ldap as a backend to authenticate. A user went over quota, realized it and proceeded to delete a lot of email. Even no

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Phil Howard
On Wed, Apr 21, 2010 at 1:30 PM, Rodolfo Gonzalez wrote: > Phil Howard escribió: > > On Wed, Apr 21, 2010 at 10:47 AM, Patrick Nagel > >wrote: >> >> I think /etc/passwd is as close as it gets to your requirements... why >>> not >>> just add the users as system users, and set their shell to /bin

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Phil Howard
On Wed, Apr 21, 2010 at 10:58 AM, Peter Hessler wrote: > postfix: > > smtpd_sasl_type = dovecot > smtpd_sasl_path = private/auth > > > dovecot: > > auth default { > socket listen { >client { > path = /var/spool/postfix/private/auth > user = _postfix > group = wheel > mode

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Rodolfo Gonzalez
Phil Howard escribió: On Wed, Apr 21, 2010 at 10:47 AM, Patrick Nagel wrote: I think /etc/passwd is as close as it gets to your requirements... why not just add the users as system users, and set their shell to /bin/false? There would be conflicts in this, especially with multiple domain nam

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Phil Howard
On Wed, Apr 21, 2010 at 10:47 AM, Patrick Nagel wrote: > I think /etc/passwd is as close as it gets to your requirements... why not > just add the users as system users, and set their shell to /bin/false? > There would be conflicts in this, especially with multiple domain names (sorry, forgot to

[Dovecot] corrupted index cache file, physcial size, in migration to snow leopard

2010-04-21 Thread Norman Packard
Hi, I am in the middle of migrating a server from Apple's leopard to snow leopard. Having big problems with migrating mail to dovecot. The version is: # dovecotd --version 1.1.17apple0.5 and I use the migration script provide by Apple, /usr/libexec/dovecot/migrate_mail_data.pl The cur

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Brian Candler
On Wed, Apr 21, 2010 at 10:32:36AM -0400, Phil Howard wrote: > Ideal would be a one-file solution, which can be managed by > text editing or simple command line tools. But what I want is ONE file that > both Postfix (for valid recipients) and Dovecot (for user login > authentication) can use toget

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Alexander
Set up the users in /etc/dovecot/passwd for Dovecot authentication and /etc/postfix/vmailbox for postfix users. Not possible to use one file for two of them because the formats are markedly different. Alexander - Original Message - From: "Phil Howard" To: Sent: Wednesday, April 21, 20

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Peter Hessler
postfix: smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth dovecot: auth default { socket listen { client { path = /var/spool/postfix/private/auth user = _postfix group = wheel mode = 0660 } } } Then configure your favorite auth mechanism for dovecot.

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Patrick Nagel
I think /etc/passwd is as close as it gets to your requirements... why not just add the users as system users, and set their shell to /bin/false? Patrick "Phil Howard" wrote: >I'm setting up a Postfix and Dovecot combination. What I want to do is have >a user database that (1) is not running

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Andreas Schulze
build as passdb ( http://wiki.dovecot.org/AuthDatabase/PasswdFile ) and write a sript which builds an valid postfix lookuptable usable as local_recipient_maps. Andreas Am 21.04.2010 10:32 schrieb Phil Howard: > I'm setting up a Postfix and Dovecot combination. What I want to do is have > a user

[Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Phil Howard
I'm setting up a Postfix and Dovecot combination. What I want to do is have a user database that (1) is not running from some engine (so not LDAP or SQL or such) ... and (2) is completely disassociated from system users (e.g. most email users are not in /etc/passwd and most /etc/passwd users are n

Re: [Dovecot] Quota monitoring

2010-04-21 Thread Vlamsdoem
On 21/04/10 14:57, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 21 Apr 2010, Vlamsdoem wrote: I'm using ldap as backend for everything (quota, user and passwords). You store your current quota in LDAP? Regards, - -- Steffen Kaiser -BEGIN PGP SIGNATURE-

Re: [Dovecot] Quota monitoring

2010-04-21 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 21 Apr 2010, Vlamsdoem wrote: I'm using ldap as backend for everything (quota, user and passwords). You store your current quota in LDAP? Regards, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEV

Re: [Dovecot] Quota monitoring

2010-04-21 Thread Vlamsdoem
On 21/04/10 12:00, Anton Dollmaier wrote: Hi, Acutally I can log in with user & password to get the users quota but wat I need is a way to monitor the quota of every user with e.g an admin user which would have an acces to the quota of each mailbox. Which quotas do you use? With Maildir a

[Dovecot] Question about listescape plugin

2010-04-21 Thread Luca Di Vizio
Hi all, with the listescape plugin enabled we a stange result. ** listescape enabled ** 2 list "" % * LIST (\HasChildren) "/" "INBOX" * LIST (\HasChildren) "/" "INBOX/" ** listescape disabled ** 2 list "" % * LIST (\HasChildren) "/" "INBOX" The prefix for this namespace is "INBOX/". Is cor

[Dovecot] Question about listescape

2010-04-21 Thread Luca Di Vizio
Hi all, with the listescape plugin enabled we a stange result. ** listescape enabled ** 2 list "" % * LIST (\HasChildren) "/" "INBOX" * LIST (\HasChildren) "/" "INBOX/" ** listescape disabled ** 2 list "" % * LIST (\HasChildren) "/" "INBOX" The prefix for this namespace is "INBOX/". Is cor

Re: [Dovecot] Quota monitoring

2010-04-21 Thread Anton Dollmaier
Hi, Could you post configuration details ? Configured as described in dovecot-wiki: http://wiki.dovecot.org/Quota/Dict http://wiki.dovecot.org/Quota/1.1 Quota-information is then directly SELECTable from the table "quota". Best regards, Anton

Re: [Dovecot] Quota monitoring

2010-04-21 Thread Andreas Schulze
Am 21.04.2010 12:00 schrieb Anton Dollmaier: > With Maildir and SQL-userdb you can save the quota-information in a > database (proxy::dict) and monitor the usage there. > > works great here ;-) Could you post configuration details ? Thanks! -- Andreas Schulze Internetdienste | P532 DATEV eG 9

[Dovecot] POP3: Restrict Connections per timeframe

2010-04-21 Thread Michael Kliewe
Hi everybody, is it possible to limit the amount of POP3 connections/logins per 15 minutes? Many hoster do that, but I cannot find a configuration setting for that. I can only limit the amount of concurrent connections per IP, but not connections per time. Michael

Re: [Dovecot] Quota monitoring

2010-04-21 Thread Anton Dollmaier
Hi, Acutally I can log in with user & password to get the users quota but wat I need is a way to monitor the quota of every user with e.g an admin user which would have an acces to the quota of each mailbox. Which quotas do you use? With Maildir and SQL-userdb you can save the quota-inform

Re: [Dovecot] Quota monitoring

2010-04-21 Thread Christian Rohmann
Hey there, On 04/21/2010 11:20 AM, Vlamsdoem wrote: > I would like to monitor users quotas in Dovecot but I don't find a way > to do it for every user. One option is to use a database to store the quota or better 'usage of quota', then it's always there for you to access. > Acutally I can log in

[Dovecot] Quota monitoring

2010-04-21 Thread Vlamsdoem
Hello, I would like to monitor users quotas in Dovecot but I don't find a way to do it for every user. Acutally I can log in with user & password to get the users quota but wat I need is a way to monitor the quota of every user with e.g an admin user which would have an acces to the quota of e

Re: [Dovecot] dovecot2 beta and gcc3(?) - compile problem

2010-04-21 Thread Timo Sirainen
On 21.4.2010, at 10.19, Andre Hübner wrote: > ahh, i can fix this. I already use additional OpensslInstallation for other > software in subfolder. > but seems that configure dont has a option to change path for ssl-libs like > apache or php do. > there is only a option to change the path for cer

Re: [Dovecot] doveadm fetch

2010-04-21 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 20 Apr 2010, Timo Sirainen wrote: doveadm fetch INBOX "flags uid hdr.received hdr.from body" all would look like: ===sep flags: \seen \draft $Label1 uid: 1234 hdr: Received: stuff Received: more stuff From: t...@iki.fi body: message body

Re: [Dovecot] dovecot2 beta and gcc3(?) - compile problem

2010-04-21 Thread Andre Hübner
Hello, Your OpenSSL library is too old. ahh, i can fix this. I already use additional OpensslInstallation for other software in subfolder. but seems that configure dont has a option to change path for ssl-libs like apache or php do. there is only a option to change the path for certificate