[Dovecot] New log entries with 2.0.19?

2012-08-31 Thread Knute Johnson
I just upgraded my Ubuntu server from 11.10 to 12.04.1 and that upgraded Dovecot to 2.0.19. For some reason I'm getting a lot more (5 times) disconnect in IDLE and inactivity time outs. I'm using only IMAP with two users. Both users access the server from multiple devices, phone, tablet and

[Dovecot] dovecotadm error

2012-08-31 Thread Michael
When I use the following command: doveadm expunge -A mailbox Junk savedbefore 28d I get: doveadm(root): Error: User listing returned failure In the mail log file it says: dovecot: auth-worker(18549): Error: sql: Iterate query failed: Table 'system.users' doesn't exist (using built-in default it

Re: [Dovecot] How Converting/Using courier-userdb Files ?

2012-08-31 Thread Pascal Volk
On 08/31/2012 03:51 PM Dirk Caspari wrote: > Hello, > > how can i convert/use the Original userdb-Files from courier Installation ? > The files are looking like a "Special"-DB-Format and are not readable. > - > #file /etc/courier/userdb.dat > /etc/courier/userdb.dat: GNU dbm 1.x or

Re: [Dovecot] Imap Ghost folder

2012-08-31 Thread Sven Hartge
Sascha Zucca wrote: > Am 31.08.2012 16:06, schrieb Timo Sirainen: >> On 31.8.2012, at 16.59, Sascha Zucca wrote: >>> So i guess >>> * LIST (\Noselect \HasNoChildren) "/" "Freigaben/" >>> is the Problem... >> Yes. The problem is, I don't see it even with v2.1.7. Although I do >> see that when a us

Re: [Dovecot] Dovecot generate file when over quota detected

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 17.23, Dominic Malolepszy wrote: > On 31/08/2012 11:40 PM, Timo Sirainen wrote: >> On 23.8.2012, at 9.48, Dominic Malolepszy wrote: >> >>> I am curious if Dovecot can add an empty file into a Maildir folder as soon >>> as a mailbox has exceeded 100% capacity, and later when it d

Re: [Dovecot] Dovecot generate file when over quota detected

2012-08-31 Thread Dominic Malolepszy
On 31/08/2012 11:40 PM, Timo Sirainen wrote: On 23.8.2012, at 9.48, Dominic Malolepszy wrote: I am curious if Dovecot can add an empty file into a Maildir folder as soon as a mailbox has exceeded 100% capacity, and later when it detects the quota has fallen below 100% unlink the file. The ide

Re: [Dovecot] Imap Ghost folder

2012-08-31 Thread Sascha Zucca
Am 31.08.2012 16:06, schrieb Timo Sirainen: On 31.8.2012, at 16.59, Sascha Zucca wrote: So i guess * LIST (\Noselect \HasNoChildren) "/" "Freigaben/" is the Problem... Yes. The problem is, I don't see it even with v2.1.7. Although I do see that when a user sees zero shared mailboxes, but that

[Dovecot] How Converting/Using courier-userdb Files ?

2012-08-31 Thread Dirk Caspari
Hello, how can i convert/use the Original userdb-Files from courier Installation ? The files are looking like a "Special"-DB-Format and are not readable. - #file /etc/courier/userdb.dat /etc/courier/userdb.dat: GNU dbm 1.x or ndbm database, little endian - /etc/co

Re: [Dovecot] [Postfix] SASL Auth. using Dovecot with password forwarding proxy configuration

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 5.51, Adi Pircalabu wrote: > I'm relatively new to Dovecot and I did a bit of search but couldn't > find a possible solution for the particular setup I'm working on. > Basically I have an SMTP/POP/IMAP proxy setup running Postfix & > Dovecot. IMAP/POP authentication is done using

Re: [Dovecot] Imap Ghost folder

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 16.59, Sascha Zucca wrote: > So i guess > * LIST (\Noselect \HasNoChildren) "/" "Freigaben/" > is the Problem... Yes. The problem is, I don't see it even with v2.1.7. Although I do see that when a user sees zero shared mailboxes, but that has also been fixed with v2.1.9. So I'd

Re: [Dovecot] Imap Ghost folder

2012-08-31 Thread Sascha Zucca
Hi and thanks for replying! Here's what you asked for: _*with %%n:*_ 1 LIST "" * * LIST (\HasNoChildren) "/" "Papierkorb" * LIST (\HasNoChildren) "/" "Gesendete Objekte" * LIST (\HasNoChildren) "/" "Spam" * LIST (\HasNoChildren) "/" "Entw&APw-rfe" * LIST (\HasNoChildren) "/" "INBOX" * LIST (\No

