Re: [Dovecot] deliver to root

2009-03-04 Thread Andrzej Adam Filip
Steffen Kaiser wrote: > On Wed, 4 Mar 2009, Philipp Kolmann wrote: > >> deliver(root): Mar 04 16:31:31 Error: userdb(root) returned 0 as uid >> deliver(root): Mar 04 16:31:31 Error: userdb(root) returned 0 as gid >> deliver(root): Mar 04 16:31:31 Error: User root is missing UID (set mail_uid) > >

Re: [Dovecot] deliver to root

2009-03-04 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 4 Mar 2009, Philipp Kolmann wrote: deliver(root): Mar 04 16:31:31 Error: userdb(root) returned 0 as uid deliver(root): Mar 04 16:31:31 Error: userdb(root) returned 0 as gid deliver(root): Mar 04 16:31:31 Error: User root is missing UID (set

[Dovecot] setting up both system password users AND virtual users

2009-03-04 Thread Jim Pazarena
I'm afraid that I am a rookie at dovecot, and cannot seem to figure the configuration for a dual system & virtual setup. For now I am using POP3 ---only--- I've got the "system" working, but cannot figure out how to add the virtual system. The docs aren't quite clear enough for me to understand

[Dovecot] Maildir dirty syncs

2009-03-04 Thread Timo Sirainen
http://dovecot.org/patches/1.1/maildir-dirty-syncs.diff This patch adds a new maildir_very_dirty_syncs setting. If set to "yes", Dovecot assumes it's the only one changing the cur/ directory (so other MDAs can add mails to new/ without problems). This makes it possible to avoid rescanning the cur/

Re: [Dovecot] Outlook cant delete folders

2009-03-04 Thread Timo Sirainen
On Wed, 2009-03-04 at 08:50 -0600, Romer Ventura wrote: > Outlook error: > Cannot delete the folder. Right-click the folder, and then click on > Properties to check your permissions for the folder. See the Folder > owner or the administrator to change your permissions. The server > responded:

Re: [Dovecot] failed assertion in 1.1.8: istream.c: line 81

2009-03-04 Thread Timo Sirainen
On Wed, 2009-03-04 at 10:12 -0500, Alan Ferrency wrote: > Hi. > > I applied the patch, and the assertion did move to istream-raw-mbox.c. > > I've attached a script of the gdb session with the prints you requested. Thanks. See if applying this patch helps: http://hg.dovecot.org/dovecot-1.1/raw-r

Re: [Dovecot] imap locking spool?

2009-03-04 Thread Scott Silva
on 3-4-2009 11:23 AM Mark Hedges spake the following: > On Tue, 3 Mar 2009, Timo Sirainen wrote: >> If you set mbox_read_locks=dotlock, it should get created >> whenever Dovecot is reading the mbox file. But it's >> created ONLY during those times. For example opening a >> mailbox whose index files

Re: [Dovecot] set \Seen flag on mail

2009-03-04 Thread Stephan Bosch
J.P. Trosclair wrote: > I'm looking for a way to set the \Seen flag on certain mail no matter > what. Currently I'm using a global sieve script to do this. From what > I've read, there is no way to enforce the global script if the user > creates their own sieve script. > > More details: > > I hav

Re: [Dovecot] imap locking spool?

2009-03-04 Thread Charles Marcus
On 3/4/2009, Mark Hedges (hed...@scriptdolphin.org) wrote: > I think the only real answer is to lock the user's password, > kill any dovecot processes with the username in verbose > proctitle (-HUP? -KILL?), then run my expiration script on > their mailboxes. OR, use horde. I was going to say...

Re: [Dovecot] deliver to root

2009-03-04 Thread Vegard Svanberg
* Philipp Kolmann [2009-03-04 17:02]: > This setup works without issues for us, but mail to root has a problem > with deliver: Not an answer to your exact question, but usually, it's recommended to forward mail for root to another user, for instance in /etc/aliases. -- Vegard Svanberg [*tak

Re: [Dovecot] imap locking spool?

2009-03-04 Thread Timo Sirainen
On Wed, 2009-03-04 at 11:23 -0800, Mark Hedges wrote: > On Tue, 3 Mar 2009, Timo Sirainen wrote: > > If you set mbox_read_locks=dotlock, it should get created > > whenever Dovecot is reading the mbox file. But it's > > created ONLY during those times. For example opening a > > mailbox whose index f

Re: [Dovecot] OT: pkgsrc (was: dovecot/postfix on Mac)

2009-03-04 Thread Bradley Giesbrecht
On Mar 4, 2009, at 11:22 AM, Edgar Fuß wrote: What is pkgsrc? A package system (see www.pkgsrc.org) Originally the package system of NetBSD, but then ported to 13 other platforms, Darwin being the second one. Extremly flexible, quarterly stable branches, 7300 packages. It's really nice t

Re: [Dovecot] imap locking spool?

2009-03-04 Thread Mark Hedges
On Tue, 3 Mar 2009, Timo Sirainen wrote: > If you set mbox_read_locks=dotlock, it should get created > whenever Dovecot is reading the mbox file. But it's > created ONLY during those times. For example opening a > mailbox whose index files are up-to-date doesn't cause > dotlock to be created. And w

[Dovecot] OT: pkgsrc (was: dovecot/postfix on Mac)

2009-03-04 Thread Edgar Fuß
> What is pkgsrc? A package system (see www.pkgsrc.org) Originally the package system of NetBSD, but then ported to 13 other platforms, Darwin being the second one. Extremly flexible, quarterly stable branches, 7300 packages. It's really nice to have the same package system on my Macs and NetBS

Re: [Dovecot] dovecot/postfix on Mac (was: tls and auth plain login)

2009-03-04 Thread Bradley Giesbrecht
On Mar 4, 2009, at 9:36 AM, Edgar Fuß wrote: A couple of us are working on a macports project for dovecot, postfix, mysql, bind9 dlz etc... virtual everything. pkgsrc has all of these. Also, the way we are building should easily move to bsd's and linux distros. pkgsrc already does th

[Dovecot] dovecot/postfix on Mac (was: tls and auth plain login)

2009-03-04 Thread Edgar Fuß
> A couple of us are working on a macports project for dovecot, postfix, > mysql, bind9 dlz etc... virtual everything. pkgsrc has all of these. > Also, the way we are building should easily move to bsd's and linux > distros. pkgsrc already does that (and even Solaris, Irix and HP-UX). > I

Re: [Dovecot] no auth attempts: log

2009-03-04 Thread Charles Marcus
On 3/4/2009, Mathieu Kretchner (mathieu.kretch...@sophia.inria.fr) wrote: > Yes they are heartbeat checks ! you're so perceptive (excuse my english) Actually, thats the perfect word for it... Timo is unusually perceptive - sometimes uncannily so... :)

Re: [Dovecot] ACLs are applied recursively to sub mailboxes

2009-03-04 Thread Sascha Wilde
Sascha Wilde writes: > Timo Sirainen writes: >> On Wed, 2009-03-04 at 17:01 +0100, Sascha Wilde wrote: >>> * LIST (\HasChildren) "/" "user/1...@aztec.intevation.de/foobar" >> >> [...] Is the mailbox also selectable? Oh, missed to answer that question: yes, it is selectable and the contents i

Re: [Dovecot] ACLs are applied recursively to sub mailboxes

2009-03-04 Thread Sascha Wilde
Timo Sirainen writes: > On Wed, 2009-03-04 at 17:01 +0100, Sascha Wilde wrote: >> Hi *, >> >> The problem is most noticeable when a user shares his INBOX[0][1] with >> others: >> >> User A sets his INBOX acls to "eilprwtsd" >> >> Now User B can see _all_ sub mailboxes and sub sub [...] mailbox

Re: [Dovecot] ACLs are applied recursively to sub mailboxes

2009-03-04 Thread Timo Sirainen
On Wed, 2009-03-04 at 17:01 +0100, Sascha Wilde wrote: > Hi *, > > The problem is most noticeable when a user shares his INBOX[0][1] with > others: > > User A sets his INBOX acls to "eilprwtsd" > > Now User B can see _all_ sub mailboxes and sub sub [...] mailboxes and > their contents of User A:

Re: [Dovecot] no auth attempts: log

2009-03-04 Thread Mathieu Kretchner
Timo Sirainen a écrit : > On Tue, 2009-03-03 at 14:52 +0100, Mathieu Kretchner wrote: >> Hello, >> >> is there any option that could disable such log : >> >> Mar 2 16:47:31 imap dovecot: imap-login: Disconnected (no auth >> attempts): rip=127.0.0.1, lip=127.0.0.1, secured, port=143 > > So those a

[Dovecot] v1.2: can't access other users shared INBOX

2009-03-04 Thread Sascha Wilde
Hi *, when a user A shares his INBOX with another user B, the user B can't access its content: User A: g getacl INBOX * ACL INBOX a...@example.com lrswipkxtecda b...@example.com lrswipkxtecd g OK Completed User B: l list "" "*" * LIST (\Noselect \HasChildren) "/" "user" * LIST (\No

Re: [Dovecot] ACLs are applied recursively to sub mailboxes

2009-03-04 Thread Sascha Wilde
Sascha Wilde writes: Ooops some search and replace missing, the example should read: > User A: > g getacl INBOX > * ACL "INBOX" "a...@example.com" akxeilprwtscd "b...@example.com" eilprwtsd > "a...@example.com" lrwstipekxacd > g OK Getacl completed. > g getacl INBOX/foobar > * ACL "IN

[Dovecot] deliver to root

2009-03-04 Thread Philipp Kolmann
Hi, we use dovecot 1.1.11 on a RH Server with sendmail. Local delivery is done with deliver: Mlocal, P=/usr/local/libexec/dovecot/deliver, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=deliver -d $u This setup work

[Dovecot] ACLs are applied recursively to sub mailboxes

2009-03-04 Thread Sascha Wilde
Hi *, The problem is most noticeable when a user shares his INBOX[0][1] with others: User A sets his INBOX acls to "eilprwtsd" Now User B can see _all_ sub mailboxes and sub sub [...] mailboxes and their contents of User A: User A: g getacl INBOX * ACL "INBOX" "a...@example.com" akxeilprwts

Re: [Dovecot] set \Seen flag on mail

2009-03-04 Thread Tom Hendrikx
J.P. Trosclair schreef: > I'm looking for a way to set the \Seen flag on certain mail no matter > what. Currently I'm using a global sieve script to do this. From what > I've read, there is no way to enforce the global script if the user > creates their own sieve script. > > More details: > > I h

Re: [Dovecot] Shared mailbox documentation updated

2009-03-04 Thread Sascha Wilde
Timo Sirainen writes: > http://wiki.dovecot.org/SharedMailboxes Great! > Anything missing? Anything still need clarifying? On a first glance looks looks quite complete. :) Maybe the configuration example should include "mail_location" to show how it relates to the "location" in the shared na

Re: [Dovecot] failed assertion in 1.1.8: istream.c: line 81

2009-03-04 Thread Alan Ferrency
Hi. I applied the patch, and the assertion did move to istream-raw-mbox.c. I've attached a script of the gdb session with the prints you requested. Thanks, Alan Ferrency pair Networks, Inc. On Tue, 3 Mar 2009, Timo Sirainen wrote: > On Tue, 2009-03-03 at 15:42 -0500, Alan Ferrency wrote: > > O

Re: [Dovecot] Outlook cant delete folders

2009-03-04 Thread Romer Ventura
It doesnt matter if it is an existent account or a new account. If i create folders at any depth i get the error when i try to delete it by right-clicking on the folder and selecting "Delete". Outlook error: Cannot delete the folder. Right-click the folder, and then click on Properties to c

Re: [Dovecot] set \Seen flag on mail

2009-03-04 Thread Patrick Nagel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On 2009-03-04 10:53, J.P. Trosclair wrote: | Is there a better way to set the \Seen flag other than the global sieve | script since it can be overridden by the user? One idea: You could use the Sieve include extension to include the global scrip