Re: [Dovecot] Permission problems when trying to create new folders with ACL plugin

2012-04-25 Thread Markus Petri
On Thu, 26 Apr 2012 00:27:25 +0300 Timo Sirainen wrote: > On 24.4.2012, at 14.00, Markus Petri wrote: > > > I have the a problem with shared folders and the ACL plugin. The > > user "markus" has full access to "Shared/shared-user/Data": > > > > 3 GETACL "Shared/shared-user/Data" > > * ACL "Share

Re: [Dovecot] v2.1.5 released

2012-04-25 Thread Gerhard Wiesinger
Hello Timo, Yes, fixed it. Thnx. I also had a coredump with 2.1.3 + http://hg.dovecot.org/dovecot-2.1/rev/86e6dc46a80e A02 LIST "" "*" imap(username: Panic: file mail-storage.c: line 628 (mailbox_alloc): assertion failed: (uni_utf8_str_is_valid(vname)) Also fixed with 2.1.5 + http://hg.dove

Re: [Dovecot] LDAP Lookup not returning value in maxStorage

2012-04-25 Thread Bruce, Andrew
On 30 March 2012 08:05, Andrew Bruce wrote: > > On 28/03/2012 19:25, Nikita Koshikov wrote: >> >> On Wed, 28 Mar 2012 09:39:37 +1300 >> Bruce, Andrew wrote: >> >>> On 28 March 2012 09:36, Bruce, Andrew  wrote: On 27 March 2012 19:14, Nikita Koshikov  wrote: > > On Tue, 27 Mar 201

Re: [Dovecot] dovecot LDA with sendmail

2012-04-25 Thread Joseph Tam
Timo, in response to Hadi, wrote: Apr 24 20:25:46 lda(ja...@example.com): Fatal: setgid(5000(vmail) from userdb lo okup) failed with euid=8(mail), gid=12(mail), egid=12(mail): Operation not permi tted (This binary should probably be called with process group set to 5000(vmail )

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Benny Pedersen
Den 2012-04-25 10:50, Kris Weston skrev: # auth_default_realm = ahhh, ok. only i have multiple domains, so how does that werk ? just put em all in ? if you use @ in imap/pop3 logins then the default for this setting is fine, if logins is without @ then you need to set it to the hostname of

Re: [Dovecot] dsync: convert only mbox in /var/mail to maildir?

2012-04-25 Thread Jeff Simmons
On Friday, April 20, 2012 02:27:59 pm Timo Sirainen wrote: > On 20.4.2012, at 22.26, Jeff Simmons wrote: > > I'm migrating an old UW pop server to a new Dovecot server. The old > > server did not allow mail to be stored on the server, so only mbox files > > exist in /var/mail, with nothing in /home

[Dovecot] 2.1.x changes and dsync -- Wiki suggestion

2012-04-25 Thread Jeff Kletsky
There are a couple things that show up on the Upgrading/2.1 wiki page that would be useful to have on pages describing dsync (Tools/Dsync, Migration/MailFormat, Tools, perhaps others): * dsync was merged into doveadm * You can't dsync 2.0.x to/from 2.1.x That second point is especially "intere

Re: [Dovecot] Reading Mutt mboxes from Thunderbird

2012-04-25 Thread Daniel Parthey
Timo Sirainen schrieb: > On 24.4.2012, at 19.07, Leonardo M. Ramé wrote: > > > Hi, I'm a user of Mutt, and before moving to Thunderbird I'm trying to > > share mboxes between them. To do this, I installed Dovecot to create an > > IMAP server in my local machine, to serve mutt mboxes to be read by

Re: [Dovecot] How to remove duplicate GUID messages from storage?

2012-04-25 Thread Daniel Parthey
Timo Sirainen schrieb: > On 21.4.2012, at 23.29, Daniel Parthey wrote: > > > The following command > > doveadm -v force-resync -u usern...@example.org INBOX > > outputs lots of messages like this one, with different GUID > > doveadm(usern...@example.org): Error: mdbox > > /mail/dovecot/example.or

Re: [Dovecot] v2.1.5 released

2012-04-25 Thread Ralf Hildebrandt
* Timo Sirainen : > On 26.4.2012, at 0.26, Ralf Hildebrandt wrote: > > > * Timo Sirainen : > > 2.1.5 doesn't seem to build with pigeonhole-sieve (or it's > > pigeonhole-sieve itself?): > > > > ../../src/lib-sieve/.libs/libdovecot-sieve.so: error: undefined reference > > to 'sieve_file_script' >

