[Dovecot] Default fallback behaviour

2012-11-22 Thread Nikita Koshikov
Hello list, Here is the problem: I have few: passdb { #1 } passdb { #2 } And relative userdb sections. If user not found in 1) section it fallbacks to next one - it's expected and right, IMHO. But when the user exists in both section and password verification fails on 1) database it successfully a

Re: [Dovecot] v2.1.10: Director director_servers order issue

2012-11-22 Thread Bertrand Jacquin
D'ar gwener 23 a viz Du 2012 e 08 eur 23, « Bertrand Jacquin » he deus skrivet : > D'ar gwener 23 a viz Du 2012 e 08 eur 20, « Timo Sirainen » he deus skrivet : > > On 20.11.2012, at 22.56, Bertrand Jacquin wrote: > > > > > # ring status on node1 > > > director ip port type last failed > > > 10.0.

Re: [Dovecot] v2.1.10: Director director_servers order issue

2012-11-22 Thread Bertrand Jacquin
D'ar gwener 23 a viz Du 2012 e 08 eur 20, « Timo Sirainen » he deus skrivet : > On 20.11.2012, at 22.56, Bertrand Jacquin wrote: > > > # ring status on node1 > > director ip port type last failed > > 10.0.50.50 9090 self never > > 10.0.50.51 9090 never > > > > # ring status on node2 > > di

Re: [Dovecot] Proxy to join two accounts

2012-11-22 Thread Timo Sirainen
On 21.11.2012, at 12.15, Tomek wrote: > I have server with IMAP on dovecot for user mails and second server on > archiveopteryx as mail archive. > > I'm wondering if it's possible to make some sort of proxy to these two > servers in way where: > - dovecot server will be main IMAP service with I

Re: [Dovecot] v2.1.10: Director director_servers order issue

2012-11-22 Thread Timo Sirainen
On 20.11.2012, at 22.56, Bertrand Jacquin wrote: > # ring status on node1 > director ip port type last failed > 10.0.50.50 9090 self never > 10.0.50.51 9090 never > > # ring status on node2 > director ip port type last failed > 10.0.50.50 9090 self never > 10.0.50.51 9090 never > >

Re: [Dovecot] doveadm fails with passdb authentication binds (dovecot 2.0.16)

2012-11-22 Thread Timo Sirainen
On 20.11.2012, at 17.54, mailing lists wrote: > Hello, > > I'm testing passdb auth binds with dovecot 2.0.16, but for some reason dovedm > fails to work with the configuration showed below. The network trace shows > the successful bind for the administrative user (uid=mailapp), but nothing > f

Re: [Dovecot] whoson plugin for 2.0

2012-11-22 Thread Timo Sirainen
On 18.11.2012, at 18.04, Chuck Cochems wrote: > On 11/16/2012 4:43 PM, Pascal Volk wrote: >> On 11/16/2012 11:21 PM Chuck Cochems wrote: >>> … >>> I need to return both the IP and the email address as a string to drop >>> it into the old code. >>> … >> >> You could check the code of the `doveadm

Re: [Dovecot] shared mailboxes and indexes

2012-11-22 Thread Timo Sirainen
On 16.11.2012, at 12.11, Angel L. Mateo wrote: > We are deploying shared mailboxes in our mail system. We are running > 2.1.9 and mail backend is maildir. > > As described at http://wiki.dovecot.org/SharedMailboxes/Shared when > shared namespace is configured as > > namespace share

Re: [Dovecot] Quotas 2.1clarification

2012-11-22 Thread Timo Sirainen
On 15.11.2012, at 6.55, Nick Edwards wrote: > Timo, > > I have much suspicion that our quota system is not working correctly > since we migrate to 2.1 > Currently using 2.1.10 > Previously we had for issue of warnings > > quota_warning = storage=90%% /scripts/dqwarn-90.sh > quota_warning2 = stor

Re: [Dovecot] Initial status notification not received

2012-11-22 Thread Nicolas KOWALSKI
On Fri, Nov 23, 2012 at 08:18:32AM +0200, Timo Sirainen wrote: > On 16.11.2012, at 16.12, Nicolas KOWALSKI wrote: > > > We have SLES-11 SP2 Xen VMs running dovecot as IMAP proxies. At VMs > > startup, dovecot almost always shows these errors: > > > > Nov 16 14:29:19 server dovecot: master: Dovec

Re: [Dovecot] User iteration with static userdb

2012-11-22 Thread Timo Sirainen
On 10.11.2012, at 22.34, Radek Novotný wrote: > can someone explain me, please, why user iteration (iterate_query) > doesn't work with static userdb? There isn't reason why > it shouldn't work. In my opinion. However static userdb doesn't mean that > user list > not exist. Where would you like t

Re: [Dovecot] imap-login hanging when firewall blocks ssl handshaking

2012-11-22 Thread Timo Sirainen
On 10.11.2012, at 12.44, Erik A Johnson wrote: > imap-login processes are hanging (using 100% of CPU) when connected from a > client that is partially blocked by a firewall. It appears that imap-login > is stuck in a loop trying to complete an ssl handshake. imap-login is > working fine for o

Re: [Dovecot] Is there a hook for a plugin to do some transient operation on the mail body ...

2012-11-22 Thread Timo Sirainen
On 9.11.2012, at 7.37, Jay wrote: > ... when the MUA has issued a FETCH? > > I am a Dovecot newbie ... so please bear with me if this is obvious. > Basically what I am trying to do is process the mail body (in my own specific > way) before Dovecot serves it up to the MUA. I want to do it as a

Re: [Dovecot] memory allocation issues

2012-11-22 Thread Timo Sirainen
On 9.11.2012, at 2.49, Kelsey Cummings wrote: > One of our dovecot backend servers ran into a problem with it's auth > process a few days ago. This doesn't appear to be the error logged when > dovecot hits its internal limit so I'm not sure what is going on here. > > auth: Error: malloc: 58012:

Re: [Dovecot] Hardlink with Maildir a brief help

2012-11-22 Thread Timo Sirainen
On 8.11.2012, at 16.51, Davide wrote: > Hi to all, my question is: > > Is possible implementing SIS (with hardlink) with maildir instead of *dbox > format? No. Way too difficult and non-standard.

Re: [Dovecot] IMAP session state inconsistent

2012-11-22 Thread Timo Sirainen
On 8.11.2012, at 16.45, l...@airstreamcomm.net wrote: > Running Dovecot 1.2.12 (we are in the process of upgrading to 2.1.x) > > Didn't find much in old threads, but we are seeing the following in the logs > this morning: > > dovecot: imap-login: Login: user=, method=PLAIN, rip=x.x.x.x, > lip=

Re: [Dovecot] maildir and end-of-line encoding

2012-11-22 Thread Timo Sirainen
On 8.11.2012, at 4.57, Christoph Anton Mitterer wrote: > On Wed, 2012-11-07 at 17:33 +0200, Timo Sirainen wrote: >> Dovecot automatically adds CRs where necessary. Even within the same file >> there can be mixed LF/CRLF lines. > Can you detail this a bit, or point me to the specific code areas? >

Re: [Dovecot] Is there any Documentation or Howto/Guide for Dovecot Replication or do i have to wait for dovecot 2.2.x?

2012-11-22 Thread Timo Sirainen
On 16.11.2012, at 17.24, we...@zackbummfertig.de wrote: > dear timo, > can you help me? There are some mails about it somewhere in the mailing list. I'll write some documentation before v2.2.0 is out.

Re: [Dovecot] Initial status notification not received

2012-11-22 Thread Timo Sirainen
On 16.11.2012, at 16.12, Nicolas KOWALSKI wrote: > We have SLES-11 SP2 Xen VMs running dovecot as IMAP proxies. At VMs > startup, dovecot almost always shows these errors: > > Nov 16 14:29:19 server dovecot: master: Dovecot v2.1.10 starting up (core > dumps disabled) > Nov 16 14:29:55 server do

Re: [Dovecot] cannot update mailbox - unable to lock for exclusive access

2012-11-22 Thread Stan Hoeppner
On 11/22/2012 3:26 PM, 1st WebDesigns wrote: > Output of dovecot -n is as follows: > > # 1.0.7: /etc/dovecot.conf > login_dir: /var/run/dovecot/login > login_executable(default): /usr/libexec/dovecot/imap-login > login_executable(imap): /usr/libexec/dovecot/imap-login > login_executable(pop3): /us

Re: [Dovecot] cannot update mailbox - unable to lock for exclusive access

2012-11-22 Thread 1st WebDesigns
Output of dovecot -n is as follows: # 1.0.7: /etc/dovecot.conf login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login mail_privileged_group: mail m

Re: [Dovecot] imap_acl and osx 10.7

2012-11-22 Thread Piero Zucchi
ciao Emanuele! :) Thanks so much for your answer :). I will file a bug on radar (apple) and see if they fix it or piss me off: "we do not support acl on email". P. 2012/11/22 Emanuele Pucciarelli : > Ciao Piero! :) > > Apparently, you might be running into this: > > http://dovecot.org/list/dov

[Dovecot] Plugin help, number of messages in mailbox

2012-11-22 Thread Richard Platel
Hi, We use Dovecot for IMAP and POP (but not LDA), we want to do something when a user has an INBOX that becomes empty, or becomes not empty (set a flag in memcached, but that's not really important). I'm writing a plugin (for Dovecot 2.1.7). On mailbox_open() I can use mailbox_get_status(

Re: [Dovecot] imap_acl and osx 10.7

2012-11-22 Thread Emanuele Pucciarelli
Ciao Piero! :) Apparently, you might be running into this: http://dovecot.org/list/dovecot/2012-October/068723.html OS X's dynamic linker is not among the forgiving ones (as far as I know from experience with other software). It looks like Apple shipped Dovecot without running any tests with the

Re: [Dovecot] imap_acl and osx 10.7

2012-11-22 Thread Piero Zucchi
Hallo Steffen, yes, I'm quite sure since it's a default mac os x server installation, so I haven neither installed nor compiled anything. P. 2012/11/22 Steffen Kaiser : > are you sure, that the module is from the very same Dovecot version? > I had Symbol not found errors, because I changed the .

Re: [Dovecot] imap_acl and osx 10.7

2012-11-22 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 22 Nov 2012, Piero Zucchi wrote: imap: Debug: Loading modules from directory: /usr/lib/dovecot Nov 22 09:08:14 xserve04 dovecot[87688]: imap: Error: dlopen(/usr/lib/dovecot/lib02_imap_acl_plugin.so) failed: dlopen(/usr/lib/dovecot/lib02_imap

Re: [Dovecot] cannot update mailbox - unable to lock for exclusive access

2012-11-22 Thread Stan Hoeppner
On 11/12/2012 5:15 AM, 1st WebDesigns wrote: > Thanks for your replies. I switched to Dovecot LDA this morning, but > the issue still persists, albeit logged slightly differently by Dovecot > now instead of Postfix: > > "save failed to INBOX: Timeout while waiting for lock" > > The reason is bec

Re: [Dovecot] cannot update mailbox - unable to lock for exclusive access

2012-11-22 Thread Stan Hoeppner
On 11/10/2012 2:25 PM, Ben Morrow wrote: > The usual meaning of 'lock contention' is 'two processes legitimately > competing for the *same* lock'. Sure, this is the textbook definition, and software designers will discuss it as such in that context. However, when systems users use the term, in a

Re: [Dovecot] imap_acl and osx 10.7

2012-11-22 Thread Piero Zucchi
Thank you for your quick reply, Robert. The configuration looks ok, so I will search for version related bugs although it would be very hard upgrading to a newer version, because apple patches apply up to 2.0.16. cheers P. 2012/11/22 Robert Schetterer : > Am 22.11.2012 09:46, schrieb Piero Zucchi

Re: [Dovecot] imap_acl and osx 10.7

2012-11-22 Thread Robert Schetterer
Am 22.11.2012 09:46, schrieb Piero Zucchi: > Hello everybody, > > I'm trying to setup public folder with ACLs on a Lion Server 10.7.5 > > unfortunately it seems that the imap_acl plugin is not loaded properly > > do you have any advice? > > cheers > Piero i dont really remember but at some tim

Re: [Dovecot] users mail folders have to be subscribed

2012-11-22 Thread Andre Bischof
Steffen, 2012/11/20 Steffen Kaiser > ... >> >> Thank you. One thing that still doesn't work is subscribing to all >> mailboxes via "*", I guess because the folder names start with "." but >> dovecot mailbbox subscribe wants it without a starting "." Any clues how >> that can be solved? >> > > >

[Dovecot] imap_acl and osx 10.7

2012-11-22 Thread Piero Zucchi
Hello everybody, I'm trying to setup public folder with ACLs on a Lion Server 10.7.5 unfortunately it seems that the imap_acl plugin is not loaded properly do you have any advice? cheers Piero This is what i get from the log with imap_acl plugin enabled in protocol imap { } Log file: imap