[Dovecot] fetch bodystructure filename problem rfc2231

2009-11-12 Thread myleetlist
Hi, I have a problem with the filename of attachments in some clients. # dovecot 1.2.(5|7) * 3 FETCH (BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 13 1 NIL NIL NIL NIL)("text" "plain" ("charset" "UTF-8" "name" "ISO-8859-1''testanh%E4ng.txt") NIL NIL "8bit" 27 1 NIL ("att

Re: [Dovecot] dovecot-2.0.alpha2 doesn't compile on Mac OS X

2009-11-12 Thread Axel Luttgens
Le 10 nov. 2009 à 23:44, Timo Sirainen a écrit : > On Tue, 2009-11-10 at 22:56 +0100, Axel Luttgens wrote: >>> Although fdatasync() seems to have gone missing from .h files, but still >>> exists in libc. I guess that's intentional? >> >> Hello Timo, >> >> Did Mike reply about that one? > > No.

[Dovecot] Deliver and file system quota

2009-11-12 Thread Rainer Frey
Hi, what is the quota plugin for deliver supposed to do when using fs quota? With IMAP, and not using noenforcing, a user that is over Soft limit can't copy mails. With deliver, the mail is delivered normally. When hard limit is exceeded, there is an error "rejected: Not enough disk space", ju

Re: [Dovecot] sieve files wont get parsed/compiled using cmusieve

2009-11-12 Thread Moritz Krinke
Hello, i have mail_debug turned on, and of course i've got a lot more messages in the log, but nothing which mentions sieve or an error. Timo: in the protocol lda section i've got mail_plugins = cmusieve so it should be active. please see my original message from the 7th of November. Here is

Re: [Dovecot] fetch bodystructure filename problem rfc2231

2009-11-12 Thread Timo Sirainen
On Thu, 2009-11-12 at 10:16 +0100, myleetl...@gmx.de wrote: > I think "name" should be "name*" (rfc 2231?) Yes, fixed: http://hg.dovecot.org/dovecot-1.2/rev/96b5d6d8dd2c signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Postfix and Dovecot SASL

2009-11-12 Thread Rene Bakkum
The problem is solved it was as something easy I missed. Because of the line: smtpd_tls_auth_only = yes the sasl isn't working on plain logins, so using a telnet session to port 25, doesn't allow you to use the smtp authenticate. Uncommenting this (or changing yes to no) will make the plain login

Re: [Dovecot] UTF-8 mailbox names in filesystem

2009-11-12 Thread Joseph Yee
On 10-Nov-09, at 9:02 AM, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 10 Nov 2009, Laurent Blume wrote: I would personally find it useful. I use accented and Chinese characters, and I, too. Same here. I've worked in environments where they were common a

[Dovecot] Sieve and ACL problem

2009-11-12 Thread Gregory Finch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've come across a problem that I can't figure out. I'm using Dovecot 1.2.6 and Sieve 0.1.13. I'm using the following sieve script to sort my incoming mail. require ["fileinto", "envelope"]; if envelope :all :is "from" "sopp...@newport.th.gov.b

Re: [Dovecot] sieve files wont get parsed/compiled using cmusieve

2009-11-12 Thread Timo Sirainen
On Thu, 2009-11-12 at 17:49 +0100, Moritz Krinke wrote: > Timo: > in the protocol lda section i've got mail_plugins = cmusieve so it should be > active. please see my original message from the 7th of November. > > Here is the complete output in my log concerning dovecot and one message > which s

Re: [Dovecot] Deliver and file system quota

2009-11-12 Thread Timo Sirainen
On Thu, 2009-11-12 at 12:22 +0100, Rainer Frey wrote: > Hi, > > what is the quota plugin for deliver supposed to do when using fs quota? The same as with IMAP APPEND command (it uses the exact same code). > So is there any effect of the quota plugin in lda with file system quota? If you don't s

Re: [Dovecot] Sieve and ACL problem

2009-11-12 Thread Timo Sirainen
On Thu, 2009-11-12 at 14:29 -0800, Gregory Finch wrote: > Nov 12 12:26:57 app dovecot: deliver(gfi...@app.ldmltd.ca): sieve: > msgid=<3708845-2200911412202651...@pelmorex.ca>: failed to store into > mailbox 'Public/Weather': Permission denied .. > dovecot-acl for Public/Weather > authenticated lrs

Re: [Dovecot] read/connect anvil-auth-penalty failed: EOF/Connection refused

