Re: [Dovecot] v2.0.3 released

2010-09-17 Thread Daniel L. Miller
On 9/17/2010 12:23 PM, Timo Sirainen wrote: http://dovecot.org/releases/2.0/dovecot-2.0.3.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.3.tar.gz.sig * dovecot-lda: Removed use of non-standard Envelope-To: header as a default for -a. Set lda_original_recipient_header=Envel

[Dovecot] moving 1.2.13 system to another hard drive

2010-09-17 Thread Paul Scott
Hi, I am not very experienced with Dovecot (1,2,13) installed on Debian sid. I have just set up a new system on a new hard drive on the same computer. fetchmail is correctly putting mail in /var/mail/. I have copied my entire Maildir directory from the old hard drive. I have made what changes I

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Stephan Bosch
On 9/18/2010 1:10 AM, Patrick Westenberg wrote: Dieter Knopf schrieb: Sorry for the question, just found it out, I didn't knew that all files needs a .sieve extensions. include :global "foo"; with a file "foo.sieve" works fine :-) Good to know ;) Good point. I now clarified this in the wik

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Patrick Westenberg
Dieter Knopf schrieb: Sorry for the question, just found it out, I didn't knew that all files needs a .sieve extensions. include :global "foo"; with a file "foo.sieve" works fine :-) Good to know ;)

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Dieter Knopf
2010/9/18 Dieter Knopf : > 2010/9/17 Patrick Westenberg : > I though :global searches inside the sieve_global_dir? Or is there a > way to debug errors like this better? Sorry for the question, just found it out, I didn't knew that all files needs a .sieve extensions. include :global "foo"; with a

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Dieter Knopf
2010/9/17 Patrick Westenberg : > User specific sieve files are placed in the home directories while > mails are stored in the given mail_location (can be a subdirectory > of the home directory) Thanks. I tested something and set a sieve-config outside my maildirs: # dovecot -n |grep sieve sieve: /

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Patrick Westenberg
Dieter Knopf schrieb: One small issue: My mail client (kmail) always want to open the INBOX.dovecot.sieve (because there is a .dovecot.sieve file for the filter). (Client show it as dovecot/sieve folder) Is there a way to hide this? I never had this problem because I use home directories. Us

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Dieter Knopf
2010/9/17 Patrick Westenberg : > This works for me: > > fileinto :create "INBOX.foo"; > > :create will create this folder if it does not exist. Thanks, works fine now :-) One small issue: My mail client (kmail) always want to open the INBOX.dovecot.sieve (because there is a .dovecot.sieve file fo

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Patrick Westenberg
Dieter Knopf schrieb: I alway get a "failed to find namespace for mailbox 'foo'" but/home/vmail/domain.tld/name/.foo/ exist. I tried it with: fileinto "foo"; and fileinto ".foo"; This works for me: fileinto :create "INBOX.foo"; :create will create this folder if it does not exist. Patrick

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Dieter Knopf
2010/9/17 Stephan Bosch : >  Op 17-9-2010 12:18, Stephan Bosch schreef: [...] THANKS for the big help. Converting it now :-) But have another problem with the fileinto-command :( I alway get a "failed to find namespace for mailbox 'foo'" but/home/vmail/domain.tld/name/.foo/ exist. I tried it wi

Re: [Dovecot] 2.0.2 : crashes with LDA

2010-09-17 Thread Timo Sirainen
On 17.9.2010, at 20.54, Jakob Curdes wrote: > I just migrated to 2.0.2 and see some > > (expanded from): Command > died with >signal 6: "/usr/local/libexec/dovecot/dovecot-lda -c /etc/dovecot2.conf". >Command output: doveconf: Panic: file settings-parser.c: line 1838 Can you send you

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

2010-09-17 Thread Timo Sirainen
On 17.9.2010, at 20.34, Per Jessen wrote: > Uh, I thought I had, but I am new to dovecot. My understanding is that I > should be able to put a "dovecot-acl" file in a somewhere and > that would then act as the default. Yeah, that would be a nice feature to have some day. But probably will have

[Dovecot] 2.0.2 : crashes with LDA

2010-09-17 Thread Jakob Curdes
Hello, I just migrated to 2.0.2 and see some (expanded from): Command died with signal 6: "/usr/local/libexec/dovecot/dovecot-lda -c /etc/dovecot2.conf". Command output: doveconf: Panic: file settings-parser.c: line 1838 (settings_copy_deflist_unique): assertion failed: (dest_coun

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

2010-09-17 Thread Per Jessen
Timo Sirainen wrote: > On Thu, 2010-09-16 at 23:08 +0200, Per Jessen wrote: > >> http://wiki2.dovecot.org/ACL >> >> "The default ACLs are read from "dovecot-acl" file in the namespace's >> mail root directory". > > Well, it makes more sense if you read the previous paragraph about > what the "d

[Dovecot] v2.0.3 released

2010-09-17 Thread Timo Sirainen
http://dovecot.org/releases/2.0/dovecot-2.0.3.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.3.tar.gz.sig * dovecot-lda: Removed use of non-standard Envelope-To: header as a default for -a. Set lda_original_recipient_header=Envelope-To to returns the old behavior.

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Stephan Bosch
Op 17-9-2010 12:18, Stephan Bosch schreef: require "subaddress"; /* for the :domain part (last script) */ Shameful. No, you don't need to require this. The :domain part is part of the core language. Let's just say it was early. :) Regards, Stephan.

[Dovecot] Maildir premission denied

2010-09-17 Thread Omer Ahmed
Hi Sirs,I am using ubuntu OS, with dovecot and postfix, I can send emails receive email but not access them. I have the errorSep 17 21:21:31 myserver-name dovecot: POP3(virtualu...@mydomain.tld): stat(/var/mail/virtualu...@mydomain.tld) failed: Permission denied (euid=1001(upload) egid=1001(upl

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

2010-09-17 Thread Timo Sirainen
On Thu, 2010-09-16 at 23:08 +0200, Per Jessen wrote: > http://wiki2.dovecot.org/ACL > > "The default ACLs are read from "dovecot-acl" file in the namespace's > mail root directory". Well, it makes more sense if you read the previous paragraph about what the "default ACLs" are :) But yeah, I'll m

Re: [Dovecot] dsync crash

2010-09-17 Thread Timo Sirainen
On Thu, 2010-09-16 at 21:04 +0100, Timo Sirainen wrote: > 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 t

Re: [Dovecot] dsync to move from 1.2 to 2.0

2010-09-17 Thread Timo Sirainen
On Thu, 2010-09-16 at 18:02 -0700, Daniel L. Miller wrote: > Does dsync perform an imap connection to the remote server to pull the > mails? No. It runs dsync on the remote server via ssh. So you need Dovecot v2.0 in both source and destination servers. But some day it could support IMAP access.

Re: [Dovecot] configure error

2010-09-17 Thread Timo Sirainen
On Thu, 2010-09-09 at 16:17 +0200, Andreas Kossack wrote: > on my system ("AIX 6.1" with "xlc -q64") the "configure" script for > "dovecot-2.0.2" breaks with: > >checking whether fd passing works... no >configure: error: fd passing is required for Dovecot to work This is also now fixed:

Re: [Dovecot] Processes remaining

2010-09-17 Thread Timo Sirainen
On Thu, 2010-09-09 at 17:15 +0200, Andreas Kossack wrote: > on my system ("AIX 6.1" 64bit) after "doveadm stop" there are some > processes still alive: I think this is a bug in AIX, but I added a workaround for it: http://hg.dovecot.org/dovecot-2.0/rev/4a5e2be6e112

Re: [Dovecot] sent-mail

2010-09-17 Thread Timo Sirainen
On Fri, 2010-09-17 at 11:33 -0400, dhottin...@harrisonburg.k12.va.us >> Im trying to nail down an issue with some users sent-mail. I have had > >> a few users complaining that their emails are not being copied to > >> their sent-mail folder. > > > > Do you use mbox? I remember some similar bug rep

Re: [Dovecot] dsync - how to speed up

2010-09-17 Thread Timo Sirainen
On Fri, 2010-09-17 at 15:23 +0200, Burckhard Schmidt wrote: > dsync -v -u user mirror mbox:/old-homehome/~user:INBOX=/old-inbox/user > > It works but it lasts "very long" time. > For one mailbox with 2,4 Gb and nearly 200.000 emails it lasts 100 minutes. > I would like to migrate 1.500 Gb - not po

Re: [Dovecot] sent-mail

2010-09-17 Thread dhottinger
Quoting Timo Sirainen : On Fri, 2010-09-17 at 09:36 -0400, dhottin...@harrisonburg.k12.va.us wrote: Im trying to nail down an issue with some users sent-mail. I have had a few users complaining that their emails are not being copied to their sent-mail folder. Do you use mbox? I remember some

Re: [Dovecot] sent-mail

2010-09-17 Thread Timo Sirainen
On Fri, 2010-09-17 at 09:36 -0400, dhottin...@harrisonburg.k12.va.us wrote: > Im trying to nail down an issue with some users sent-mail. I have had > a few users complaining that their emails are not being copied to > their sent-mail folder. Do you use mbox? I remember some similar bug report

Re: [Dovecot] sent-mail

2010-09-17 Thread Ron Leach
dhottin...@harrisonburg.k12.va.us wrote: I have had a few users complaining that their emails are not being copied to their sent-mail folder. Im not sure how widespread it is, mainly because most people dont check their sent-mail. ddh, I imagine you have already checked this, but I menti

[Dovecot] sent-mail

2010-09-17 Thread dhottinger
Im trying to nail down an issue with some users sent-mail. I have had a few users complaining that their emails are not being copied to their sent-mail folder. Im not sure how widespread it is, mainly because most people dont check their sent-mail. Im running Dovecot version 1.0.7, and y

[Dovecot] dsync - how to speed up

2010-09-17 Thread Burckhard Schmidt
Hi, I have converted some mbox mailboxes to maildir. Inbox and folders had been cpopied before into a separate directories "old-home" and old-inbox onto the new server (dovecot 2.0.2. with fix hg.dovecot.org/dovecot-2.0/rev/14a6e526900d). dsync -v -u user mirror mbox:/old-homehome/~user:INBOX

Re: [Dovecot] fts plugin - purpose of get_last_uid() ?

2010-09-17 Thread Timo Sirainen
On Fri, 2010-09-17 at 14:16 +0200, Per Jessen wrote: > > > I guess I left out the most important question - what could I return > > as last uid to indicate 'all indexed'? > > got it - maildir_uidlist_get_next_uid(). Or just return 4294967294.

Re: [Dovecot] fts plugin - purpose of get_last_uid() ?

2010-09-17 Thread Per Jessen
Per Jessen wrote: > Timo Sirainen wrote: > >> On 17.9.2010, at 9.46, Per Jessen wrote: >> >>> It looks like the uid returned is only used as an indication of >>> whether the maildir is fully indexed or not, is that correct? >> >> Yes. >> >>> In my setup, the index is built externally and will

Re: [Dovecot] fts_squat hanging on some messages

2010-09-17 Thread Henning Rohlfs
On Fri, 17 Sep 2010 11:26:49 +0100, Timo Sirainen wrote: > On 17.9.2010, at 10.31, Henning Rohlfs wrote: > >> I recently upgraded to dovecot 2.0.2 (on gentoo ~amd64) and now fts_squat's >> index building seems to hang for some of my mailboxes. The imap process gets >> stuck at 100% cpu usage an

Re: [Dovecot] fts plugin - purpose of get_last_uid() ?

2010-09-17 Thread Per Jessen
Timo Sirainen wrote: > On 17.9.2010, at 9.46, Per Jessen wrote: > >> It looks like the uid returned is only used as an indication of >> whether the maildir is fully indexed or not, is that correct? > > Yes. > >> In my setup, the index is built externally and will _always_ be >> up-to-date. Get

Re: [Dovecot] fts_squat hanging on some messages

2010-09-17 Thread Timo Sirainen
On 17.9.2010, at 10.31, Henning Rohlfs wrote: > I recently upgraded to dovecot 2.0.2 (on gentoo ~amd64) and now fts_squat's > index building seems to hang for some of my mailboxes. The imap process gets > stuck at 100% cpu usage and dovecot.index.search is never touched. I'm pretty sure it's fi

Re: [Dovecot] fts plugin - purpose of get_last_uid() ?

2010-09-17 Thread Timo Sirainen
On 17.9.2010, at 9.46, Per Jessen wrote: > It looks like the uid returned is only used as an indication of whether > the maildir is fully indexed or not, is that correct? Yes. > In my setup, the index is built externally and will _always_ be > up-to-date. Getting the last uid would mean runni

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Stephan Bosch
Op 17-9-2010 12:18, Stephan Bosch schreef: # Filter TO if (hasaddr("n...@domain.tld")) { to "$M/.foo/" } if address :is :comparator "i;ascii-casemap" ["|to"|, "|cc"|,| "resent-to"|, "|resent-cc|"] ["n...@domain.tld"] { fileinto "foo"; } Iew! Not sure where these '|' chars c

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Stephan Bosch
Op 17-9-2010 10:27, Dieter Knopf schreef: Hello, I just migrated from Postfix/Courier/Maildrop to Postfix/Dovecot/Deliver/Sieve and don't unterstand the right syntax for sieve :( I searched and found many small examples and many links to the RFC, but nothing was usefull for me (or i didn't unte

[Dovecot] fts_squat hanging on some messages

2010-09-17 Thread Henning Rohlfs
Hello, I recently upgraded to dovecot 2.0.2 (on gentoo ~amd64) and now fts_squat's index building seems to hang for some of my mailboxes. The imap process gets stuck at 100% cpu usage and dovecot.index.search is never touched. I traced the problem to a message (attached) for one of the prob

[Dovecot] fts plugin - purpose of get_last_uid() ?

2010-09-17 Thread Per Jessen
It looks like the uid returned is only used as an indication of whether the maildir is fully indexed or not, is that correct? In my setup, the index is built externally and will _always_ be up-to-date. Getting the last uid would mean running a query, which, whilst inexpensive, seems unnecessary

Re: [Dovecot] Can solaris sendmail use dovecot lda

2010-09-17 Thread Andrey Melnikoff
J?rgen Obermann wrote: > [-- text/plain, кодировка quoted-printable, кодировка: ISO-8859-1, 23 строк > --] > [-- Описание: Textversion der Nachricht --] > Hello, > on a Solaris 9 system with dovecot 1.2.14 installed I want to replace the > sendmail local delivery agent 'mail.local' with the

[Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Dieter Knopf
Hello, I just migrated from Postfix/Courier/Maildrop to Postfix/Dovecot/Deliver/Sieve and don't unterstand the right syntax for sieve :( I searched and found many small examples and many links to the RFC, but nothing was usefull for me (or i didn't unterstand it) I installed the latest Dovecot-Si

Re: [Dovecot] dsync: mbox to maildir

2010-09-17 Thread Burckhard Schmidt
On 14.09.2010 17:44, Timo Sirainen wrote: On Fri, 2010-09-03 at 17:31 +0200, Burckhard Schmidt wrote: 1. autocreate The plugin autocreate = AutoCleanSpam is activated for lda and imap. There is no user with such folder. dsync ceates two: dsync(account): Info: AutoCleanSpam: only in source dsy