Re: [Dovecot] v2.1.5 released

2012-04-25 Thread Timo Sirainen
On 26.4.2012, at 0.26, Ralf Hildebrandt wrote: > * Timo Sirainen : > 2.1.5 doesn't seem to build with pigeonhole-sieve (or it's > pigeonhole-sieve itself?): > > ../../src/lib-sieve/.libs/libdovecot-sieve.so: error: undefined reference to > 'sieve_file_script' > ../../src/lib-sieve/.libs/libdovec

Re: [Dovecot] v2.1.5 released

2012-04-25 Thread Ralf Hildebrandt
* Timo Sirainen : > On 26.4.2012, at 0.26, Ralf Hildebrandt wrote: > > > 2.1.5 doesn't seem to build with pigeonhole-sieve (or it's > > pigeonhole-sieve itself?): > > Builds against Pigeonhole 0.3.0 tarball at least. Thought so. I'm rebuilding against that one while I write this :O -- Ralf Hil

Re: [Dovecot] v2.1.5 released

2012-04-25 Thread Timo Sirainen
On 26.4.2012, at 0.26, Ralf Hildebrandt wrote: > 2.1.5 doesn't seem to build with pigeonhole-sieve (or it's > pigeonhole-sieve itself?): Builds against Pigeonhole 0.3.0 tarball at least.

Re: [Dovecot] dovecot-lda error

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 17.52, Hadi Salem wrote: > i tried using multiple uids as mention in wiki2.dovecot.org/LDA bye setting > up setuid-root for dovecot-lda but im getting on-there error from sendmail :- > > Apr 25 17:30:41 host1 sendmail[31024]: q3PEUen2031022: > to=, delay=00:00:00, xdelay=00:00

Re: [Dovecot] dovecot LDA error

2012-04-25 Thread Timo Sirainen
On 24.4.2012, at 20.41, Hadi Salem wrote: > Apr 24 20:25:46 lda(ja...@example.com): Fatal: > setgid(5000(vmail) from userdb lo > > okup) failed with > euid=8(mail), gid=12(mail), egid=12(mail): Operation not per

Re: [Dovecot] Reading Mutt mboxes from Thunderbird

2012-04-25 Thread Timo Sirainen
On 24.4.2012, at 19.07, Leonardo M. Ramé wrote: > Hi, I'm a user of Mutt, and before moving to Thunderbird I'm trying to > share mboxes between them. To do this, I installed Dovecot to create an > IMAP server in my local machine, to serve mutt mboxes to be read by > Thunderbird. > > So far, I can

Re: [Dovecot] acls not copied when creating subfolder of private INBOX

2012-04-25 Thread Timo Sirainen
On 24.4.2012, at 17.09, Andreas Helmcke wrote: > Using brand new dovecot 2.1.5 I still have a problem with the inheritance of > acls. Maybe http://hg.dovecot.org/dovecot-2.1/rev/e8b80e0767ac fixes this as well?

Re: [Dovecot] Permission problems when trying to create new folders with ACL plugin

2012-04-25 Thread Timo Sirainen
On 24.4.2012, at 14.00, Markus Petri wrote: > I have the a problem with shared folders and the ACL plugin. The user > "markus" has full access to "Shared/shared-user/Data": > > 3 GETACL "Shared/shared-user/Data" > * ACL "Shared/shared-user/Data" "markus" akxeilprwtscd > 3 OK Getacl completed. >