Re: [Dovecot] LDAP auth and multiple attributes to construct the mail path

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 2.45, Anatoly Ivanov wrote: > So I am trying to construct mail path for my LDAP user lookups, and i need > to use two attributes instead of one. > > For examle, my LDAP directory has two attributes: departmentAttr and > userIDAttr, and I want the maildir to reside in > /home/${de

Re: [Dovecot] mail_location / mail_home

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 11.15, Denny Schierz wrote: > Am 31.08.2012 um 09:55 schrieb Denny Schierz: >> >> mail_home = /imap/spool/%d/%1u/%u >> mail_location = maildir:~/:INDEX=~/ > > I think, it doesn't make any difference, if I have "~" or a fixed path :-/ > On the productive system (also 2.1.9) I g

Re: [Dovecot] Length of attachment filenames

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 15.27, Fuhrmann, Hauke wrote: > I have a beginners question to Dovecot: does it have a restriction on > the supported length and character encodings of filenames of > attachments? > > Can filenames be arbitrary large? The filenames in IMAP's BODYSTRUCTURE reply probably get tru

Re: [Dovecot] Vpopmail Dynamic Authentication Module

2012-08-31 Thread Timo Sirainen
On 24.8.2012, at 16.42, Eric Sisolak wrote: > I had to modify the command to build the module, but was able to > successfully build it: > gcc -shared -fPIC -DHAVE_CONFIG_H -DUSERDB_VPOPMAIL -DPASSDB_VPOPMAIL > -I../.. -I../lib -I/home/vpopmail/include -I/home/vpopmail/lib > userdb-vpopmail.c passd

Re: [Dovecot] pop3 migration

2012-08-31 Thread Timo Sirainen
On 23.8.2012, at 16.40, TeTeHacko wrote: > I have problems with pop3 migration, the server disconect the dovesync when > fetching mails after 5 minutes with this error in server log: > > xx.xx.xx.xx [28F4] 11:54:05 <<< RETR 6548 > xx.xx.xx.xx [28F4] 11:54:05 >>> +OK 47522 octets > xx.xx.xx.xx

Re: [Dovecot] Dovecot generate file when over quota detected

2012-08-31 Thread Timo Sirainen
On 23.8.2012, at 9.48, Dominic Malolepszy wrote: > I am curious if Dovecot can add an empty file into a Maildir folder as soon > as a mailbox has exceeded 100% capacity, and later when it detects the quota > has fallen below 100% unlink the file. The idea is the Dovecot LDA would > deliver the

Re: [Dovecot] Imap Ghost folder

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 11.16, Sascha Zucca wrote: > Hi! > Still noone? > strange...this must be some easy thing to solve if you're familiar with > dovecot, i thought. No. I can't reproduce it. What does your LIST "" * reply look like now with v2.1?

Re: [Dovecot] exclude a folder for lazy expunge (move to trash)

2012-08-31 Thread Timo Sirainen
On 22.8.2012, at 11.01, Angel L. Mateo wrote: > I'm configuring lazy expunge plugin to act as a kind of backup of my > user's emails. > > I'm getting a little problem because a lot of my users use "move to > trash" behaviour in their email client (most of them are using thunderbird

Re: [Dovecot] segfault in mail_user_get_home()

2012-08-31 Thread Timo Sirainen
I couldn't reproduce it with your config, but I figured out the cause of it anyway. Fixed: http://hg.dovecot.org/dovecot-2.1/rev/6b9db780b47d On 21.8.2012, at 15.45, Lazy wrote: > it was shared namespace with empty location that produced the error > so : > namespace test { > list = children >

Re: [Dovecot] Variables in LDAP userdb

2012-08-31 Thread Timo Sirainen
On 21.8.2012, at 11.44, Alex Crow wrote: > To clarify, what happens in these case with regard to the default > mail_location set in the config files (ie is it used or overridden): > > 1. The LDAP attribute referenced in the userdb lookup exists but is empty The value will be overridden as empty

[Dovecot] Length of attachment filenames

2012-08-31 Thread Fuhrmann, Hauke
Hi there, I have a beginners question to Dovecot: does it have a restriction on the supported length and character encodings of filenames of attachments? Can filenames be arbitrary large? Cheers, Hauke -- Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte Informationen enth

Re: [Dovecot] Merge multiple doveadm commands

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 13.01, Ralf Hildebrandt wrote: > Can I merge these three commands into one? > > doveadm expunge -u %s mailbox \"INBOX.Deleted Messages\" NOT NEW > doveadm expunge -u %s mailbox INBOX.Trash NOT NEW > doveadm expunge -u %s mailbox INBOX deleted doveadm expunge -u %s \( mailbox \"I

[Dovecot] Merge multiple doveadm commands

2012-08-31 Thread Ralf Hildebrandt
Can I merge these three commands into one? doveadm expunge -u %s mailbox \"INBOX.Deleted Messages\" NOT NEW doveadm expunge -u %s mailbox INBOX.Trash NOT NEW doveadm expunge -u %s mailbox INBOX deleted -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin

[Dovecot] Possible mbox corruption if mail is saved with wrong Content-Length header (2.1.6)

2012-08-31 Thread Jost Krieger
One of our users likes to delete attachments from his mails. He is using roundcube and we installed a plugin for that. He reports that from time to time one of his mails gets corrupted (cut off in the middle). I could verify there is something wrong in the logs: imap(x1234567): Error: Cached mes

Re: [Dovecot] Imap Ghost folder

2012-08-31 Thread Sascha Zucca
Hi! Still noone? strange...this must be some easy thing to solve if you're familiar with dovecot, i thought. Anyways, thanks for any help Sascha Am 30.08.2012 08:43, schrieb Sascha Zucca: Hi! I am very sorry, i thought i had done so before. Well here ist is: dovecot -n # 2.1.7: /etc/dovecot

Re: [Dovecot] mail_location / mail_home

2012-08-31 Thread Denny Schierz
Am 31.08.2012 um 09:55 schrieb Denny Schierz: > > mail_home = /imap/spool/%d/%1u/%u > mail_location = maildir:~/:INDEX=~/ I think, it doesn't make any difference, if I have "~" or a fixed path :-/ On the productive system (also 2.1.9) I get messages like: [...] dovecot.lda-dupes/tmp) failed:

[Dovecot] mail_location / mail_home

2012-08-31 Thread Denny Schierz
hi, I had a long (upgraded today from 2.0.17 to 2.1.9) time mail_location and mail_home at the same path, which I recognize know, that it wasn't a good idea, idea. On my testsystem I've set: mail_home = /imap/spool/%d/%1u/%u mail_location = maildir:~/:INDEX=~/ otherwise I don't have access to