Re: [Dovecot] (Single instance) attachment storage

2010-09-16 Thread Timo Sirainen
On 17.9.2010, at 2.10, Daniel L. Miller wrote: > Something I wasn't quite clear about previously - does the SIS provide > single-instance only within each account, or is it server wide? Server-wide. It would be pretty pointless otherwise. > The examples given for mail_attachment_dir sometimes l

Re: [Dovecot] (Single instance) attachment storage

2010-09-16 Thread Daniel L. Miller
On 9/16/2010 11:20 AM, Timo Sirainen wrote: On Tue, 2010-08-31 at 20:16 +0100, Timo Sirainen wrote: Can you append some "trivial" information from the data file to the hash in generating the file name to help ensure uniqueness? Like filesize, I guess size could be there at least optionally, I

[Dovecot] dsync to move from 1.2 to 2.0

2010-09-16 Thread Daniel L. Miller
I'm not certain of the correct syntax for this - and I'm reluctant to risk my live data by experimenting. I've setup a 2.0.2 server on a virtual machine, and I want to copy a live account over to it for testing. Not that it should matter, but the 1.2 machine is using maildir and I want to gi

Re: [Dovecot] Dovecot upgrades break Blackberry instant email (BIS)

2010-09-16 Thread interfaSys sàrl
On 03/09/2010 18:18, Timo Sirainen wrote: > On Fri, 2010-09-03 at 18:06 +0100, interfaSys sàrl wrote: >> >> On 02/09/2010 18:23, Timo Sirainen wrote: >>> On Thu, 2010-09-02 at 18:21 +0100, interfaSys sàrl wrote: >>> If the subscription file is 660, then it seems the connection is dropped

Re: [Dovecot] SSL stops working after server upgrade

2010-09-16 Thread Ing. Daniel Rozsnyó
On 16. 9. 2010 23:48, Timo Sirainen wrote: On 16.9.2010, at 22.20, Ing. Daniel Rozsnyó wrote: Sep 16 23:12:30 [dovecot] imap-login: Disconnected (no auth attempts): rip=192.168.77.202, lip=192.168.77.201, mpid=0, TLS handshaking: SSL_accept() failed: error:14094412:SSL routines:SSL3_READ_BYT

Re: [Dovecot] [DC2.x ]pop3-login seg faults when compiled with gcc 4.5.2 and gold

2010-09-16 Thread interfaSys sàrl
On 02/09/2010 17:12, Timo Sirainen wrote: > On Thu, 2010-09-02 at 17:09 +0100, interfaSys sàrl wrote: #8 0x0008004e015e in _init () from /usr/local/lib/gcc45/libgomp.so.1 >>> >> Maybe because of this? >> >> /usr/local/lib/libcrypto.so.7: >> libgomp.so.1 => /usr/local/lib/gcc45/lib

Re: [Dovecot] SSL stops working after server upgrade

2010-09-16 Thread Timo Sirainen
On 16.9.2010, at 22.20, Ing. Daniel Rozsnyó wrote: > Sep 16 23:12:30 [dovecot] imap-login: Disconnected (no auth attempts): > rip=192.168.77.202, lip=192.168.77.201, mpid=0, TLS handshaking: SSL_accept() > failed: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad > certificate: SSL al

[Dovecot] SSL stops working after server upgrade

2010-09-16 Thread Ing. Daniel Rozsnyó
Hello, after an upgrade of the dovecot server, I can not use SSL connections. Can you help me solving the issue? When googling for the error, there is an opinion that the client is broken (in my case Thunderbird, 3.1.3), but I rather see the issue in the server, because I was upgrading my gent

Re: [Dovecot] imap processing spinning on the CPU

2010-09-16 Thread Marc Perkel
On 9/15/2010 2:16 PM, Timo Sirainen wrote: On 15.9.2010, at 21.59, Daniel J. Luke wrote: Since upgrading to 2.0.2 I've noticed one user ends up with 4-5 imap processes all using as much CPU as they can get. #1 0x001ef220 in parse_next_body_to_boundary () No symbol table info available. #2

Re: [Dovecot] default ACL - in namespace's mail root directory ?

2010-09-16 Thread Per Jessen
Timo Sirainen wrote: > On Thu, 2010-09-16 at 08:51 +0200, Per Jessen wrote: > >> Where do I store "dovecot-acl" as the default ACL ? > > There is currently no support for default ACL file. Thanks for clearing that up Timo - I was beginning to think so too, but the wiki was contradicting me. h

