Re: rmdir() EBUSY warnings on 2.2.12

2014-07-03 Thread Giel van Schijndel
On Fri, Jul 04, 2014 at 01:59:02 +0300, Timo Sirainen wrote: > On 4.7.2014, at 1.30, Giel van Schijndel wrote: > >> I'm getting a lot of syslog spam on FreeBSD 10 from >> nfs_flush_file_handle_cache_dir where, apparently it tries to rmdir() >> the mountpoint of my mail storage. >> >>> Jul 4 00:

Re: [Dovecot] dovecot: disable ssl compression

2014-07-03 Thread A. Schulze
Jiri Bourek: As I understand it, any program using the library has compression turned off by default. yes, and any program using an older library version can turn off compression now, too.

Re: number of users

2014-07-03 Thread Andreas Tauscher
> i using roundcube with dovecot, i have a question if there is possible to > know the number of users that using the mail system (in other word the > online users) . doveadm who

BUG: Authentication client sent unknown handshake command

2014-07-03 Thread Lukas Haase
Hi, Some time ago my dovecot started to become BUGgy: Evertime I restart the system, dovecot is started but I cannot login. I see the following information in the logs: Jul 4 04:04:36 mail dovecot: auth: passwd-file(user,127.11.91.218,): no passwd file: /etc/dovecot/imap.passwd Jul 4 04:04:36 m

Re: rmdir() EBUSY warnings on 2.2.12

2014-07-03 Thread Timo Sirainen
On 4.7.2014, at 1.30, Giel van Schijndel wrote: > I'm getting a lot of syslog spam on FreeBSD 10 from > nfs_flush_file_handle_cache_dir where, apparently it tries to rmdir() > the mountpoint of my mail storage. > >> Jul 4 00:04:44 mailhost dovecot: imap(u...@example.com): Error: >> nfs_flush_f

rmdir() EBUSY warnings on 2.2.12

2014-07-03 Thread Giel van Schijndel
Hi, I'm getting a lot of syslog spam on FreeBSD 10 from nfs_flush_file_handle_cache_dir where, apparently it tries to rmdir() the mountpoint of my mail storage. > Jul 4 00:04:44 mailhost dovecot: imap(u...@example.com): Error: > nfs_flush_file_handle_cache_dir: rmdir(/var/mail/vhosts/example.co

Re: OT - Finding/removing duplicate emails - WAS: Re: [Dovecot] dovecot/lmtp munmap()-ing a lot

2014-07-03 Thread Jiri Bourek
On 3.7.2014 21:35, Timo Sirainen wrote: On 10.6.2014, at 14.05, Charles Marcus wrote: On 6/9/2014 5:44 PM, Ralf Hildebrandt wrote: That's probably the problem here. The user had LOTS of (duplicate!) mails in his inbox. Anyone ever found a reliable way to do this? It sure would be nice if

Re: question on lmtp logged message

2014-07-03 Thread Leonardo Rodrigues
Em 03/07/14 14:31, Timo Sirainen escreveu: On 25.6.2014, at 18.45, Leonardo Rodrigues wrote: I have dovecot running for IMAP4/POP3 and also local delivery through LMTP. It's working just fine, absolutely no problem on that, setup is fine. Anyway, sometimes LMTP seems to not be able t

Re: [Dovecot] dovecot: disable ssl compression

2014-07-03 Thread Jiri Bourek
On 3.7.2014 23:55, A. Schulze wrote: Timo Sirainen: But now I'm wondering if no-compression should be enabled by default?.. to not potential break something I would not change the default now but maybe later... Thanks! Andreas Not sure if it's upstream change, but Debian disabled compress

Re: [Dovecot] dovecot: disable ssl compression

2014-07-03 Thread A. Schulze
Timo Sirainen: But now I'm wondering if no-compression should be enabled by default?.. to not potential break something I would not change the default now but maybe later... Thanks! Andreas

Re: OOM in Dovecot 2.2.13 imap

2014-07-03 Thread Timo Sirainen
On 3.7.2014, at 23.56, Bernhard Schmidt wrote: >>> #17 0x7f1176e8d269 in client_output (client=0x7f11789f4470) at >>> imap-client.c:1019 >> >> Assuming client_output is again in frame 17, run: >> >> f 17 p *client.command_queue p *client.command_queue.next .. > We could easily live without

mixing Maildir and mdbox

2014-07-03 Thread gustavo panizzo
Hello i'm in the process to architect a new email system. i plan to use dovecot 2.2.9 (debian's wheezy). i would like to use maildir for 2 folders on each account (spam and no-spam) and the rest of the folders stored on mdbox. this should be opaque to my users. the reason for this, is i wa

