Re: [Dovecot] Imap Ghost folder

2012-08-29 Thread Sascha Zucca

Hi all.
Sorry, but i can't believe noone has a hint on this one.
I guess it's just some stupid detail i am missing.

dovecot --version
2.1.7
If in the shared folders part of dovecot.conf i use:

*prefix = Freigaben/%%n/ *
Then in the subscription menu (and later in shared Folder too) i see
http://s9.postimage.org/6aohh97ov/iehadjhb.jpg (Open-Xchange-GUI)
http://s12.postimage.org/z0n82k2u5/bjddgefg.jpg (Thunderbird)

all is good, when using
*prefix = Freigaben/%%u/ *
only the name is very longish then, so i'd really prefer n.

Please help me.

Thank you very much
Sascha

Systemschmiede IT-Lösungen
Zucca  Teves GbR
August-Thyssen-Straße 2-4
52511 Geilenkirchen
www.systemschmiede.com


Tel.:  02451 - 9088390
Fax:   02451 - 9124070
Mobil: 0178  - 4073254

Ust.ID: DE248030393

Am 28.08.2012 10:30, schrieb Sascha Zucca:

another update on this:

I have this in my logfile:
Debug: Namespace : type=shared, prefix=Freigaben/%u/, sep=/, inbox=no, 
hidden=yes, list=children, subscriptions=no 
location=maildir:/var/vmail/%d/%n/Maildir:INDEX=/var/vmail/parrotshop.de/testuser-2/Maildir/shared/%u


Though this is in my dovecot.conf:

prefix=Freigaben/%%u/
location=maildir:/var/vmail/%%d/%%n/Maildir:INDEX=/var/vmail/%d/%n/Maildir/shared/%%u 



How come? And does this behaviour maybe also explain the unnamed 
folder i have when using prefix=Freigaben/%%n/ instead of %%u ?


Thanks for your assistance
Sascha




Hi Timo, hi list
I upgraded:
dovecot --version
2.1.7
But still i have this ghostfolder as soon as i want to use
prefix = shares/%%n/

all is good, when using
prefix = shares/%%u/


Any idea what could be wrong?


Thank you very much
Sascha

Systemschmiede IT-Lösungen
Zucca  Teves GbR
August-Thyssen-Straße 2-4
52511 Geilenkirchen
www.systemschmiede.com


Tel.:  02451 - 9088390
Fax:   02451 - 9124070
Mobil: 0178  - 4073254

Ust.ID: DE248030393

Am 25.08.2012 15:06, schrieb Timo Sirainen:
It's very likely that this has been fixed in v2.1. And in any case 
I'm not fixing non-security bugs anymore for v1.x. You can find v2.x 
debian packages from backports.org.


On 25.8.2012, at 15.56, Sascha Zucca wrote:


Hi Timo,
dovecot --version
1.2.15

It's the stable one for debian squeeze i presume.

Thank you for your help.

Sascha


Am 25.08.2012 13:53, schrieb Timo Sirainen:

On 25.8.2012, at 14.11, Sascha Zucca wrote:


Hi List,
i found out the following:
The problem with the ghostfolder occurs only if i use

prefix = shares/%%n/

When using
prefix = shares/%%u/

everytung's ok!

What Dovecot version?




--
Systemschmiede IT-Lösungen
Zucca  Teves GbR
August-Thyssen-Str. 2-4
52511 Geilenkirchen
www.systemschmiede.com


Tel.:  02451 - 9088390
Fax:   02451 - 9124070
Mobil: 0178  - 4073254

Ust.ID: DE248030393







[Dovecot] ACL MySQL dict: to_user==from_user entries

2012-08-29 Thread Roland Rosenfeld
Hi!

We run dovecot 2.1.6 with ACL support and MySQL dict for
shared/shared-boxes/user/$to/$from.

When a user does a SETACL (via IMAP) to himself he is added as $to and
$from to the MySQL dict.  Se for example this IMAP conversation:

5 GETACL INBOX
* ACL INBOX user@domain lrwstipekxacd
5 OK Getacl completed.
6 SETACL INBOX user@domain lrwstipekxacd
6 OK Setacl complete.
7 GETACL INBOX
* ACL INBOX user@domain akxeilprwtscd
7 OK Getacl completed.

As you can see, user@domain sets the ACL of his INBOX to the same
value it was set before (reading it from the server after this
idempotent write changed the order but none of the flags).

But after SETACL INBOX user@domain lrwstipekxacd I see a new entry
in my imap_acl_shares table where to_user and from_user both contain
the value user@domain.

As far as I can see, this entry does not make much sense in the
database, because every user should be able so see its own folders.

But adding this line may blow up the database especially according to
the full table scan problem for acl dict rebuild mentioned in
http://www.dovecot.org/list/dovecot/2012-August/067548.html.


Does it make sense to run a daily cron job, that removes all entries
with from_user=to_user or may this cause other inconsistencies?


If you need to have a look at my complete setup, it's in
http://www.dovecot.org/list/dovecot/2012-July/067130.html, so I don't
have to clone this here.


Tscho

Roland


Re: [Dovecot] IMAP IDLE - iPhone?

2012-08-29 Thread Giles Coochey

On 23/08/2012 21:49, Timo Sirainen wrote:

On 23.8.2012, at 23.26, Warren Baker wrote:


On Thu, Aug 23, 2012 at 8:50 PM, Timo Sirainen t...@iki.fi wrote:

On 14.8.2012, at 11.18, Timo Sirainen wrote:

v2.2 has this now: http://hg.dovecot.org/dovecot-2.2/rev/8d7f9e2d726c

Is there a reason why 172.16.0.0/12 was left out of the change ^^ ?

Is it actually used? :) I've used 192.168 in my home network and all corporate 
networks I've seen have been 10/8. But  yeah, I guess since there aren't more 
than those 3 I'll just add it (I thought there were more of them, but looks 
like they're reserved for other purposes).

I specifically use 172.16.0.0/12 because others don't, I also 
specifically don't use 172.16.0.0/16, because if someone does use 
172.16.0.0/12 they usually only use 172.16.0.0/16...
It's easy for people to connect to my networks via a VPN connection, and 
generally not have any IP conflicts with their own RFC1918 ranges and 
not have to fiddle with NAT issues.


--
Regards,

Giles Coochey, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Dovecot] Imap Ghost folder

2012-08-29 Thread Daniel Parthey
Hi Sascha,

Sascha Zucca wrote:
 Sorry, but i can't believe noone has a hint on this one.

Sorry, but you forgot to post your complete doveconf -n output
and how to exactly reproduce this.

 http://s12.postimage.org/z0n82k2u5/bjddgefg.jpg (Thunderbird)

I'm getting the same result when SIEVE sorts Messages into autocreated
subfolders inside of folders which do not exist. So it's probably
not a ghost folder, it is just an intermediate folder
which does not exist itself, but contains existing subfolders.

This forces your mail client to display the folder in the tree:

INBOX exists (black)
INBOX/foo does not exist (grey)
INBOX/foo/bar exists (black)

HTH and Regards
Daniel
-- 
https://plus.google.com/103021802792276734820