[Dovecot] Deliver mail as 'read'?

2008-07-20 Thread Peter Collinson
I'd like to be able to deliver certain mail as 'read' from procmail. My procmail rules call deliver with -m to directly to inject filtered mail to maildir based directories. I like to keep copies of mail I've sent by cc'ing it to myself and using procmail to filter and store copies in the a

Re: [Dovecot] v1.1.2 release candidate

2008-07-20 Thread Thomas Zajic
* Timo Sirainen, 2008-07-21 00:11 I've finally read and answered most of the mails on this list. If you haven't received an answer to your question, resend it. [...] Segfaults with fts_lucene enabled - the bug report is/was for 1.1.0, but it should still be valid for 1.1.1, as there were no c

Re: [Dovecot] Mails "invisible" (index corrupted?)

2008-07-20 Thread Patrick Nagel
Hi Timo, thanks for getting back to me :) On Sunday 20 July 2008, Timo Sirainen wrote: > On Wed, 2008-07-16 at 16:43 +0800, Patrick Nagel wrote: > > Hi, > > > > I got a complaint from a user today, that a few mails "disappeared" from > > her Inbox, both when accessing via IMAP with Thunderbird an

Re: [Dovecot] How can i get original mail subject in sieve vacation?

2008-07-20 Thread Zhang Huangbin
Stephan Bosch wrote: Yes, the new Sieve implementation supports this behavior. This is a typical case of the new variables extension to the rescue. The following script shows a tested example of how this would be achieved: v

Re: [Dovecot] How can i get original mail subject in sieve vacation?

2008-07-20 Thread Zhang Huangbin
Timo Sirainen wrote: On Sun, 2008-07-13 at 03:41 +0800, Zhang Huangbin wrote: Hi, all. I want to mix some new words and original mail subject as vacation subject, how can i get original mail subject in sieve vacation? Original subject: Hello. Vacation subject: Auto-Reply msg: Hello.

Re: [Dovecot] Dovecot 1.1.1 killed with SIGABRT

2008-07-20 Thread Timo Sirainen
On Mon, 2008-07-21 at 03:28 +0300, Timo Sirainen wrote: > > INBOX with 350 messages in total, 3 of them new. Started Thunderbird, > > index page is displayed fine, then clicked on one of the 3 new messages > > to read it. For no apparent reason, Dovecot dies with signal 6. > > Thunderbird reconnec

Re: [Dovecot] Dovecot 1.1.1 killed with SIGABRT

2008-07-20 Thread Timo Sirainen
On Mon, 2008-07-21 at 01:24 +0200, Andreas M. Kirchwitz wrote: > First, the "small" problem with Pine 4.64: > > Jul 20 03:17:04 linux dovecot: imap-login: Login: user=, > method=CRAM-MD5, rip=138.201.2.8, lip=138.201.2.2, TLS > Jul 20 03:17:53 linux dovecot: IMAP(user1): UIDVALIDITY changed (1215

Re: [Dovecot] Multiple quota roots with quota-fs backend

2008-07-20 Thread Timo Sirainen
On Mon, 2008-07-21 at 01:34 +0200, Ralf Becker wrote: > Timo Sirainen schrieb am 20.07.2008 20:40: > > The rest I added only to v1.2, at least for now: > > http://hg.dovecot.org/dovecot-1.2/rev/796307638449 > > > > I also thought that the root checking usually isn't necessary if there's > > only a

Re: [Dovecot] AIX: mntctl implementation for NFS quota support

2008-07-20 Thread Ralf Becker
Timo Sirainen schrieb am 20.07.2008 18:01: Committed with a few changes, could you try if it still works? :) http://hg.dovecot.org/dovecot-1.1/rev/ecc57955b99d There is a small compiling issue: --- dovecot-1.1.2-orig/src/lib/mountpoint.c 2008-07-20 17:56:16.0 +0200 +++ dovecot

Re: [Dovecot] Multiple quota roots with quota-fs backend

2008-07-20 Thread Ralf Becker
Timo Sirainen schrieb am 20.07.2008 20:40: The rest I added only to v1.2, at least for now: http://hg.dovecot.org/dovecot-1.2/rev/796307638449 I also thought that the root checking usually isn't necessary if there's only a single quota root, so it skips it then. I'm not sure with that, becaus

