Re: [Dovecot] sieve delivery to utf folders

2009-07-30 Thread Nikita Koshikov
On Thu, 30 Jul 2009 17:06:35 +0200 Stephan Bosch wrote: > You are using mUTF-7 in folder names. According to the Sieve > specification, you must use the UTF-8 version. The fileinto command > internally translates this to the mUTF-7 equivalent, so that the IMAP > server sees it as expected. Thi

Re: [Dovecot] Several errors

2009-07-30 Thread Timo Sirainen
On Thu, 2009-07-30 at 21:18 +0200, A. van Harten wrote: > Mea culpa, mea maxima culpa. I am not a guru. I am just a nerd who just > learned the basics of Linux. > Everyone says I have to install Dovecot - but no-one is willing to give > descent support... I'm pretty sure your questions would have

Re: [Dovecot] Several errors

2009-07-30 Thread A. van Harten
Mea culpa, mea maxima culpa. I am not a guru. I am just a nerd who just learned the basics of Linux. Everyone says I have to install Dovecot - but no-one is willing to give descent support... "Mails shouldn't be owned by root". Fine, then I change "auth-user" in my dovecot.conf from "root" to "vma

Re: [Dovecot] Limiting user access

2009-07-30 Thread Darvin Denmian
Thanks again Timo !!! On Thu, Jul 30, 2009 at 3:45 PM, Timo Sirainen wrote: > On Thu, 2009-07-30 at 15:29 -0300, Darvin Denmian wrote: >> Is there a way to restrict clients access, for example: >> >> us...@domain.com -> only access pop3 >> us...@domain.com -> can access pop3 and imap >> >> in Dove

Re: [Dovecot] Limiting user access

2009-07-30 Thread Timo Sirainen
On Thu, 2009-07-30 at 15:29 -0300, Darvin Denmian wrote: > Is there a way to restrict clients access, for example: > > us...@domain.com -> only access pop3 > us...@domain.com -> can access pop3 and imap > > in Dovecot? Yes. What passdb do you use? For example in SQL query you could use %s variab

Re: [Dovecot] POSIX stupidity

2009-07-30 Thread Timo Sirainen
On Thu, 2009-07-30 at 20:21 +0200, Remi Gacogne wrote: > Le jeudi 30 juillet 2009, Timo Sirainen a écrit : > > > > What the hell were POSIX people thinking?? This is the first syscall > > > I've seen that behaves like this, and apparently without any good > > > reason! Wonder how many other new sy

[Dovecot] Limiting user access

2009-07-30 Thread Darvin Denmian
Hello, Is there a way to restrict clients access, for example: us...@domain.com -> only access pop3 us...@domain.com -> can access pop3 and imap in Dovecot? Thanks !!!

Re: [Dovecot] POSIX stupidity

2009-07-30 Thread Remi Gacogne
Le jeudi 30 juillet 2009, Timo Sirainen a écrit : > > What the hell were POSIX people thinking?? This is the first syscall > > I've seen that behaves like this, and apparently without any good > > reason! Wonder how many other new system calls there are like this, that > > I haven't noticed yet..

Re: [Dovecot] sieve filtering setup

2009-07-30 Thread Timo Sirainen
On Thu, 2009-07-30 at 14:16 -0400, Jonathan Siegle wrote: > > Or maybe if the Sieve plugin supports giving a > > separate path to downloaded scripts, the destination could be in a > > ramdisk or if you're using Linux: http://memcachefs.sourceforge.net/ > > > > Also I'm hopefully going to abstracti

Re: [Dovecot] sieve filtering setup

2009-07-30 Thread Jonathan Siegle
On Jul 30, 2009, at 1:29 PM, Timo Sirainen wrote: On Thu, 2009-07-30 at 11:30 -0400, Jonathan Siegle wrote: I recently found out about something called memcached. The goal of memcached(server)[1] and libmemcached(client library)[2] is to store maps in memory of tokens. So my key would be "jsie

Re: [Dovecot] lock files causing time outs with Thunderbird