Re: [Dovecot] v2.1.5 released

2012-04-25 Thread Ralf Hildebrandt
* Timo Sirainen : > On 24.4.2012, at 11.59, Gerhard Wiesinger wrote: > > > Hello Timo, > > > > Dovecot 2.1.5 seems to be broken. After upgrade from > > 2.1.3 + patch http://hg.dovecot.org/dovecot-2.1/rev/86e6dc46a80e > > I only see Inbox and Trash folder. > > > > Reverting => OK. > > > > Same c

Re: [Dovecot] v2.1.5 released

2012-04-25 Thread Timo Sirainen
On 24.4.2012, at 11.59, Gerhard Wiesinger wrote: > Hello Timo, > > Dovecot 2.1.5 seems to be broken. After upgrade from > 2.1.3 + patch http://hg.dovecot.org/dovecot-2.1/rev/86e6dc46a80e > I only see Inbox and Trash folder. > > Reverting => OK. > > Same config as before and disucssed per privat

Re: [Dovecot] 2.1.5 problem with mail_location

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 20.56, postmaster wrote: > I've been advised to set : > mail_location = maildir:~/ > as the home directory is found through a sql request. > > this has been working perfectly up to and including 2.1.4 > > from 2.1.5 however this setting gives cause to a problem : > instead of lo