[Dovecot] Dovecot 1.1.1 killed with SIGABRT

2008-07-20 Thread Andreas M. Kirchwitz
Hi folks, with Dovecot 1.1.1, I've had two "crashes" (SIGABRT) recently. Dovecot 1.1.1 has been compiled from source and is running on Fedora 8 Linux 32 Bit (all patches) with custom OpenSSL 0.9.8h. [ output of "dovecot -n" ] # 1.1.1: /usr/local/dovecot/etc/dovecot.conf ssl_cert_file: /usr/local/

Re: [Dovecot] How can i get original mail subject in sieve vacation?

2008-07-20 Thread Stephan Bosch
Timo Sirainen wrote: On Sun, 2008-07-13 at 03:41 +0800, Zhang Huangbin wrote: Hi, all. I want to mix some new words and original mail subject as vacation subject, how can i get original mail subject in sieve vacation? Original subject: Hello. Vacation subject: Auto-Reply msg: Hello.

[Dovecot] v1.1.2 release candidate

2008-07-20 Thread Timo Sirainen
I've finally read and answered most of the mails on this list. If you haven't received an answer to your question, resend it. There are a couple of tricky mbox issues left, but I'm not sure if I can do anything about them unless someone can show me how to reproduce the problems. There are quite a

Re: [Dovecot] fs quota check with server does not support rquotad

2008-07-20 Thread Timo Sirainen
On Tue, 2008-07-15 at 18:17 +0800, Grandy Fu wrote: > dovecot: Jul 15 18:13:21 Error: IMAP(01234567g): fcntl(0, F_GETFL) > failed: Bad file number > dovecot: Jul 15 18:13:21 Fatal: IMAP(01234567g): fd_set_nonblock(0) > failed: Bad file number Fixed: http://hg.dovecot.org/dovecot-1.1/rev/2bd9f6fe

Re: [Dovecot] folder deletion fails dbox /more debug /solved

2008-07-20 Thread Timo Sirainen
On Thu, 2008-07-17 at 12:22 +0200, Robert Schetterer wrote: > Patrick Nagel schrieb: > > On Thu, 17 Jul 2008 00:19:34 +0200, Robert Schetterer > > <[EMAIL PROTECTED]> wrote: > >> as stated in http://wiki.dovecot.org/Clients > >> with mbox and thunderbird > >> > >> You should enable tb-extra-mailbox

Re: [Dovecot] quota vs. antispam issue

2008-07-20 Thread Timo Sirainen
On Fri, 2008-07-18 at 20:12 +0200, Johannes Berg wrote: > On Fri, 2008-07-18 at 20:58 +0300, Timo Sirainen wrote: > > > So the quota code eventually sees both ctx->dest_mail = NULL and qt- > > >tmp_mail = NULL. I'm not really sure what the right fix for this > > is.. ctx->dest_mail should be s

[Dovecot] Moving from pysieved to native ManageSieve?

2008-07-20 Thread Bjørn T Johansen
If moving from pysieved to Dovecot native ManageSieve implementation, should this just work or do I need to do anything with existing sieve filter rule files, etc? Any reasons not to do the switch? Regards, BTJ -- ---

Re: [Dovecot] "Errors" in logfile after upgrading to 1.1.1?

2008-07-20 Thread Bjørn T Johansen
On Sun, 20 Jul 2008 23:24:26 +0300 Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Sun, 2008-07-20 at 22:07 +0200, Bjørn T Johansen wrote: > > > On Sat, 2008-07-19 at 23:31 +0200, Bjørn T Johansen wrote: > > > > Not sure but I mean I didn't have these in the log file before the > > > > upgrade:

Re: [Dovecot] "Errors" in logfile after upgrading to 1.1.1?

2008-07-20 Thread Timo Sirainen
On Sun, 2008-07-20 at 22:07 +0200, Bjørn T Johansen wrote: > > On Sat, 2008-07-19 at 23:31 +0200, Bjørn T Johansen wrote: > > > Not sure but I mean I didn't have these in the log file before the > > > upgrade: > > > > > > auth(default): passwd([EMAIL PROTECTED]): unknown user > > > auth(defau