Re: [Dovecot] dsync crash

2010-09-16 Thread Timo Sirainen
On 16.9.2010, at 20.54, Vasiliy Shokov wrote: > $1 = 0x96b21a0 "/INBOX" What do you have in subscriptions files? I guess in dbox's side there's "/INBOX" which was added while you still had the ".INBOX." namespace prefix and that causes it to still crash?

Re: [Dovecot] dsync crash

2010-09-16 Thread Vasiliy Shokov
>> #7 0x0014d9bd in mailbox_list_get_path () from >> /usr/lib/dovecot/libdovecot-storage.so.0 >> No symbol table info available. > .. >> > (If it doesn't print the name, try a different number to "fr", it's >> the >> > mailbox_list_is_valid_pattern frame in the bt.) >> > >> >> I didn't see this pa

Re: [Dovecot] Moving from MBOX to Maildir or DBox ?

2010-09-16 Thread Daniel Luttermann
Frank Bonnet wrote on 16.09.2010: > Hello > Actually we use MBOX format for all our IMAP access but users complain > they cannot create subfolders in imap folders, of course they cannot > because of MBOX format ... > I need gurus advices on changing mailbox format > Maildir of Dbox ? > What wo

Re: [Dovecot] dsync crash

2010-09-16 Thread Vasiliy Shokov
>> #7 0x0014d9bd in mailbox_list_get_path () from >> /usr/lib/dovecot/libdovecot-storage.so.0 >> No symbol table info available. > .. >> > (If it doesn't print the name, try a different number to "fr", it's >> the >> > mailbox_list_is_valid_pattern frame in the bt.) >> > >> >> I didn't see this pa

Re: [Dovecot] (Single instance) attachment storage

2010-09-16 Thread Timo Sirainen
On Tue, 2010-08-31 at 20:16 +0100, Timo Sirainen wrote: > > Can you append some "trivial" information from the data file to the hash > > in generating the file name to help ensure uniqueness? Like filesize, > > I guess size could be there at least optionally, I'm not sure about as > default. N

Re: [Dovecot] dsync crash

2010-09-16 Thread Timo Sirainen
On Thu, 2010-09-16 at 21:40 +0400, Vasiliy Shokov wrote: > #7 0x0014d9bd in mailbox_list_get_path () from > /usr/lib/dovecot/libdovecot-storage.so.0 > No symbol table info available. .. > > (If it doesn't print the name, try a different number to "fr", it's the > > mailbox_list_is_valid_pattern fr

Re: [Dovecot] dovecot as exchange server?

2010-09-16 Thread Eric Rostetter
Quoting Jacek Osiecki : No, the only thing I need is to simulate an Exchange server, so iPhone would be able to retrieve all emails instead of "last 200 from INBOX" :) Basically he is complaining that when you select "other" as the e-mail server type, it only allows you to BY DEFAULT see th

Re: [Dovecot] dsync crash

2010-09-16 Thread Vasiliy Shokov
> Could you check with gdb what the invalid name is? > >> dsync(v.shokov): Panic: file mailbox-list-fs.c: line 150 >> (fs_list_get_path): assertion failed: >> (mailbox_list_is_valid_pattern(_list, name)) > > So probably something like: > > ulimit -c unlimited > dsync ... > gdb dsync core > bt full

Re: [Dovecot] default ACL - in namespace's mail root directory ?

2010-09-16 Thread Thomas Leuxner
On 16.09.2010 at 17:12 Per Jessen wrote: > In the above, what is the maildir root? /var/ferrari/users/? > I've got a global ACL working, but the problem I'm trying to solve is: You can put 'dovecot-acl' files inside a mailbox at the ( cur | new | tmp ) hierarchy level for maildirs, but note t

Re: [Dovecot] Moving from MBOX to Maildir or DBox ?

2010-09-16 Thread William Blunn
On 16/09/2010 16:47, Frank Bonnet wrote: Actually we use MBOX format for all our IMAP access but users complain they cannot create subfolders in imap folders, of course they cannot because of MBOX format ... Actually you can, under mbox, do mailboxes which contain both messages and sub-mailbo

Re: [Dovecot] Moving from MBOX to Maildir or DBox ?

