[Dovecot] v2.1.rc5 (85a9b5236b6c) Error: lmtp client: DNS lookup of $FQDN failed: connect(dns-client) failed: No such file or directory

2012-01-28 Thread Pascal Volk
When the Sieve plugin tries to send a vacation message or redirect a message to another address it fails. dovecot: lmtp(6412, u...@example.com): Error: lmtp client: DNS lookup of orange.example.com failed: connect(dns-client) failed: No such file or directory dovecot: lmtp(6412,

[Dovecot] maildir vs mdbox

2012-01-28 Thread Jean-Daniel Beaubien
Hi, I am planning on running on test between maildir and mdbox to see which is a better fit for my use case. And I'm just looking for general advice/recommendation. I will post any results I obtain here. Important question: I have multiple users hitting the same email account at the same time.

Re: [Dovecot] maildir vs mdbox

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 17.59, Jean-Daniel Beaubien wrote: I am planning on running on test between maildir and mdbox to see which is a better fit for my use case. And I'm just looking for general advice/recommendation. I will post any results I obtain here. Maildir is good for reliability, since

Re: [Dovecot] maildir vs mdbox

2012-01-28 Thread Jean-Daniel Beaubien
Wow, incredible response time :) I have 1 more question which I forgot to put in the initial post. Considering my use case (small number of accounts but alot of emails per account, and I should add that they are mostly small emails, most under 5k, alot under 30k) what mdbox setting would you

Re: [Dovecot] maildir vs mdbox

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 18.13, Jean-Daniel Beaubien wrote: Considering my use case (small number of accounts but alot of emails per account, and I should add that they are mostly small emails, most under 5k, alot under 30k) what mdbox setting would you recommend i start testing with

Re: [Dovecot] maildir vs mdbox

2012-01-28 Thread Jean-Daniel Beaubien
On Sat, Jan 28, 2012 at 11:37 AM, Timo Sirainen t...@iki.fi wrote: On 28.1.2012, at 18.13, Jean-Daniel Beaubien wrote: Considering my use case (small number of accounts but alot of emails per account, and I should add that they are mostly small emails, most under 5k, alot under 30k) what

Re: [Dovecot] Crash on mail folder delete

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 9.15, Daniel L. Miller wrote: Can I do anything to help find this? Folders are still shown in Trash - unable to delete. gdb backtrace would be helpful: http://dovecot.org/bugreport.html and doveconf -n and the folder name.

Re: [Dovecot] v2.1.rc5 (85a9b5236b6c) Error: lmtp client: DNS lookup of $FQDN failed: connect(dns-client) failed: No such file or directory

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 17.34, Pascal Volk wrote: When the Sieve plugin tries to send a vacation message or redirect a message to another address it fails. dovecot: lmtp(6412, u...@example.com): Error: lmtp client: DNS lookup of orange.example.com failed: connect(dns-client) failed: No such file

Re: [Dovecot] v2.1.rc5 (85a9b5236b6c) Error: lmtp client: DNS lookup of $FQDN failed: connect(dns-client) failed: No such file or directory

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 19.29, Timo Sirainen wrote: On 28.1.2012, at 17.34, Pascal Volk wrote: When the Sieve plugin tries to send a vacation message or redirect a message to another address it fails. dovecot: lmtp(6412, u...@example.com): Error: lmtp client: DNS lookup of orange.example.com

Re: [Dovecot] LMTP : Can't handle mixed proxy/non-proxy destinations