Re: [Dovecot] v1.1.1: Some files not created with dovecot-shared permissions

2008-07-20 Thread Timo Sirainen
On Sun, 2008-07-20 at 21:19 +0300, Timo Sirainen wrote: > As for subscriptions and maildirsize .. well, those are more difficult > and I'm not sure if I should do such a change for v1.1.x releases > anymore since it would change the behavior. > > dovecot-shared file is supposed to be a per-mailbox

Re: [Dovecot] "Errors" in logfile after upgrading to 1.1.1?

2008-07-20 Thread Bjørn T Johansen
On Sun, 20 Jul 2008 19:02:22 +0300 Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Sat, 2008-07-19 at 23:31 +0200, Bjørn T Johansen wrote: > > Not sure but I mean I didn't have these in the log file before the > > upgrade: > > > > auth(default): passwd([EMAIL PROTECTED]): unknown user > > auth

Re: [Dovecot] Upgrade to 1.1 maildir & shared folders problems

2008-07-20 Thread Timo Sirainen
On Mon, 2008-07-07 at 10:22 +0300, [EMAIL PROTECTED] wrote: > > On Mon, 30 Jun 2008 [EMAIL PROTECTED] wrote: > > > > > > > Seems to be quota plugin related, i removed the plugin and i could log on > > with a new user that did not have a maildir yet. > > > > When we upgraded to 1.1 i enabled the q

Re: [Dovecot] Multiple quota roots with quota-fs backend

2008-07-20 Thread Timo Sirainen
On Sat, 2008-07-12 at 17:24 +0200, Ralf Becker wrote: > >> BTW: > >> The patch also includes another AIX specific code enhancement: > >> > >> On AIX the quota block size DEV_BSIZE should be 1024. This is easy to > >> detect, because there is a macro DQBSIZE defined in jfs/quota.h. I've > >> chang

Re: [Dovecot] v1.1.1: Some files not created with dovecot-shared permissions

2008-07-20 Thread Timo Sirainen
On Tue, 2008-06-24 at 17:20 -0300, Eduardo M KALINOWSKI wrote: > Hi, > > I use dovecot-shared to add read permissions to the group in my mail > server, which uses virtual users. This is only to ease backups. > > However, a few files are not created with the permissions in > dovecot-shar

Re: [Dovecot] v1.1.rc13 released

2008-07-20 Thread Timo Sirainen
On Fri, 2008-06-20 at 13:11 +0100, Chris Wakelin wrote: > Hmm, I get two extra compile warnings compared to 1.1.rc12: > > > mail-cache-fields.c: In function `mail_cache_header_fields_update': > > mail-cache-fields.c:485: warning: passing arg 2 of `mail_cache_lock' makes > > integer from pointer

Re: [Dovecot] assertion failed: (seq >= t->first_new_seq && seq <= t->last_new_seq)