2010-09-16 Thread Timo Sirainen
On Thu, 2010-09-16 at 17:47 +0200, Frank Bonnet wrote: > Actually we use MBOX format for all our IMAP access but users complain > they cannot create subfolders in imap folders, of course they cannot > because of MBOX format ... > > I need gurus advices on changing mailbox format > > Maildir of

Re: [Dovecot] dsync crash

2010-09-16 Thread Timo Sirainen
On Thu, 2010-09-16 at 14:48 +0400, Vasiliy Shokov wrote: > I removed hierarchy separator from start of namespace prefix (now it looks > like "INBOX.") and moved folders. > > Still same result. Could you check with gdb what the invalid name is? > dsync(v.shokov): Panic: file mailbox-list-fs.c: l

Re: [Dovecot] default ACL - in namespace's mail root directory ?

2010-09-16 Thread Timo Sirainen
On Thu, 2010-09-16 at 08:51 +0200, Per Jessen wrote: > Where do I store "dovecot-acl" as the default ACL ? There is currently no support for default ACL file.

[Dovecot] Moving from MBOX to Maildir or DBox ?

2010-09-16 Thread Frank Bonnet
Hello Actually we use MBOX format for all our IMAP access but users complain they cannot create subfolders in imap folders, of course they cannot because of MBOX format ... I need gurus advices on changing mailbox format Maildir of Dbox ? What would be the safest way to go ? Note : we exten

Re: [Dovecot] default ACL - in namespace's mail root directory ?