Re: OOM in Dovecot 2.2.13 imap

2014-07-03 Thread Bernhard Schmidt
Hi Timo, thanks for your answer. we run Dovecot 2.2.13 on Debian Wheezy with a couple thousand mailboxes. We have two users that repeatedly trigger an OOM condition with IMAP. Jun 23 12:53:21 lxmhs74 dovecot: imap(USER): Fatal: pool_system_realloc(268435456): Out of memory .. #6 0x7f117

Re: stripping extension from domain name

2014-07-03 Thread Daniel Parthey
On 3. Juli 2014 12:36:10 MESZ, Jerry wrote: >Thu, 3 Jul 2014 06:29:06 -0400 > >I know that the "%d" parameter is for the domain. Is there any way to >use >just the domain name sans its extension. > >EXAMPLE: > >example.com ==> example I don't know of any. >Also, I have a lot of logging going on

Re: Permissions with mailman

2014-07-03 Thread Niklas Lemcke - 林樂寬
On Thu, 03 Jul 2014 12:49:14 -0700 Robert L Mathews wrote: > On 7/3/14, 11:03 AM, Niklas Lemcke - 林樂寬 wrote: > > > Jul 2 15:29:39 blade01 dovecot: lda(list): Error: user list: > > Initialization failed: Initializing mail storage from mail_location > > setting failed: mkdir(/var/mail/vmail//list

Re: [Dovecot] dovecot: disable ssl compression

2014-07-03 Thread Timo Sirainen
On 20.5.2014, at 22.49, Andreas Schulze wrote: > Jiri Bourek: >> Well they seem to know what they are talking about. The description >> of the threat in linked screenshot says "attacker needs to have >> ability to submit any plain text" > > I wrote the attached patch to add SSL_OP_NO_COMPRESSION

Re: Permissions with mailman

2014-07-03 Thread Robert L Mathews
On 7/3/14, 11:03 AM, Niklas Lemcke - 林樂寬 wrote: > Jul 2 15:29:39 blade01 dovecot: lda(list): Error: user list: > Initialization failed: Initializing mail storage from mail_location > setting failed: mkdir(/var/mail/vmail//list/mail) failed: Permission > denied (euid=38(list) egid=38(list) > Now

Re: OT - Finding/removing duplicate emails - WAS: Re: [Dovecot] dovecot/lmtp munmap()-ing a lot

2014-07-03 Thread Timo Sirainen
On 10.6.2014, at 14.05, Charles Marcus wrote: > On 6/9/2014 5:44 PM, Ralf Hildebrandt wrote: >> That's probably the problem here. The user had LOTS of (duplicate!) >> mails in his inbox. > > Anyone ever found a reliable way to do this? > > It sure would be nice if dovecot could perform this on

Re: ACL configuration migration from Dovecot 2.1.17 to 2.2.13

2014-07-03 Thread Timo Sirainen
On 11.6.2014, at 15.52, Iavor Stoev wrote: > I'm preparing migration to the latest Dovecot version 2.2.13 > from the previous stable branch 2.1.17 which is deployed on my servers. > > With version 2.1.17 I use global acl dir to prevent all mail users to delete > their INBOX.Junk Mail folder, wh

Re: [Dovecot] fts_lucene - hiding lucene-indexes folder?

2014-07-03 Thread Larry Rosenman
Yeah, I see that now -- I needed to move all my users lucene-indexes, or they'll get rebuilt over time.. On Thu, Jul 3, 2014 at 1:58 PM, Timo Sirainen wrote: > Try the latest hg version. The lucene-indexes directory should be hidden > under .imap/ directory. > > On 3.7.2014, at 20.55, Larry

Re: BUG: Mail folder with space in its name is not supported in the global acl file

2014-07-03 Thread Timo Sirainen
On 16.6.2014, at 11.13, Iavor Stoev wrote: > I tried to escape it with "",'',/ and enclose the whole name with "" & '' > without success Added: http://hg.dovecot.org/dovecot-2.2/rev/40dc5774aa69

Re: [Dovecot] fts_lucene - hiding lucene-indexes folder?

2014-07-03 Thread Timo Sirainen
Try the latest hg version. The lucene-indexes directory should be hidden under .imap/ directory. On 3.7.2014, at 20.55, Larry Rosenman wrote: > Timo, >Is there any chance of this happening (making lucene-indexes \NOSELECT)? > > > On Fri, May 9, 2014 at 12:38 PM, Robert Schetterer wrote:

Re: OOM in Dovecot 2.2.13 imap

2014-07-03 Thread Timo Sirainen
Actually, I think these fix it: http://hg.dovecot.org/dovecot-2.2/rev/5740cb57d02c http://hg.dovecot.org/dovecot-2.2/rev/00b3aa3842b7 On 3.7.2014, at 21.28, Timo Sirainen wrote: > On 23.6.2014, at 15.18, Bernhard Schmidt wrote: > >> we run Dovecot 2.2.13 on Debian Wheezy with a couple thousan

Re: OOM in Dovecot 2.2.13 imap

2014-07-03 Thread Timo Sirainen
On 23.6.2014, at 15.18, Bernhard Schmidt wrote: > we run Dovecot 2.2.13 on Debian Wheezy with a couple thousand mailboxes. > We have two users that repeatedly trigger an OOM condition with IMAP. > > Jun 23 12:53:21 lxmhs74 dovecot: imap(USER): Fatal: > pool_system_realloc(268435456): Out of mem

Re: Permissions with mailman

2014-07-03 Thread Niklas Lemcke - 林樂寬
On Wed, 2 Jul 2014 15:49:56 +0800 Niklas Lemcke - 林樂寬 wrote: > Hi, > > I'm running a Mailserver, and recently also a Mailinglist. > > I'm sporting > # dovecot --version > 2.1.7 > on a debian stable machine with postfix & mailman. Everything works > fine, except that no archive is being created

Re: Bug/feature: mail fs pollution on IMAP select namespace/{non-existent}

2014-07-03 Thread Timo Sirainen
On 24.6.2014, at 16.04, Peter Benko wrote: > I have noticed a strange behavior with dovecot (tested with 2.2.13). I use > shared folders to share mailboxes between users. I have a namespace called > "Accounts" that hosts the shared folder for the users (prefix Accounts/%%n/). > However, When I

Re: Dsync replication one-way

2014-07-03 Thread Timo Sirainen
On 24.6.2014, at 18.04, Muriel wrote: > Hi all, > I know that I can do a backup using doveadm: > doveadm backup -u user ssh backup.server doveadm dsync-server -u user > > But it's possible to use replicator service to do the same job? Or dsync with > replicator can only be used in a two-way env

Re: IMAP sessions quit when calling MYRIGHTS on shared namespace

2014-07-03 Thread Timo Sirainen
On 25.6.2014, at 10.11, Franz Knipp wrote: > the IMAP connection is dropped, when I call MYRIGHTS on the root of my > shared folders. > > . MYRIGHTS shared Fixed: http://hg.dovecot.org/dovecot-2.2/rev/5f21c78cd7b2

Re: [Dovecot] zlib maildir reindex broken

2014-07-03 Thread Robert Schetterer
Am 03.07.2014 16:55, schrieb Christian Rohmann: > Hey Timo, > > On 02.05.2014 12:37, Timo Sirainen wrote: >>> During a reindex maildir_mail_get_received_date() does an i_stream_stat on >>> the the i_stream_seekable stream created in zlib_mail_cache_open, but this >>> istream does not know about

Re: [Dovecot] fts_lucene - hiding lucene-indexes folder?

2014-07-03 Thread Larry Rosenman
Timo, Is there any chance of this happening (making lucene-indexes \NOSELECT)? On Fri, May 9, 2014 at 12:38 PM, Robert Schetterer wrote: > Am 09.05.2014 19:27, schrieb Larry Rosenman: > > I'm using mbox, so it DOES show up. > > > > thebighonker.lerctr.org /h

Re: [UPDATE]: Another Crash in service imap with version 2.2.13 - Debian Wheezy

2014-07-03 Thread Urban Loesch
Hi, Am 03.07.2014 18:58, schrieb Timo Sirainen: On 26.6.2014, at 16.10, Urban Loesch wrote: The client is trying to use COPY or MOVE command, but the copying fails for some reason and the cleanup code crashes. I can't reproduce this though, so would be helpful to know what exactly it's do

Re: BUG: segfault in auth when user listed multiple times in LDAP

2014-07-03 Thread Timo Sirainen
On 27.6.2014, at 13.24, Laszlo Toth wrote: > I think I found a bug in the auth module. It can be triggered when the userdb > is in LDAP and an user is found multiple times in LDAP. > > Dovecot version 2.2.10 (from ATrpms Testing) running on CentOS 6.5 x64. > > Jun 27 10:34:34 server dovecot: a

Re: question on lmtp logged message

2014-07-03 Thread Timo Sirainen
On 25.6.2014, at 18.45, Leonardo Rodrigues wrote: >I have dovecot running for IMAP4/POP3 and also local delivery through > LMTP. It's working just fine, absolutely no problem on that, setup is fine. > >Anyway, sometimes LMTP seems to not be able to deliver some messages and > keep them

Re: [UPDATE]: Another Crash in service imap with version 2.2.13 - Debian Wheezy

2014-07-03 Thread Timo Sirainen
On 26.6.2014, at 16.10, Urban Loesch wrote: > #1 0x7fbf26650c44 in mailbox_save_cancel (_ctx=) at > mail-storage.c:2116 >ctx = 0xa95500 >keywords = 0x0 >mail = > #2 0x7fbf2665104f in mailbox_save_begin (ctx=ctx@entry=0x7fff64b53048, > input=0xaaaea0) at mail-s

Re: Crash in service imap with version 2.2.13

2014-07-03 Thread Timo Sirainen
On 24.6.2014, at 11.40, Urban Loesch wrote: > yesterday I upgraded to version 2.2.13 under Debian Squeeze. .. > #0 mail_index_strmap_uid_exists (ctx=0x7d33d9f0, uid=8442) at > mail-index-strmap.c:395 > 395 mail-index-strmap.c: No such file or directory. > in mail-index-strmap.c ..

Re: indexer failure: lucene: while doing doveadm commands

2014-07-03 Thread Timo Sirainen
On 1.7.2014, at 18.32, Larry Rosenman wrote: > Jul 1 00:30:00 thebighonker dovecot: indexer-worker(ler): Error: lucene: > Failed to sync mailbox INBOX: Mailbox isn't selectable > Jul 1 00:30:00 thebighonker dovecot: indexer-worker(ler): Panic: file > mailbox-list.c: line 1125 (mailbox_list_tr

Re: dovecot 2.2.13 core dump (signal 11)

2014-07-03 Thread Timo Sirainen
On 19.6.2014, at 9.01, Tom Lieuallen wrote: > namespace { > hidden = yes > inbox = no > list = children > location = maildir:/a1/dove-shared:INDEX=/a2/imap-index/dove-shared/%u > prefix = sharedimap/ > separator = / > type = shared > } type=shared namespaces are meant for mailboxes that u

Re: imap(hardy): Panic: file istream-tee.c: line 138 (i_stream_tee_read): assertion failed: (last_high_offset == input->v_offset + size)

2014-07-03 Thread Timo Sirainen
On 3.7.2014, at 15.52, Hardy Flor wrote: > I'm copy with imapsync (on the new server with dovecot) with a single user > all mails from a old server to the new server. > > The error-message ist after 20-30 minutes in the log, and I must restart the > imapsync. The next mail is normal store on t

Re: [Dovecot] zlib maildir reindex broken

2014-07-03 Thread Christian Rohmann
Hey Timo, On 02.05.2014 12:37, Timo Sirainen wrote: >> During a reindex maildir_mail_get_received_date() does an i_stream_stat on >> the the i_stream_seekable stream created in zlib_mail_cache_open, but this >> istream does not know about the original maildir message file and always >> returns

imap(hardy): Panic: file istream-tee.c: line 138 (i_stream_tee_read): assertion failed: (last_high_offset == input->v_offset + size)

2014-07-03 Thread Hardy Flor
Hello, I'm copy with imapsync (on the new server with dovecot) with a single user all mails from a old server to the new server. The error-message ist after 20-30 minutes in the log, and I must restart the imapsync. The next mail is normal store on the destination box. Hardy

Re: postfix alias and dovecot quota

2014-07-03 Thread Alexandre Ellert
Le 1 juil. 2014 à 04:57, Nick Edwards a écrit : http://dovecot.2317879.n4.nabble.com/Postfix-aliases-with-quota-status-service-td43511.html search for post from Ulrich Zehl Thanks for the link, I use a SQL backend containing user and alias data. So I've changed the user_query to include alia

stripping extension from domain name

2014-07-03 Thread Jerry
Thu, 3 Jul 2014 06:29:06 -0400 I know that the "%d" parameter is for the domain. Is there any way to use just the domain name sans its extension. EXAMPLE: example.com ==> example Also, I have a lot of logging going on in my dovecot log file. I want to limit it to just the barest amount, such as

Re: number of users

2014-07-03 Thread Nick Edwards
Yes there is, kind of, if you use imapproxy (you should be if you run a busy server) it will cache logins for n* time, then doveadm using the IP of the webmail will show them. On 7/3/14, ihab wrote: > Hello, > i using roundcube with dovecot, i have a question if there is possible to > know the n