2009-11-12 Thread Timo Sirainen
On Thu, 2009-11-12 at 03:26 +0100, Pascal Volk wrote: > Nov 12 03:17:00 master: Warning: Killed with signal 15 (by pid=31656 uid=0 > code=kill) > Nov 12 03:17:00 auth: Error: read(anvil-auth-penalty) failed: EOF > Nov 12 03:17:00 auth: Error: net_connect_unix(anvil-auth-penalty) failed: > Connect

Re: [Dovecot] Turning off "Fixed Duplicates" feature

2009-11-12 Thread Jordan Tardif
On Thu, 2009-11-12 at 15:42 -0800, Jordan Tardif wrote: Is there a way to disable this feature? Seems to be causing more harm then good right now. Without getting into too much details it is fixing the duplcates but it does not remove the old file, and the new file it creates is not marked as rea

Re: [Dovecot] Turning off "Fixed Duplicates" feature

2009-11-12 Thread Timo Sirainen
On Thu, 2009-11-12 at 16:04 -0800, Jordan Tardif wrote: > Heres a litle bit of background on what we are doing and maybe if you have > time you can let me know what you think the best way of doing this would > be. When we move users to dovecot servers, we first create a new user on > the destina

Re: [Dovecot] Turning off "Fixed Duplicates" feature

2009-11-12 Thread Jordan Tardif
On Thu, 2009-11-12 at 16:04 -0800, Jordan Tardif wrote: Heres a litle bit of background on what we are doing and maybe if you have time you can let me know what you think the best way of doing this would be. When we move users to dovecot servers, we first create a new user on the destination mach

Re: [Dovecot] Turning off "Fixed Duplicates" feature

2009-11-12 Thread Timo Sirainen
On Thu, 2009-11-12 at 16:12 -0800, Jordan Tardif wrote: > Yes that depends on DNS updating. So is there not way to avoid this > Duplication problem if you need to do an rsync 2x? Not really. The move should preferably be atomic.. With Dovecot v2.0 there's dsync utility, which would pretty much do

Re: [Dovecot] Sieve and ACL problem

2009-11-12 Thread Gregory Finch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen wrote: > On Thu, 2009-11-12 at 14:29 -0800, Gregory Finch wrote: >> Nov 12 12:26:57 app dovecot: deliver(gfi...@app.ldmltd.ca): sieve: >> msgid=<3708845-2200911412202651...@pelmorex.ca>: failed to store into >> mailbox 'Public/Weather': P

Re: [Dovecot] Turning off "Fixed Duplicates" feature

2009-11-12 Thread Timo Sirainen
On Thu, 2009-11-12 at 15:42 -0800, Jordan Tardif wrote: > Is there a way to disable this feature? Seems to be causing more harm then > good right now. Without getting into too much details it is fixing the > duplcates but it does not remove the old file, and the new file it creates > is not mark

[Dovecot] Turning off "Fixed Duplicates" feature

2009-11-12 Thread Jordan Tardif
Is there a way to disable this feature? Seems to be causing more harm then good right now. Without getting into too much details it is fixing the duplcates but it does not remove the old file, and the new file it creates is not marked as read like the old one was. I understand that this problem

Re: [Dovecot] Turning off "Fixed Duplicates" feature

2009-11-12 Thread Jordan Tardif
On Thu, 12 Nov 2009, Timo Sirainen wrote: On Thu, 2009-11-12 at 16:12 -0800, Jordan Tardif wrote: Yes that depends on DNS updating. So is there not way to avoid this Duplication problem if you need to do an rsync 2x? Not really. The move should preferably be atomic.. With Dovecot v2.0 there's

Re: [Dovecot] Turning off "Fixed Duplicates" feature

2009-11-12 Thread Timo Sirainen
On Thu, 2009-11-12 at 16:22 -0800, Jordan Tardif wrote: > > I guess the easiest solution would be to: > > > > 1) Remove the duplicate detection/fixing code from Dovecot code. > > 2) Create a script that resolves duplicates by deleting one of them. > > So if I do #1 , do you see this causing any ot

Re: [Dovecot] Turning off "Fixed Duplicates" feature

2009-11-12 Thread Jordan Tardif
I actually meant that you should do both. But no, 1) shouldn't cause problems. Or actually looking at the code, it already tries to detect duplicate hard links and unlinks one of them. You could change the code from: if (st1.st_ino == st2.st_ino && CMP_DEV_T(st1.st_dev, st2.s