2010-09-16 Thread Per Jessen
Thomas Leuxner wrote: > On Thu, Sep 16, 2010 at 08:51:16AM +0200, Per Jessen wrote: >> I have a namespace like this: >> >> namespace { >>type = private >>separator = / >>prefix = >>location = >> maildir:/var/ferrari/users/%d/%n:INDEX=/var/ferrari/indexes/3/4/%u:CONTROL=/var/ferrar

Re: [Dovecot] dsync mirror duplicates problem

2010-09-16 Thread Timo Sirainen
On Wed, 2010-09-15 at 19:30 +0100, Timo Sirainen wrote: > Hmm.. I guess one solution to this would be to allow overriding the > filename as GUID in dovecot-uidlist.. Or I can't really even think of > any other solution. Hopefully won't be too horribly difficult to > implement it. Implemented: htt

Re: [Dovecot] Dovecot2 and mdbox problem

2010-09-16 Thread Michael Grosseck
ok, thanx Timo for the info. I just made a update, but the new version seem not yet in the repository. So I just have to wait a little bit. :) On 16.09.2010 16:59, Timo Sirainen wrote: On Thu, 2010-09-16 at 16:54 +0200, Michael Grosseck wrote: Sep 16 12:30:41 smtp dovecot: lmtp(31244, i...@

Re: [Dovecot] Dovecot2 and mdbox problem

2010-09-16 Thread Timo Sirainen
On Thu, 2010-09-16 at 16:54 +0200, Michael Grosseck wrote: > > Sep 16 12:30:41 smtp dovecot: lmtp(31244, i...@example.de): Error: > file_dotlock_open() failed with file > /var/mail/es030107p1/mdbox/mailboxes/INBOX/dbox-Mails/dovecot.index.log: > No such file or directory Yeah, I broke this tw

Re: [Dovecot] Execution of external commands from Pigeonhole sieve

2010-09-16 Thread Timo Sirainen
On Thu, 2010-09-16 at 11:50 -0300, Andrés Yacopino wrote: > Does anybody knows if there are some method to call an externall command > from sieve? Is xexec plugin is what i am looking for? Is it avaiable for > Dovecot 1.2? It wouldn't be too difficult to write a plugin that triggers some external

[Dovecot] Dovecot2 and mdbox problem

2010-09-16 Thread Michael Grosseck
Hello, I've just installed Dovecot from the http://xi.rename-it.nl/debian/ repository. But I have a problem with the mdbox Format. When the home folder is empty Dovecot should create the folder structure if the first mail arrived or the user logs in the first time. But I get following error:

Re: [Dovecot] Deliver/LDA, no data in the logs, even with debug set (dovecot + qmail-ldap), and sieve issue

2010-09-16 Thread Mohit Chawla
Well, I did explore every option possible for logging, manipulating permissions et al. And as I said, using a .qmail in user's home directory makes all those issues disappear. The dilemma I am facing is that why, qmail-lspawn sending data to dovecot lda doesn't work (setting |/var/qmail/bin/preline

[Dovecot] Execution of external commands from Pigeonhole sieve

2010-09-16 Thread Andrés Yacopino
Does anybody knows if there are some method to call an externall command from sieve? Is xexec plugin is what i am looking for? Is it avaiable for Dovecot 1.2? __ I am using dovecot 1.2 and sieve 0.1.17. I want to call ripmime from sieve to save attchments fr

Re: [Dovecot] dovecot 2.02 expire stopped working /sorry for the noise / Problem understanding faqs

2010-09-16 Thread Robert Schetterer
Am 16.09.2010 14:32, schrieb Robert Schetterer: > Hi Timo, > the expire plugin suddenly stopped working ( updating from betas ), no > problem found in the logs > > doveadm expunge -A mailbox Trash savedbefore 1m > > works as expected > > i have no idea why nothing gets logged > only loading the

Re: [Dovecot] Problems with dovecot-2.0.2+dovecot-2.0-pigeonhole-0.2.0

2010-09-16 Thread Timo Sirainen
On Thu, 2010-09-16 at 15:19 +0200, Stephan Bosch wrote: > Op 16-9-2010 14:50, Timo Sirainen schreef: > >> doveadm(root): Error: dlopen(/usr/local/lib/dovecot/lib90_sieve_plugin.so) > >> failed:/usr/local/lib/dovecot/libdovecot-sieve.so.0: undefined > >> symbol:mail_deliver_save_open > > Wasn't t

Re: [Dovecot] Problems with dovecot-2.0.2+dovecot-2.0-pigeonhole-0.2.0

2010-09-16 Thread Stephan Bosch
Op 16-9-2010 14:50, Timo Sirainen schreef: doveadm(root): Error: dlopen(/usr/local/lib/dovecot/lib90_sieve_plugin.so) failed:/usr/local/lib/dovecot/libdovecot-sieve.so.0: undefined symbol:mail_deliver_save_open Sieve plugin can be used only by lda/lmtp, but you enabled it globally. Use: prot

Re: [Dovecot] Expire Mysql backend

2010-09-16 Thread Timo Sirainen
Well, looks like there isn't exactly that kind of support, at least not easily.. But there are a couple of choices: a) Do you really need expire plugin? Do you have that many users that it's actually required? If not, you can just run doveadm expunge command separately for each user, giving whatev

Re: [Dovecot] Deliver/LDA, no data in the logs, even with debug set (dovecot + qmail-ldap), and sieve issue

2010-09-16 Thread Timo Sirainen
On Thu, 2010-09-16 at 17:33 +0530, Mohit Chawla wrote: > deliver isn't logging anything to the log files (or syslog, if > selected). http://wiki.dovecot.org/LDA#logging

Re: [Dovecot] Problems with dovecot-2.0.2+dovecot-2.0-pigeonhole-0.2.0

2010-09-16 Thread Timo Sirainen
On Thu, 2010-09-16 at 11:05 +0100, Jose Luis Faria wrote: > > doveadm(root): Error: dlopen(/usr/local/lib/dovecot > /lib90_sieve_plugin.so) failed: > /usr/local/lib/dovecot/libdovecot-sieve.so.0: undefined symbol: > mail_deliver_save_open .. > mail_plugins = sieve Sieve plugin can be used onl

Re: [Dovecot] SIS

2010-09-16 Thread Timo Sirainen
On Wed, 2010-09-15 at 22:16 -0700, Daniel L. Miller wrote: > Is SIS for dbox included in the 2.0.2 sources? Or only via Mercurial? Only in hg. Maybe I'll put it to 2.0.3 or 2.0.4.

Re: [Dovecot] gnutls support

2010-09-16 Thread Timo Sirainen
On Wed, 2010-09-15 at 20:25 -0700, Daniel L. Miller wrote: > Other than license issues, is there an advantage to using gnutls vs > openssl? Or is openssl superior - at least in the current implementations? Dovecot's GNUTLS support was written long time ago and its API has changed since. It doesn

Re: [Dovecot] Expire Mysql backend

2010-09-16 Thread Paweł Madej
Hello Timo, After searching documentation a lot I had to write here. I'm sorry to say that Expire plugin documentation says nothing about such configuration scenario. There are only informations about dict and timestamps. but this was also in 1.2.x version. Could you link where to read about this

Re: [Dovecot] Sieve problems - compiled script does not get updated

2010-09-16 Thread aditsu
Stephan Bosch-2 wrote: > >> Is this problem fixed in a newer version of dovecot? > Yes. > That was SO brief. Anyway, I upgraded to Dovecot 1.2.11 and changed "cmusieve" to "sieve" (the only configuration change) and it seems to work now. It was quite painless :) Thanks Adrian -- View

Re: [Dovecot] Deliver/LDA, no data in the logs, even with debug set (dovecot + qmail-ldap), and sieve issue

2010-09-16 Thread Mohit Chawla
Hi again. I just tried using .qmail instead of just changing the defaultdelivery control variable, and its working. I guess dovecot's working just fine, will have a look at the qmail control variables again. On Thu, Sep 16, 2010 at 5:35 PM, Mohit Chawla wrote: > Also, > * > r...@debtwo:~# cat /

[Dovecot] dovecot 2.02 expire stopped working

2010-09-16 Thread Robert Schetterer
Hi Timo, the expire plugin suddenly stopped working ( updating from betas ), no problem found in the logs doveadm expunge -A mailbox Trash savedbefore 1m works as expected i have no idea why nothing gets logged only loading the plugin is shown -- Best Regards MfG Robert Schetterer Germany/Mu

Re: [Dovecot] Deliver/LDA, no data in the logs, even with debug set (dovecot + qmail-ldap), and sieve issue

2010-09-16 Thread Mohit Chawla
Also, * r...@debtwo:~# cat /var/qmail/control/defaultdelivery * |/var/qmail/bin/preline -f /usr/lib/dovecot/deliver On Thu, Sep 16, 2010 at 5:33 PM, Mohit Chawla wrote: > Hi, > > I am trying to integrate sieve with qmail-ldap. I can't get it to work, and > deliver isn't logging anything to the

[Dovecot] Deliver/LDA, no data in the logs, even with debug set (dovecot + qmail-ldap), and sieve issue

2010-09-16 Thread Mohit Chawla
Hi, I am trying to integrate sieve with qmail-ldap. I can't get it to work, and deliver isn't logging anything to the log files (or syslog, if selected). Hence I have got no way to diagnose the problem. Any help appreciated. *r...@debtwo:~# dovecot --version* 1.2.13 *r...@debtwo:~# dovecot -n* #

Re: [Dovecot] dsync crash

2010-09-16 Thread Vasiliy Shokov
>> namespace { >> hidden = no >> inbox = yes >> location = maildir:~/mail/inbox/:INDEX=/var/dovecot_index/%u/inbox >> prefix = .INBOX. > > Uh. Does this really work with IMAP clients? A namespace prefix must not > start with hierarchy separator. My guess is that the crash happens > because

[Dovecot] Problems with dovecot-2.0.2+dovecot-2.0-pigeonhole-0.2.0

2010-09-16 Thread Jose Luis Faria
Hello, I have installed the dovecot-2.0.2 and dovecot-2.0-pigeonhole-0.2.0 but if I try to use sieve I get this error. I can't find any help in documentation. Any ideas? thanks --- /usr/local/sbin/dovecot start doveadm(root): Error: dlopen(/usr/local/lib/dovecot /lib90_s

Re: [Dovecot] dovecot as exchange server?

2010-09-16 Thread Jacek Osiecki
On Wed, 15 Sep 2010, Robert Schetterer wrote: Am 15.09.2010 13:31, schrieb Jacek Osiecki: [...] > So, finally - if it is possible to use Exchange protocol, would there be > any plans for implementing it in dovecot? there is no exchange protocol, there ist something like mapi which you

Re: [Dovecot] default ACL - in namespace's mail root directory ?

2010-09-16 Thread Thomas Leuxner
On Thu, Sep 16, 2010 at 08:51:16AM +0200, Per Jessen wrote: > I have a namespace like this: > > namespace { >type = private >separator = / >prefix = >location = > maildir:/var/ferrari/users/%d/%n:INDEX=/var/ferrari/indexes/3/4/%u:CONTROL=/var/ferrari/indexes/3/4/%u > >inbox =