2012-01-28 Thread Timo Sirainen
On 27.1.2012, at 12.59, Alexis Lelion wrote: Jan 25 09:05:12 mail01 postfix/lmtp[23934]: A92709300DB: to= user_on_mai...@domain.com, relay=mail01.domain.com[private/dovecot-lmtp], delay=0.07, delays=0.01/0/0/0.06, dsn=4.3.0, status=deferred (host mail01.domain.com[private/dovecot-lmtp] said:

Re: [Dovecot] IMAP to Maildir Migration preserving UIDs?

2012-01-28 Thread Timo Sirainen
On 27.1.2012, at 2.00, Gedalya wrote: Starting program: /usr/bin/doveadm -o imapc_user=j...@example.com -o imapc_password= backup -u j...@example.com -R imapc: Program received signal SIGSEGV, Segmentation fault. mailbox_log_iter_open_next (iter=0x80cbd90) at mailbox-log.c:213 213

Re: [Dovecot] Problem with Postfix + Dovecot + MySQL + Squirrelmail

2012-01-28 Thread Timo Sirainen
On 27.1.2012, at 14.32, Gustavo wrote: #service dovecot start Starting IMAP/POP3 mail server: dovecotLast died with error (see error log for more information): Auth process died too early - shutting down No need to keep guessing the problem. See error log for more information like it says.

Re: [Dovecot] problem compiling imaptest under solaris

2012-01-28 Thread Timo Sirainen
On 25.1.2012, at 16.43, Jürgen Obermann wrote: today I tried to compile imaptest under solaris 10 with studio 11 compiler and got the following error: gmake[2]: Entering directory `/net/fileserv/export/sunsrc/src/imaptest-2019/src' source='client.c' object='client.o' libtool=no \

Re: [Dovecot] Password auth scheme question with mysql

2012-01-28 Thread Timo Sirainen
On 25.1.2012, at 2.03, Ed W wrote: The error seems to be that I set the pass variable in my password_query to set the master password for the upstream proxied to server. I can't actually remember now why this was required, but it was necessary to allow the proxy to work correctly in the

Re: [Dovecot] [PATCH] autoconf small fix

2012-01-28 Thread Timo Sirainen
On 24.1.2012, at 17.58, Luca Di Vizio wrote: the attached patch seems to solve a warning from autoconf: libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. I have considered it before, but

Re: [Dovecot] Quota-warning and setresgid

2012-01-28 Thread Timo Sirainen
On 10.1.2012, at 11.34, l.chelchowski wrote: Jan 10 10:15:06 lda: Debug: auth input: tes...@domain.eu home=/home/vmail/domain.eu/tester/ mail=maildir:/home/vmail/domain.eu/tester/:INDEX=/var/mail/vmail/domain.eu/tes...@domain.eu/index/public uid=101 gid=12 quota_rule=*:storage=2097

Re: [Dovecot] UID 0 problem while issuing an UID THREAD REFS command

2012-01-28 Thread Timo Sirainen
On 23.1.2012, at 14.55, Jesús M. Navarro wrote: I'm having problems on a maildir due to dovecot returning an UID 0 to an UID THREAD REFS command: I'm sending to your personal address a whole maildir that reproduces the bug (it's very short) to avoid having it published in the mail

Re: [Dovecot] where is subscribed list stored?

2012-01-28 Thread Timo Sirainen
On 22.1.2012, at 15.55, Michael Makuch wrote: I use dovecot locally for internal only access to my email archives, of which I have many gigs of email archives. Over time I end up subscribing to a couple dozen different IMAP email folders. Problem is that periodically my list of subscribed

Re: [Dovecot] MySQL server has gone away

2012-01-28 Thread Timo Sirainen
On 13.1.2012, at 20.29, Mark Moseley wrote: If there are multiple hosts, it seems like the most robust thing to do would be to exhaust the existing connections and if none of those succeed, then start a new connection to one of them. It will probably result in much more convoluted logic but

Re: [Dovecot] imap-login process_limit reached

2012-01-28 Thread Timo Sirainen
On 17.1.2012, at 16.23, Michael Orlitzky wrote: First of all, feature request: doveconf -d show the default value of all settings Done: http://hg.dovecot.org/dovecot-2.1/rev/41cb0217b7c3

Re: [Dovecot] 2.1.rc3 (1a722c7676bb):dsync umlaut problems

2012-01-28 Thread Timo Sirainen
On 13.1.2012, at 5.10, Pascal Volk wrote: All umlauts in mailbox names are lost after converting mbox/Maildir mailboxes to mdbox. Looks like it was a generic problem in v2.1 dsync. Fixed: http://hg.dovecot.org/dovecot-2.1/rev/ef6f3b7f6038

Re: [Dovecot] moving mail out of alt storage

2012-01-28 Thread Timo Sirainen
On 12.1.2012, at 20.32, Mark Moseley wrote: On Wed, 2011-09-14 at 23:17 -0400, Micah Anderson wrote: I moved some mail into the alt storage: doveadm altmove -u jo...@example.com seen savedbefore 1w and now I want to move it back to the regular INBOX, but I can't see how I can do that

Re: [Dovecot] dovecot 2.0.15 - purge errors

2012-01-28 Thread Timo Sirainen
On 13.1.2012, at 8.20, Kamil Jońca wrote: Dovecot 2.0.15, debian package, am I lost some mails? How can I check what is in *.broken file? You can look at the .broken file with text editor for example :) --8---cut here---start-8--- $doveadm -v purge

Re: [Dovecot] MySQL server has gone away

2012-01-28 Thread Robert Schetterer
Am 28.01.2012 21:07, schrieb Timo Sirainen: On 13.1.2012, at 20.29, Mark Moseley wrote: If there are multiple hosts, it seems like the most robust thing to do would be to exhaust the existing connections and if none of those succeed, then start a new connection to one of them. It will

Re: [Dovecot] dovecot 2.0.15 - purge errors

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 23.04, Timo Sirainen wrote: 299692 - 291500 = 8192 = output stream's buffering size. I guess what happened is that sometimes earlier Dovecot crashed while it was saving a message, but it had managed to write 8192 bytes. Now purging notices the extra 8192 bytes and wonders

Re: [Dovecot] howto disable indexing on dovecot-lda ?

2012-01-28 Thread Timo Sirainen
On 11.1.2012, at 19.30, Adrian Minta wrote: Hello, I tested with mail_location = whatever-you-have-now:INDEX=MEMORY and it seems to help, but in the mean time I found another option completely undocumented that seems to do exactly what I wanted: protocol lda {

Re: [Dovecot] A small bug and a question about CONTEXT=SEARCH

2012-01-28 Thread Timo Sirainen
On 11.1.2012, at 17.57, Anders wrote: Sorry, apparently I was a bit too fast there. ADDTO and REMOVEFROM should not be sent by a client, but I think that a client can send CONTEXT as a hint to the server, see http://tools.ietf.org/html/rfc5267#section-4.2 Yes, that was a bug. Thanks,

Re: [Dovecot] sieve under lmtp using wrong homedir ?

2012-01-28 Thread Timo Sirainen
On 11.1.2012, at 17.35, Frank Post wrote: All is working well except lmtp. Sieve scripts are correctly saved under /var/vmail/test.com/test/sieve, but under lmtp sieve will use /var/vmail//testuser/ Uid testuser has mail=t...@test.com configured in ldap. As i could see in the debug

Re: [Dovecot] MySQL server has gone away

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 23.06, Robert Schetterer wrote: doc/example-config/dovecot-sql.conf.ext from hg has something like # Database connection string. This is driver-specific setting. # HA / round-robin load-balancing is supported by giving multiple host # settings, like: host=sql1.host.org

Re: [Dovecot] maildir vs mdbox

2012-01-28 Thread Timo Sirainen
On 28.1.2012, at 19.02, Jean-Daniel Beaubien wrote: Btw, when I migrate my emails from Maildir to mdbox, dsync should take into account the rotate_size parameter. If I want to change the rotate_size parameter, I simply edit the config file, change the parameter (erase the mdbox folder?) and

Re: [Dovecot] compressed mboxes very slow

2012-01-28 Thread Timo Sirainen
I wonder if this patch helps here: http://hg.dovecot.org/dovecot-2.0/rev/9b2931607063 At least I can't now see any slowness with either v2.1 or the latest v2.0. But I don't know if I would have slowness with older versions either..

Re: [Dovecot] MySQL server has gone away

2012-01-28 Thread Robert Schetterer
Am 28.01.2012 23:17, schrieb Timo Sirainen: On 28.1.2012, at 23.06, Robert Schetterer wrote: doc/example-config/dovecot-sql.conf.ext from hg has something like # Database connection string. This is driver-specific setting. # HA / round-robin load-balancing is supported by giving multiple

Re: [Dovecot] 2.0.17: Index lost - SAVEDON lost as well?

2012-01-28 Thread Timo Sirainen
On 9.1.2012, at 16.57, Timo Sirainen wrote: After that, the SAVEDON date for all mails was reset to today: Yeah. The save date is stored only in index. And index rebuild drops all those fields. I guess this could/should be fixed in index rebuild. Fixed:

Re: [Dovecot] Attribute Cache flush errors on FreeBSD 8.2

2012-01-28 Thread Timo Sirainen
On 7.1.2012, at 2.21, Phil Kernick wrote: I'm running dovecot 2.0.16 on FreeBSD 8.2 with the mail spool and indexes on an NFS server. Lines like the following keep appearing in syslog for access to each mailbox: Error: nfs_flush_attr_cache_fd_locked: fchown(/home/philk/Mail/Deleted)

Re: [Dovecot] 2.1.rc1 (056934abd2ef): virtual plugin mailbox search pattern

2012-01-28 Thread Timo Sirainen
On 23.12.2011, at 19.33, e-frog wrote: For testing propose I created the following folders with each containing one unread message INBOX, INBOX/level1 and INBOX/level1/level2 .. Result: virtual/unread shows only 1 unseen message. Further tests showed it's the one from INBOX. The mails

[Dovecot] Migration to multi-dbox and SiS

2012-01-28 Thread Ronald MacDonald
Dear list, A huge thank-you first of all for all the work that's gone into Dovecot itself. I'm rebuilding a mail server next week and so, taking the rare opportunity to re-consider all the options I've had running over the past couple of years. Around the time of the last re-build (2010),

Re: [Dovecot] Migration to multi-dbox and SiS

2012-01-28 Thread Timo Sirainen
On 29.1.2012, at 1.16, Ronald MacDonald wrote: Around the time of the last re-build (2010), there had been some discussion on single instance storage, which was quite new on Dovecot around then. I chickened out of setting it up though. Now with it having been in the wild for a couple of

Re: [Dovecot] MySQL server has gone away

2012-01-28 Thread Mark Moseley
On Sat, Jan 28, 2012 at 12:07 PM, Timo Sirainen t...@iki.fi wrote: On 13.1.2012, at 20.29, Mark Moseley wrote: If there are multiple hosts, it seems like the most robust thing to do would be to exhaust the existing connections and if none of those succeed, then start a new connection to one