2009-07-30 Thread Timo Sirainen
On Thu, 2009-07-30 at 11:56 -0600, CJ Keist wrote: > The two message were at the end of the Trash folder. Is it possible that some older messages were also marked as \Deleted, and when you expunged the two at the end it also expunged something from the middle? (The truss really looks like somethin

[Dovecot] POSIX stupidity

2009-07-30 Thread Timo Sirainen
On Thu, 2009-07-30 at 13:44 -0400, Timo Sirainen wrote: > > RETURN VALUE > >posix_fallocate() returns zero on success, or an error number on > > fail‐ > >ure. Note that errno is not set. > > What the hell were POSIX people thinking?? This is the first syscall > I've seen that be

Re: [Dovecot] lock files causing time outs with Thunderbird

2009-07-30 Thread CJ Keist
The two message were at the end of the Trash folder. I used fuser to find the pids on the Trash and Trash.lock files. fuser reported no pid for the Trash.lock file. The the ptruss was run on the pid on the Trash file. By synchronous writes I'm assuming on the nfs mount options? No, they ar

Re: [Dovecot] AIX and posix_fallocate

2009-07-30 Thread Timo Sirainen
On Thu, 2009-07-30 at 11:24 +0200, Ralf Becker wrote: > + if ((err = posix_fallocate(fd, st.st_size, size - st.st_size)) > == 0) > return 0; > > + if (err == EOPNOTSUPP /* AIX */ ) { > + /* Ignore this error silently. > +

[Dovecot] Dovecot with SSL Client Certification

2009-07-30 Thread Evaggelos Balaskas
Hi, i am trying to setup dovecot over ssl in the last couple days unsuccessfully My notes are from here: http://wiki.dovecot.org/SSL My OpenSSL commands are: mkdir -pv /opt/certificates/dovecot/ cd !$ (just to prevent questions about Common Name) [e...@myhome:~]€ hostname myhome openssl req -

Re: [Dovecot] AIX and posix_fallocate

2009-07-30 Thread Stewart Dean
I bumped into this a while back, and having IBM support for both AIX and the C for AIX V9 compiler, went to the mat on it. What a pointless waste of time; the new IBM increasingly doesn't care about making things right. While IBM has been proclaiming its POSIX compliance, it turned out that AI

Re: [Dovecot] Clients and dovecot-uidlist

2009-07-30 Thread Timo Sirainen
On Thu, 2009-07-30 at 19:24 +0200, Thomas Hummel wrote: > I'm asking this because I'm investigating if CONTROL may be on a local > filesystem (for performance reason) instead of an NFS filesystem : I think it's a bad idea. Besides the UID problems causing all kinds of trouble with clients (some cl

Re: [Dovecot] sieve filtering setup

2009-07-30 Thread Timo Sirainen
On Thu, 2009-07-30 at 11:30 -0400, Jonathan Siegle wrote: > I recently found out about something called memcached. The goal of > memcached(server)[1] and libmemcached(client library)[2] is to store > maps in memory of tokens. So my key would be "jsiegle_sieve" and my > data would be my sieve

Re: [Dovecot] Clients and dovecot-uidlist

2009-07-30 Thread Thomas Hummel
On Thu, Jul 30, 2009 at 07:04:01PM +0200, Thomas Hummel wrote: > On Tue, Jul 28, 2009 at 07:30:27PM +0200, Thomas Hummel wrote: > > > I took for granted that it was that the client would download all messages > > again since it might be confused by some UID changes. > > Is it correct ? Timo ? >

Re: [Dovecot] AutoCreate per Domain

2009-07-30 Thread Timo Sirainen
On Thu, 2009-07-30 at 02:30 -0300, Darvin Denmian wrote: > Hello, > > is there a way to configure plugin "autocreate" per domain? Like: > > For domain xwz.com i want to autocreate folders: Models and Clients > For domain yxw.com i want to autocreate folders: Adm and Tech You can return the autoc

Re: [Dovecot] Clients and dovecot-uidlist

2009-07-30 Thread Timo Sirainen
On Tue, 2009-07-28 at 19:30 +0200, Thomas Hummel wrote: > Hello, > > I'm trying to figure out what exactly (and why) are the consequences of a lost > or removal of the dovecot-uidlist file on an IMAP client (Thunderbird for > instance). Just dovecot-uidlist, or also dovecot.index*? If you delete

Re: [Dovecot] lock files causing time outs with Thunderbird

2009-07-30 Thread Timo Sirainen
On Thu, 2009-07-30 at 10:07 -0600, CJ Keist wrote: > Okay, > I think I got a test that can recreate the .lock file staying around > so long. I have trash folder with about 3500 messages in it. I went in > and deleted two messages from the Trash folder. How close to the end of the mailbox di

Re: [Dovecot] Clients and dovecot-uidlist

2009-07-30 Thread Thomas Hummel
On Tue, Jul 28, 2009 at 07:30:27PM +0200, Thomas Hummel wrote: > I took for granted that it was that the client would download all messages > again since it might be confused by some UID changes. Is it correct ? Timo ? > But I don't really see > why (on the IMAP protocol level) and I don't kno

[Dovecot] virtual plugin - segfault body search

2009-07-30 Thread Manuel Oetiker
Hello list, During full text search in a virtal folder ( virtual plugin ) the imap crashes with segfault Version:1.2.2 OS: Ubuntu 8.04.3 LTS x86_64 Coredump: GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later

Re: [Dovecot] Berlin talk - video or audio available?

2009-07-30 Thread Oli Schacher
James Brown schrieb: > Thanks Timo for putting up the .pdf and .ppt files for your talk at > www.dovecot.org/talks. > > Is there a video or audio file of it? > > Thanks, > > James. Most talks where recorded and according to heinlein support will be put online when they are done editing. http:/

[Dovecot] imap, locks, and dovecot

2009-07-30 Thread Mauricio Tavares
Let's say I have two computers -- a desktop and a laptop -- setup to check email on my postfix/dovecot/mailscanner box by using imap. Now, both machines use thunderbird and have a filter in that mail client to move emails that have a certain to: address (an alias, like supp...@domain.com) to

Re: [Dovecot] sieve filtering setup

2009-07-30 Thread Jonathan Siegle
On Jul 30, 2009, at 11:12 AM, Stephan Bosch wrote: Jonathan Siegle schreef: I'm looking at implementing sieve in my environment. Software is: dovecot-1.2-sieve revision 1022:3c9a22c28156 dovecot-1.2 revision 9269:a303bb82c1c9 AIX 5.3 with sendmail mta using prescribed deliver lda. I have a few

Re: [Dovecot] Filtering with Public Namespaces and Sieve Plugin

2009-07-30 Thread Thomas Leuxner
On Thu, Jul 30, 2009 at 11:54:25AM +0200, Stephan Bosch wrote: > I am pretty confident that this is caused by the include bug we found a > few days back: > > http://www.dovecot.org/list/dovecot/2009-July/041608.html > > That is fixed: > > http://hg.rename-it.nl/dovecot-1.2-sieve/rev/d989537882d0

[Dovecot] v1.2.2 / rev 0ec0b1f1ac6a+: imap crash

2009-07-30 Thread Pascal Volk
Hi Timo, the preconditions was: a dbox converted (convert-tool) from Maildir contents of dbox/mailboxes/INBOX/dbox-Mails was: - dovecot.index.log [64876 bytes] - dovecot-uidlist [167280 bytes] - 3237 mails I've started mutt to see the mails. Mutt lost the conn

Re: [Dovecot] sieve filtering setup

2009-07-30 Thread Stephan Bosch
Jonathan Siegle schreef: I'm looking at implementing sieve in my environment. Software is: dovecot-1.2-sieve revision 1022:3c9a22c28156 dovecot-1.2 revision 9269:a303bb82c1c9 AIX 5.3 with sendmail mta using prescribed deliver lda. I have a few questions. I'll have 110k sieve files(1 for each us

Re: [Dovecot] sieve delivery to utf folders

2009-07-30 Thread Stephan Bosch
Nikita Koshikov schreef: Hello list, Today, my users have noticed, that delivery to folders with non-english names is broken. For example, if I create russian directory, it correct encoded and display into mail-client program and my webmail: Encoded:Normal view .INBOX.&BEIENQRB

Re: [Dovecot] AutoCreate per Domain

2009-07-30 Thread Robert Schetterer
Darvin Denmian schrieb: > Thanks Robert, > > i will try this solution !!! maybe i can be done via a global sieve rule too ask the sieve gurus if that might work > > On Thu, Jul 30, 2009 at 11:44 AM, Robert > Schetterer wrote: >> Darvin Denmian schrieb: >>> Any idea? >>> >>> On Thu, Jul 30, 2009

[Dovecot] sieve delivery to utf folders

2009-07-30 Thread Nikita Koshikov
Hello list, Today, my users have noticed, that delivery to folders with non-english names is broken. For example, if I create russian directory, it correct encoded and display into mail-client program and my webmail: Encoded:Normal view .INBOX.&BEIENQRBBEI-русс This is part

Re: [Dovecot] AutoCreate per Domain

2009-07-30 Thread Robert Schetterer
Darvin Denmian schrieb: > Any idea? > > On Thu, Jul 30, 2009 at 2:30 AM, Darvin Denmian > wrote: >> Hello, >> >> is there a way to configure plugin "autocreate" per domain? Like: >> >> For domain xwz.com i want to autocreate folders: Models and Clients >> For domain yxw.com i want to autocreate f

Re: [Dovecot] AutoCreate per Domain

2009-07-30 Thread Darvin Denmian
Any idea? On Thu, Jul 30, 2009 at 2:30 AM, Darvin Denmian wrote: > Hello, > > is there a way to configure plugin "autocreate" per domain? Like: > > For domain xwz.com i want to autocreate folders: Models and Clients > For domain yxw.com i want to autocreate folders: Adm and Tech > > Thanks. >

Re: [Dovecot] parameter "mail_location" and variables

2009-07-30 Thread maximatt
hi... i can resolve them... but in another way: dovecot.conf: mail_location = maildir:/export/home/vmail/%h dovecot-ldap.conf: quotaDovecot=quota,mailbox=home but.. i still interestig to make work these with "mail" extra opction.. the last configure that i test i give the followin e

[Dovecot] sieve filtering setup

2009-07-30 Thread Jonathan Siegle
I'm looking at implementing sieve in my environment. Software is: dovecot-1.2-sieve revision 1022:3c9a22c28156 dovecot-1.2 revision 9269:a303bb82c1c9 AIX 5.3 with sendmail mta using prescribed deliver lda. I have a few questions. I'll have 110k sieve files(1 for each user). Does sieve read the

[Dovecot] Managesieve configuration problem

2009-07-30 Thread listacc
Hello! I'm trying for a lot of time to make managesieve working with dovecot 1.1.17 and virtual users on openSuSE 11.1. I think I'm doing some misconfiguration, but I can't figure it out. Perhaps it's something with the paths to the sieve scripts? In dovecot.conf I find in the comments: ~

Re: [Dovecot] sieve redirect action

2009-07-30 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 30 Jul 2009, Stephan Bosch wrote: > How do you look at adding one more header, for example X-Sieve-Forward-From: > > Now, when redirect action is in use - mail forwards using sendmail command line interface. The problem that there is no sui

Re: [Dovecot] expire plugin no delete 1.2.1 / 1.2.2

2009-07-30 Thread Robert Schetterer
Robert Schetterer schrieb: > Timo Sirainen schrieb: >> On Thu, 2009-07-23 at 23:42 +0200, Robert Schetterer wrote: >>> Hi Timo, >>> all of my tests fail >>> with expire plugin, mail simply not get deleted >>> i cant find any stuff in the logs why it does not or should not work. >> Try with 1.2.2 a

Re: [Dovecot] parameter "mail_location" and variables

2009-07-30 Thread maximatt
thanks... i try to apply them, so i define the following settings: dovecot.conf: mail_location: /export/home/vmail/maximatt.org/ and these configuration on dovecot-ldap.conf where i try to override mail_location setting: user_attrs= mailbox=mailbox, quotaDovecot=quota, mailbox=mail=maildi

Re: [Dovecot] Missing return-path on vacation messages

2009-07-30 Thread Charles Marcus
On 7/30/2009, Stephen Vaughan (stephenvaug...@gmail.com) wrote: > Jul 30 01:00:48 asura qmail-scanner-queue.pl: qmail-scanner[32365]: > Policy:Bad_MIME:RC: If you read the thread where this was declared fixed, it specifically said something about the MIME body being broken... Easiest way to tell

Re: [Dovecot] Missing return-path on vacation messages

2009-07-30 Thread Stephen Vaughan
I might be confused also, I haven't been able to receive an automated vacation reply yet.. both gmail and my mail servers block mail from the auto reply. This is what shows up in the mail logs on one my servers: Jul 30 01:00:48 asura qmail-scanner-queue.pl: qmail-scanner[32365]: Policy:Bad_MIME:RC

Re: [Dovecot] Filtering with Public Namespaces and Sieve Plugin

2009-07-30 Thread Stephan Bosch
Thomas Leuxner wrote: Hi, after upgrading to Dovecot 1.2x including the rewritten Sieve plugin replacing 'cmusieve', messages which have formerly been filed to a "Public/Mailing-List" maildir are no longer filtered correctly. The sieve script itself is included in the user's personal-script. T

Re: [Dovecot] Missing return-path on vacation messages

2009-07-30 Thread Charles Marcus
On 7/30/2009, Stephen Vaughan (stephenvaug...@gmail.com) wrote: > Does the fix apply to dovecot 1.1 only? We are running 1.0, should we be > upgrading to 1.2? 1.0 is old... so yes, you should upgrade... lots more reasons than this one bugfix, for sure... But... I'm confused about the bug... The

[Dovecot] AIX and posix_fallocate

2009-07-30 Thread Ralf Becker
Hi, AIX's implementation of posix_fallocate is a little bit, let me say, peculiar. Attached is a patch to "fix" (=work around) this. Without you'll see this in the logs: Jul 28 01:17:41 trevi mail:err|error dovecot: IMAP(beckerr): posix_fallocate() failed: File exists Jul 28 01:17:41 trevi m

Re: [Dovecot] sieve rules processing

2009-07-30 Thread Nikita Koshikov
On Thu, 30 Jul 2009 10:38:51 +0200 Stephan Bosch wrote: > Nikita Koshikov schreef: > > On Thu, 30 Jul 2009 01:29:26 +0200 > > Stephan Bosch wrote: > >> I am not exactly sure what you mean. Why are you providing an explicit > >> keep command when you want to sort the message further? > > Withou

Re: [Dovecot] sieve rules processing

2009-07-30 Thread Nikita Koshikov
On Thu, 30 Jul 2009 10:32:20 +0200 Tom Hendrikx wrote: > You are using a if/elseif/else statement. When the if clause (which is > always true) is matched, the stuff in the elsif/else clauses is discarded. > > You'll need to use 2 separate if statements to make this work. > Thank you for explana

[Dovecot] Filtering with Public Namespaces and Sieve Plugin

2009-07-30 Thread Thomas Leuxner
Hi, after upgrading to Dovecot 1.2x including the rewritten Sieve plugin replacing 'cmusieve', messages which have formerly been filed to a "Public/Mailing-List" maildir are no longer filtered correctly. The sieve script itself is included in the user's personal-script. The messages are dropped

Re: [Dovecot] sieve redirect action

2009-07-30 Thread Stephan Bosch
Nikita Koshikov schreef: Hello Stephan, First of all, thank you for dovecot-sieve implementation. I see that you are adding X-Sieve header to all outgoing e-mail in cmd-redirect.c /* Prepend sieve version header (should not affect signatures) */ rfc2822_header_field_write(f, "X-Sieve", SIEVE

Re: [Dovecot] sieve rules processing

2009-07-30 Thread Stephan Bosch
Nikita Koshikov schreef: On Thu, 30 Jul 2009 01:29:26 +0200 Stephan Bosch wrote: I am not exactly sure what you mean. Why are you providing an explicit keep command when you want to sort the message further? Without keep action - mail just redirected to specified mailbox, but it doesn't stor

Re: [Dovecot] sieve rules processing

2009-07-30 Thread Tom Hendrikx
Nikita Koshikov schreef: >> > This is my current rule list: > > require ["fileinto","envelope","copy"]; > # rule:[redirect] > if anyof (true) > { > redirect :copy "al...@domain.com"; > } > # rule:[Cron] > elsif anyof (header :contains "Subject" "Cron") > { > fileinto "INBOX/Cron"; > } >

Re: [Dovecot] Some people asked me lately about how professional Dovecot is.

2009-07-30 Thread Patrick Ben Koetter
* Steffen Kaiser : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Wed, 29 Jul 2009, Stewart Dean wrote: > >> Dovecot Works. That's all anyone needs to know. Plus it has a >> towering wizard of a developer and an avid, engaged and endlessly >> helpful community. > > Well, we don't need

Re: [Dovecot] sieve rules processing

2009-07-30 Thread Nikita Koshikov
On Thu, 30 Jul 2009 01:29:26 +0200 Stephan Bosch wrote: Thanks for your reply, Stephan. > I am not exactly sure what you mean. Why are you providing an explicit > keep command when you want to sort the message further? I would think > the following example script does what you need: > Without

Re: [Dovecot] Some people asked me lately about how professional Dovecot is.

2009-07-30 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 29 Jul 2009, Stewart Dean wrote: Dovecot Works. That's all anyone needs to know. Plus it has a towering wizard of a developer and an avid, engaged and endlessly helpful community. Well, we don't need to argue about that. Bye, - -- Ste

Re: [Dovecot] STARTTLS problem

2009-07-30 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 30 Jul 2009, Рачков Сергей wrote: A lot of thanks, Steffen! My problem was a "Kaspersky Internet Security". It has a "network traffic control" function and option "check SSL connection", if this option checked - everything work, if not chec

Re: [Dovecot] Missing return-path on vacation messages

2009-07-30 Thread Stephen Vaughan
Does the fix apply to dovecot 1.1 only? We are running 1.0, should we be upgrading to 1.2? On Thu, Jul 30, 2009 at 4:03 PM, Timo Sirainen wrote: > On Jul 30, 2009, at 1:59 AM, Stephen Vaughan wrote: > > Is this ever likely to be fixed in dovecot? >> > .. > >> <<>@domain1.com> >> >> Stephen >> >