2008-07-20 Thread Timo Sirainen
On Thu, 2008-07-03 at 15:42 +0100, Mark Zealey wrote: > OK I've been struggling to get dumps from the live environment most of > the day, but have given up. I've now managed to reproduce this using a > fork-bomb type script; here is a backtrace (no debug version installed, > but I suspect I could r

Re: [Dovecot] plus addressing bug in dovecot 1.1.x?

2008-07-20 Thread Timo Sirainen
On Tue, 2008-06-24 at 13:19 -0700, Andrew Roberts wrote: > On Mon, 23 Jun 2008, Timo Sirainen wrote: > > > The difference is that nowadays deliver supports namespaces. How have > > you configured them? For example if you have INBOX/ prefix for all your > > private mailboxes, you'd have to save the

Re: [Dovecot] exim, LDA, quota

2008-07-20 Thread Timo Sirainen
On Wed, 2008-06-25 at 04:16 +0200, Marcin Gryszkalis wrote: > Hi > I configured Exim with dovecot LDA and added quota (dict/mysql). > It works but it seems that dovecot is not reporting situation back to exim > process - it looks like Exim returns OK(accepted) to smtp sender before the > message

Re: [Dovecot] group ownership of new shared folders

2008-07-20 Thread Timo Sirainen
On Thu, 2008-06-26 at 02:56 +0100, Simon Michelson wrote: > Between versions 1.0.4 and 1.0.5 there were some changes to the > way dovecot-shared group ownership is propogated into new maildirs. > Changing the group of new_dir/{tmp,new,cur} was added, but > changing the group of new_dir itself was r

Re: [Dovecot] No log for hitting login_max_processes_count?

2008-07-20 Thread Timo Sirainen
On Mon, 2008-06-30 at 11:49 -0400, Adam McDougall wrote: > I think today just due to increased use, my mail servers hit > login_max_processes_count. It wasn't obvious what was happening, logins > just weren't acting like they should and sometimes would get > disconnected before given a prompt f

Re: [Dovecot] Expire plugin with Mysql

2008-07-20 Thread Timo Sirainen
On Tue, 2008-07-08 at 15:07 +0800, Dino Ming wrote: > Hi Timo, > > I had setup the expire plugin using proxy dict method with mysql table. > > Whenever I run the command : dovecot --exec-mail ext > /usr/local/libexec/dovecot/expire-tool , I saw dovecot query the table : > Query SELECT path,

Re: [Dovecot] "Errors" in logfile after upgrading to 1.1.1?

2008-07-20 Thread Timo Sirainen
On Sat, 2008-07-19 at 23:31 +0200, Bjørn T Johansen wrote: > Not sure but I mean I didn't have these in the log file before the > upgrade: > > auth(default): passwd([EMAIL PROTECTED]): unknown user > auth(default): prefetch([EMAIL PROTECTED]): passdb didn't return userdb > entries, trying th

Re: [Dovecot] AIX: mntctl implementation for NFS quota support

2008-07-20 Thread Timo Sirainen
On Sun, 2008-07-06 at 18:41 +0200, Ralf Becker wrote: > Hi Timo, > > I've added support for a static mtab buffer. > > Unfortunately 256 Bytes are too small by far. In my case the required > space is about 3 KByte. To avoid unnecessary memory allocation the > static size is determined at configu

Re: [Dovecot] 1.1.1, mbox_snarf and duplicate messages

2008-07-20 Thread Timo Sirainen
This should help: http://hg.dovecot.org/dovecot-1.1/rev/7374114ce7a8 signature.asc Description: This is a digitally signed message part

Re: [Dovecot] FTS/squat search indexes built when?

2008-07-20 Thread Timo Sirainen
On Mon, 2008-07-14 at 08:07 -0400, Jay Levitt wrote: > Timo Sirainen wrote: > > On Sat, 2008-06-14 at 07:56 -0400, Jay Levitt wrote: > >> But what I'm not clear about: Does it then get updated on every delivery > >> by LDA? Or does the index also need to get updated when I do a search, > >> assu

Re: [Dovecot] dovecot-auth assertion failed

2008-07-20 Thread Timo Sirainen
On Mon, 2008-06-16 at 13:06 -0700, Eric wrote: > Hello, > > I have been running some tests on a new Dovecot v1.0.13 server and have seen > the following message appear in the logs a few times. It appears to occur > when there are a lot of requests being sent to the LDAP servers from both > Dove

Re: [Dovecot] Problems with dovecot deliver.

2008-07-20 Thread Timo Sirainen
On Mon, 2008-06-16 at 18:59 +0400, Dpoke wrote: > deliver(dpoke): Jun 16 18:34:16 Error: > open(/tmp/dovecot.deliver..1213626856.2732.ad657cfa5dccbc61) failed: > Permission denied A bit late reply, but clearly the problem is this. Isn't your /tmp directory world-writable or why can't deliver cre

Re: [Dovecot] wrong permission

2008-07-20 Thread Timo Sirainen
On Thu, 2008-06-26 at 11:02 +0200, Cor Bosman wrote: > Im still finding a number of control directories that have the wrong > permission: > > Jun 26 00:02:34 userimap13.xs4all.nl dovecot: IMAP(xxx): > file_dotlock_create(/var/spool/mail/dovecot-control/g/gl/xxx/INBOX/.Apple > Mail To Do/dovecot-

Re: [Dovecot] A couple of dovecot issues I've noted recently...

2008-07-20 Thread Timo Sirainen
On Wed, 2008-07-09 at 17:09 -0700, Dan Price wrote: >  [327616] t_strconcat(str1 = 0x100e77f0 > "tmp/compiler/venus/handoff/build20.2/CDROM/sol-x86/kits/j2sdk_1.4.2_08/patches/J2SE_Solaris_8_x86_Recommended/108994-44/SUNWcsr/.svn/prop-base", > ...), line 335 in "strfuncs.c" > [327617] mbox_li

Re: [Dovecot] file ioloop-iolist.c: line 25 (ioloop_iolist_add): assertion failed: (list->ios[idx] == NULL)

2008-07-20 Thread Timo Sirainen
On Thu, 2008-07-10 at 22:28 +0200, Dirk H wrote: > Hi, > > I am using dovcot on a Fritz!Box (Linux fritz 2.6.19.2 #1 Fri Apr 18 > 16:00:34 CEST 2008 mips unknown) > And after upgrading from 1.0.9 to 1.0.15 I am getting above assertion, > when I do some action like moving or deleting on the IMAP m

Re: [Dovecot] How can i get original mail subject in sieve vacation?

2008-07-20 Thread Timo Sirainen
On Sun, 2008-07-13 at 03:41 +0800, Zhang Huangbin wrote: > Hi, all. > > I want to mix some new words and original mail subject as vacation > subject, how can i get original mail subject in sieve vacation? > > Original subject: Hello. > Vacation subject: Auto-Reply msg: Hello. >

Re: [Dovecot] 'include' feature in sieve 1.1.5

2008-07-20 Thread Timo Sirainen
On Sun, 2008-07-13 at 12:02 +0800, Zhang Huangbin wrote: > Hi, all. > > I use dovecot-1.1.1 and dovecot-1.1.5 which built by atrpms, and i > use 'include' command to include two/several personal sieve rule file, > but if either of these personal sieve rule files is not exist, > sieve_execute_bytec

Re: [Dovecot] IMAP Panic

2008-07-20 Thread Timo Sirainen
On Mon, 2008-07-14 at 10:10 -0300, Raphael Bittencourt S. Costa wrote: > On Sat, 2008-07-12 at 02:05 +0300, Timo Sirainen wrote: > > > On Fri, 2008-07-11 at 13:43 -0300, Raphael Bittencourt S. Costa wrote: > > > Helo all, > > > > > > One of the users is havings problems when he tries to open .Sen

Re: [Dovecot] file mail-transaction-log-view.c: assertion failed (v1.0.12)

2008-07-20 Thread Timo Sirainen
On Mon, 2008-07-14 at 12:52 +0300, Uldis Pakuls wrote: > Timo Sirainen wrote: > > On Thu, 2008-07-10 at 08:07 +0300, Uldis Pakuls wrote: > > > >> Hi all. > >> > >> Looking at previous weeks logs I discovered strange errors: "file > >> mail-transaction-log-view.c: assertion failed" > >> > >> do

Re: [Dovecot] Multiple auth client sockets

2008-07-20 Thread Timo Sirainen
On Mon, 2008-06-30 at 12:08 +0200, Ulrich Zehl wrote: > I use two seperate Postfix instances as MSAs (so that different policies > are simpler to configure), and both of them require Dovecot SASL support. > > Since Postfix' smtpd is chrooted (at least in the Debian package), the > client socket ne

Re: [Dovecot] [Help] quota_rule with LDAP backend, dovecot-1.1.1

2008-07-20 Thread Timo Sirainen
On Fri, 2008-07-04 at 11:03 +0800, Zhang Huangbin wrote: > 8< > mailQuota: 10 # <- 10M > 8< It's still "10" there. > My dovecot-ldap.conf: > > 8< > user_attrs = > homeDirectory=home,mailMessageStore=maildir:mail,mailQuota=quota_rule=*:bytes=%$ > 8< Here you te

Re: [Dovecot] Possible bug in v1.1.1

2008-07-20 Thread Timo Sirainen
On Mon, 2008-07-07 at 15:14 +0300, John Wood wrote: > Greetings, > > I recently upgraded our server from Dovecot 1.0.14 to 1.1.1. I am building > using the FreeBSD ports system, so nothing is custom aside from the flags > set there. > > dovecot fell down a few days after the update with: > > p

Re: [Dovecot] configuration query

2008-07-20 Thread Timo Sirainen
On Wed, 2008-07-16 at 12:10 +1000, Michael Mounteney wrote: > Hello, please excuse my asking a question about simple configuration rather > than something about a suspected bug or other detailed enquiry. > > I've set up dovecot (1.0.13, from http://www.blastwave.org) and when > Thunderbird conne

Re: [Dovecot] Mails "invisible" (index corrupted?)

2008-07-20 Thread Timo Sirainen
On Wed, 2008-07-16 at 16:43 +0800, Patrick Nagel wrote: > Hi, > > I got a complaint from a user today, that a few mails "disappeared" from her > Inbox, both when accessing via IMAP with Thunderbird and in the IMAP Webmail > client (RoundCube Webmail, caching deactivated). > > Searching (in Subj

Re: [Dovecot] BUG: messages created with permissions not respecting

2008-07-20 Thread Timo Sirainen
On Thu, 2008-07-17 at 14:59 +0200, martin f krafft wrote: > also sprach Timo Sirainen <[EMAIL PROTECTED]> [2006.12.22.2225 +0100]: > > On 19.12.2006, at 11.45, Thomas Vander Stichele wrote: > > > umask is set to 0007. This should ensure directories and files get > > > created with read/write permi

Re: [Dovecot] Run script before delivery

2008-07-20 Thread Timo Sirainen
On Fri, 2008-07-18 at 12:09 +0200, Juan Asensio Sánchez wrote: > Hi > > Is it possible to run one script before the "real" delivery of a > message (with lda, or before the execution of the sieve scripts) but > after the creation of necessary folders (Dovecot automatically creates > the folders for

Re: [Dovecot] Need suggestion regarding index file and Quota settings.

2008-07-20 Thread Timo Sirainen
On Fri, 2008-07-18 at 15:11 +0800, Tim Chen wrote: > internet Layer 4 switch mail server1 NFS storage >| | >|--- mail server2 -| > > Both mail servers will shar

Re: [Dovecot] The case of the disappearing INBOX's - upgrade to 1.1.1 from 1.0.7 and based on Email client type

2008-07-20 Thread Timo Sirainen
On Wed, 2008-07-16 at 09:59 -0700, Jack Stewart wrote: > The interesting part is that after upgrading to 1.1.1, the INBOX would > disappear from Thunderbird after clicking on a different folder. Thanks. This should fix it: http://hg.dovecot.org/dovecot-1.1/rev/c76aaa79156c > namespace private {

Re: [Dovecot] 1.1.1 (maildir_uidlist_sync_update): assertion failed: (uidlist->initial_hdr_read)

2008-07-20 Thread Timo Sirainen
On Wed, 2008-07-16 at 16:43 -0400, Adam McDougall wrote: > Jun 26 17:23:26 hill dovecot: Panic: IMAP(userA): file > maildir-uidlist.c: line 1207 (maildir_uidlist_sync_update): assertion > failed: (uidlist->initial_hdr_read) Perhaps this fixes it? http://hg.dovecot.org/dovecot-1.1/rev/1edff123dd8

Re: [Dovecot] 1.0.14 -> 1.1.1: dovecot-uidlist errors

2008-07-20 Thread Timo Sirainen
On Sat, 2008-07-19 at 22:57 +0200, Geert Hendrickx wrote: > On Tue, Jun 24, 2008 at 07:36:44PM +0300, Timo Sirainen wrote: > > On Jun 24, 2008, at 7:31 PM, Amitai Schlair wrote: > > >Jun 24 12:22:13 chicken-ac dovecot: Panic: IMAP(schmonz): file > > >maildir-uidlist.c: line 1217 (maildir_uidlist_