Re: [Dovecot] stats + fts squat plugins, indexer-worker error on message indexing

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 21.30, David Warden wrote: >>> Apr 25 09:56:26 wardentest3 dovecot: service=indexer-worker user=warden >>> rip= Error: open(/proc/self/io) failed: Permission >> >> Does the attached patch fix it? > > The error is still logged, but is that intentional on your part? It looks > l

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 21.28, Kris Weston wrote: > but then this happens when i attempt to send mail and this means the user > gets rejected because dovecot cant find the user id in the db without the > correct string (i.e. user@domain): > localhost dovecot: auth: Debug: sql(admin,xx.x

Re: [Dovecot] stats + fts squat plugins, indexer-worker error on message indexing

2012-04-25 Thread David Warden
On Apr 25, 2012, at 10:43 AM, Timo Sirainen wrote: > On 25.4.2012, at 17.20, David Warden wrote: > >> Apr 25 09:56:26 wardentest3 dovecot: service=indexer-worker user=warden rip= >> Error: open(/proc/self/io) failed: Permission > .. >> Based on http://wiki2.dovecot.org/Services#indexer-worker i

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Kris Weston
but then this happens when i attempt to send mail and this means the user gets rejected because dovecot cant find the user id in the db without the correct string (i.e. user@domain): localhost dovecot: auth: Debug: sql(admin,xx.xx.xx.xx): query: SELECT id as user, crypt as password FROM users W

Re: [Dovecot] doveadm delete folders ? / unsubscribe ?

2012-04-25 Thread Robert Schetterer
Am 25.04.2012 08:13, schrieb Robert Schetterer: > Am 24.04.2012 20:13, schrieb Timo Sirainen: >> On 24.4.2012, at 10.50, Robert Schetterer wrote: >> >>> doveadm expunge -d -u *@domain.example mailbox exampelfolder\* >>> savedbefore 10d >>> >>> works like charm, but the folders do not get unsubscrib

Re: [Dovecot] sieve vacation redirect problem / solved / restested with lates hg pigeonhole broken

2012-04-25 Thread Robert Schetterer
Am 25.04.2012 17:48, schrieb Robert Schetterer: > Am 25.04.2012 16:30, schrieb Timo Sirainen: >> On 25.4.2012, at 17.16, Robert Schetterer wrote: >> >>> Am 25.04.2012 16:11, schrieb Timo Sirainen: p *set >>> >>> hope doing it right >>> >>> (gdb) p *set >>> $1 = {postmaster_address = 0xaa33d0 "

[Dovecot] 2.1.5 problem with mail_location

2012-04-25 Thread postmaster
I've been advised to set : mail_location = maildir:~/ as the home directory is found through a sql request. this has been working perfectly up to and including 2.1.4 from 2.1.5 however this setting gives cause to a problem : instead of looking in the mail home eg /var/mail/domain/user\@domain/

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 18.52, Kris Weston wrote: > On 25/04/12 11:48, Timo Sirainen wrote: >> On 25.4.2012, at 9.17, Kris wrote: >> >>> but then this happens when i attempt to send mail and this means the user >>> gets rejected because dovecot cant find the user id in the db without the >>> correct s

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Kris Weston
On 25/04/12 11:48, Timo Sirainen wrote: On 25.4.2012, at 9.17, Kris wrote: but then this happens when i attempt to send mail and this means the user gets rejected because dovecot cant find the user id in the db without the correct string (i.e. user@domain): localhost dovecot: auth: Debug: sql

Re: [Dovecot] sieve vacation redirect problem / solved

2012-04-25 Thread Robert Schetterer
Am 25.04.2012 16:30, schrieb Timo Sirainen: > On 25.4.2012, at 17.16, Robert Schetterer wrote: > >> Am 25.04.2012 16:11, schrieb Timo Sirainen: >>> p *set >> >> hope doing it right >> >> (gdb) p *set >> $1 = {postmaster_address = 0xaa33d0 "P6\252", hostname = 0x0, >> submission_host = 0x0, sendmai

Re: [Dovecot] Error compiling pigeonhole 0.3.0 with dovecot-2.1.5 in openbsd 5.0

2012-04-25 Thread Joseba Torre
Looks like BSD doesn't know EPROTO (although it is POSIX). Dovecot uses EIO elsewhere for such stream errors, so I adopted that for ManageSieve as well. This should fix it: http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/ef5045159e6b Regards, Perfect, thank you

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Robert Schetterer
Am 25.04.2012 16:54, schrieb Chris: > 2012/4/25 Robert Schetterer : >> Am 25.04.2012 16:47, schrieb Chris: >>> 2012/4/25 Robert Schetterer : > That's totally broken.. You sure you recompiled Pigeonhole correctly > against the same Dovecot version? > its from latest http:

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Chris
2012/4/25 Robert Schetterer : > Am 25.04.2012 16:47, schrieb Chris: >> 2012/4/25 Robert Schetterer : That's totally broken.. You sure you recompiled Pigeonhole correctly against the same Dovecot version? >>> >>> its from latest >>> http://xi.rename-it.nl/debian/pool/testing-auto/dov

[Dovecot] dovecot-lda error

2012-04-25 Thread Hadi Salem
Hi, im getting the fallowing error. from dovecot-lda log Apr 25 17:30:41 lda(ja...@example.com): Fatal: setgid(5003(vmail) from userdb lookup) failed with euid=8(mail), gid=12(mail), egid=12(mail): Operation not permitted (This binary should probably be called with process group set to 5003(

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Robert Schetterer
Am 25.04.2012 16:47, schrieb Chris: > 2012/4/25 Robert Schetterer : >>> That's totally broken.. You sure you recompiled Pigeonhole correctly >>> against the same Dovecot version? >>> >> >> its from latest >> http://xi.rename-it.nl/debian/pool/testing-auto/dovecot-2.1/ >> recompiled the debain way

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Chris
2012/4/25 Robert Schetterer : >> That's totally broken.. You sure you recompiled Pigeonhole correctly against >> the same Dovecot version? >> > > its from latest > http://xi.rename-it.nl/debian/pool/testing-auto/dovecot-2.1/ > recompiled the debain way , never had bugged You are using packages co

Re: [Dovecot] stats + fts squat plugins, indexer-worker error on message indexing

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 17.20, David Warden wrote: > Apr 25 09:56:26 wardentest3 dovecot: service=indexer-worker user=warden rip= > Error: open(/proc/self/io) failed: Permission .. > Based on http://wiki2.dovecot.org/Services#indexer-worker it seems like this > is because the indexer-worker process is

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Robert Schetterer
Am 25.04.2012 16:30, schrieb Timo Sirainen: > On 25.4.2012, at 17.16, Robert Schetterer wrote: > >> Am 25.04.2012 16:11, schrieb Timo Sirainen: >>> p *set >> >> hope doing it right >> >> (gdb) p *set >> $1 = {postmaster_address = 0xaa33d0 "P6\252", hostname = 0x0, >> submission_host = 0x0, sendmai

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 17.16, Robert Schetterer wrote: > Am 25.04.2012 16:11, schrieb Timo Sirainen: >> p *set > > hope doing it right > > (gdb) p *set > $1 = {postmaster_address = 0xaa33d0 "P6\252", hostname = 0x0, > submission_host = 0x0, sendmail_path = 0x7fbaf6e41f50 > "H\211\\$\360H\211l$\370H\20

Re: [Dovecot] dsync on large mailbox "fails"

2012-04-25 Thread Jeff Kletsky
On 04/24/2012 10:08 AM, Timo Sirainen wrote: 25934 jeff 1 1030 135M 102M CPU22 128:47 100.00% doveadm Looks like it could be in an infinite loop. To find out where: That's a lot of getdirentries() calls in there, repeating all the time. So I don't think it's an infinite

[Dovecot] stats + fts squat plugins, indexer-worker error on message indexing

2012-04-25 Thread David Warden
On RHEL 6.2 + dovecot 2.1.5 with the stats and fts (squat) plugins enabled and each user having their own uid on the system I get the following error in the logs when the indexer-worker process indexes some messages: Apr 25 09:56:19 wardentest3 dovecot: imap-login: Login: user=warden, method=PL

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Robert Schetterer
Am 25.04.2012 16:11, schrieb Timo Sirainen: > p *set hope doing it right (gdb) p *set $1 = {postmaster_address = 0xaa33d0 "P6\252", hostname = 0x0, submission_host = 0x0, sendmail_path = 0x7fbaf6e41f50 "H\211\\$\360H\211l$\370H\203\354\030\200=\207A%", rejection_subject = 0x7fbaf6e42b90 "H\211\

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 17.03, Robert Schetterer wrote: > Program received signal SIGSEGV, Segmentation fault. > smtp_client_open (set=0x252b0b0, destination=0x254e410 > "ncitest...@onmotive.de", return_path=0x24e4148 > "r...@mail02.mailspooler.com", file_r=0x7fff2040a748) at smtp-client.c:146 > 146

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Robert Schetterer
Am 25.04.2012 15:51, schrieb Stephan Bosch: > Op 4/25/2012 3:29 PM, Robert Schetterer schreef: >> Am 25.04.2012 15:06, schrieb Robert Schetterer: >>> Hi , since upgrade >>> sieve vacation, redirect stopped working getting >>> >>> postfix error >>> while sending end of data -- message may be sent mo

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Robert Schetterer
Am 25.04.2012 15:46, schrieb Timo Sirainen: > bt full Program received signal SIGSEGV, Segmentation fault. smtp_client_open (set=0x252b0b0, destination=0x254e410 "ncitest...@onmotive.de", return_path=0x24e4148 "r...@mail02.mailspooler.com", file_r=0x7fff2040a748) at smtp-client.c:146 146 smtp

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Stephan Bosch
Op 4/25/2012 3:29 PM, Robert Schetterer schreef: Am 25.04.2012 15:06, schrieb Robert Schetterer: Hi , since upgrade sieve vacation, redirect stopped working getting postfix error while sending end of data -- message may be sent more than once i played a lot about sieve , lda submission host co

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 16.29, Robert Schetterer wrote: > master: service(lmtp): child 31952 killed with signal 11 (core not dumped) Can you get a gdb backtrace? Might be a bit difficult to get a core dump from lmtp, but you should be able to attach gdb into it: service lmtp { process_min_avail = 1

Re: [Dovecot] sieve vacation redirect problem

2012-04-25 Thread Robert Schetterer
Am 25.04.2012 15:06, schrieb Robert Schetterer: > Hi , since upgrade > sieve vacation, redirect stopped working getting > > postfix error > while sending end of data -- message may be sent more than once > > i played a lot about sieve , lda submission host conf entries etc but > all failed , i am

[Dovecot] sieve vacation redirect problem

2012-04-25 Thread Robert Schetterer
Hi , since upgrade sieve vacation, redirect stopped working getting postfix error while sending end of data -- message may be sent more than once i played a lot about sieve , lda submission host conf entries etc but all failed , i am not seeing any heavy bug in the logs -- Best Regards MfG Rob

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Robert Schetterer
Am 25.04.2012 12:45, schrieb Timo Sirainen: > On 25.4.2012, at 9.49, Robert Schetterer wrote: > >> #when saving to Trash mailbox the user gets additional 50MB >> "Trash:storage=+50240" AS quota_rule2, \ >> #when saving to Sent mailbox the user gets additional 50MB >> "Sent:storage=+50240" AS quota

Re: [Dovecot] How to remove duplicate GUID messages from storage?

2012-04-25 Thread Timo Sirainen
On 21.4.2012, at 23.29, Daniel Parthey wrote: > The following command > doveadm -v force-resync -u usern...@example.org INBOX > outputs lots of messages like this one, with different GUID > doveadm(usern...@example.org): Error: mdbox > /mail/dovecot/example.org/username/mail/storage: Duplicate GU

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 9.17, Kris wrote: > but then this happens when i attempt to send mail and this means the user > gets rejected because dovecot cant find the user id in the db without the > correct string (i.e. user@domain): > localhost dovecot: auth: Debug: sql(admin,xx.xx.xx.xx): query: SELECT

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Timo Sirainen
On 25.4.2012, at 9.49, Robert Schetterer wrote: > #when saving to Trash mailbox the user gets additional 50MB > "Trash:storage=+50240" AS quota_rule2, \ > #when saving to Sent mailbox the user gets additional 50MB > "Sent:storage=+50240" AS quota_rule3, \ > #when saving to Drafts mailbox the user

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Dennis Guhl
On Wed, Apr 25, 2012 at 09:50:20AM +0100, Kris Weston wrote: > > thanks for your help dennis... > >Indeed, it seems some of your users try to authenticate with a > >username without the '@domain' part. > > > >You can either try to make your users comply or you can use > >auth_default_realm in your

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Kris Weston
thanks for your help dennis... Indeed, it seems some of your users try to authenticate with a username without the '@domain' part. You can either try to make your users comply or you can use auth_default_realm in your config: in this case the users are me :) same username every time i connect

Re: [Dovecot] trash plugin bug?

2012-04-25 Thread Cor Bosman
> > Well, normally you shouldn't be over quota I guess.. :) Anyway, > > http://hg.dovecot.org/dovecot-2.1/rev/ec8564741aa8 > http://hg.dovecot.org/dovecot-2.1/rev/dd3798681283 This indeed fixed the problem. Thank you, Cor

Re: [Dovecot] dovecot %u variable problem....

2012-04-25 Thread Dennis Guhl
On Wed, Apr 25, 2012 at 07:17:18AM +0100, Kris wrote: [..] > the problem is a variable in dovecot (%u) which is normally used as > a full username in sql query strings (i.e. user@domain) and is > simply dropping the domain for some reason... [..] > and to further confuse me, this 'unchangeable'