Re: shared mailboxes - all so present on the web - no light yet

2006-12-13 Thread Andrew Morgan

On Wed, 13 Dec 2006, Martin Marcher wrote:


Ok, to clear things up I have these mailboxes:

localhost.example.com> lam [EMAIL PROTECTED]
[EMAIL PROTECTED] lrswipcda
anyone p

localhost.example.com> lam user/[EMAIL PROTECTED]
[EMAIL PROTECTED] lrswipcda
cyrus lrswipcda

No I write a mail to "[EMAIL PROTECTED]" and I want the mail to be 
posted to "[EMAIL PROTECTED]" I do need to use sieve (anything else?) to 
have this mail posted to "[EMAIL PROTECTED]" instead of somewhere in 
"[EMAIL PROTECTED]"


Because:

If "[EMAIL PROTECTED]" exists cyrus would put the message there (given 
the ACLs are correct)

If only "[EMAIL PROTECTED]" exists cyrus would put the message there

Hope I could express myself a bit clearer now...


You would need to use a sieve rule on "[EMAIL PROTECTED]" to somehow 
redirect/fileinto the message to "[EMAIL PROTECTED]".


You cannot do exactly what you ask without a sieve rule.

Consider what would happen if you had both "[EMAIL PROTECTED]" (shared 
folder) and "user/[EMAIL PROTECTED]" (folder "foo" under the user's 
inbox).  If send email to [EMAIL PROTECTED], which mailbox should Cyrus 
put it in?


Andy

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: shared mailboxes - all so present on the web - no light yet

2006-12-13 Thread Martin Marcher

Hello,

Am 13.12.2006 um 16:48 schrieb Adam Tauno Williams:


Ditto.


My fault, I just didn't have enough time to figure the correct  
vocabulary for my goals. This makes googling information very hard  
too :(



Maybe what you want is to set postuser in your imapd.conf.


for me it works fine without a postuser (are there any drawbacks in  
not using a postuser?)
"[EMAIL PROTECTED]" works fine and as far as I understood postuser  
would just be some artificial username to prepend to shared mailboxes...


Yep.  Anonymous needs p if you want to receive unauthenticated  
messages

to a folder.


Ok now user+mailbox posting works fine (where user is an existing  
user in cyrus and mailbox is a "subfolder" in "users"s mailbox)


For [EMAIL PROTECTED] that would be user/user/ 
[EMAIL PROTECTED]

(or user.user.shared) - or INBOX.shared for the user.
Shared mailboxes are
You can also use sieve to redirect mails to [EMAIL PROTECTED] or
[EMAIL PROTECTED] to the folder or something similar. Most WEb
interfaces are unable to filter the mailbox extension (thats what the
"shared" in [EMAIL PROTECTED] is called), though, so you'd
probably want to create a dedicated user for that.


Ok, to clear things up I have these mailboxes:

localhost.example.com> lam [EMAIL PROTECTED]
[EMAIL PROTECTED] lrswipcda
anyone p

localhost.example.com> lam user/[EMAIL PROTECTED]
[EMAIL PROTECTED] lrswipcda
cyrus lrswipcda

No I write a mail to "[EMAIL PROTECTED]" and I want the mail to  
be posted to "[EMAIL PROTECTED]" I do need to use sieve (anything  
else?) to have this mail posted to "[EMAIL PROTECTED]" instead of  
somewhere in "[EMAIL PROTECTED]"


Because:

If "[EMAIL PROTECTED]" exists cyrus would put the message there  
(given the ACLs are correct)

If only "[EMAIL PROTECTED]" exists cyrus would put the message there

Hope I could express myself a bit clearer now...

martin



Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: shared mailboxes - all so present on the web - no light yet

2006-12-13 Thread Martin Marcher

Hello,

Am 13.12.2006 um 15:45 schrieb former03 | Baltasar Cevc:

I must admit that I don't fully understand what you want to achieve  
- because of that I can only give a generic hint: the most common  
problems are permissions. The delivery user must have Post ("p")  
permissions to the subfolder.
For [EMAIL PROTECTED] that would be user/user/ 
[EMAIL PROTECTED] (or user.user.shared) - or INBOX.shared for the  
user.

Shared mailboxes are



I do have the following layout

localhost.example.com> lm user/[EMAIL PROTECTED]
user/[EMAIL PROTECTED] (\HasChildren)

localhost.example.com> lam user/[EMAIL PROTECTED]
[EMAIL PROTECTED] lrswipcda
cyrus lrswipcda

localhost.example.com> lm [EMAIL PROTECTED]
[EMAIL PROTECTED] (\HasNoChildren)

localhost.example.com> lam [EMAIL PROTECTED]
[EMAIL PROTECTED] lrswipcda
anyone lrsp


What I can do is write a mail to "[EMAIL PROTECTED]" which is  
placed in the mailbox of "[EMAIL PROTECTED]" <- this is the way I  
want it


What I can't do is write a mail to"[EMAIL PROTECTED]" this is  
placed in the inbox of "user/[EMAIL PROTECTED]" but I'd like it to be  
placed in the "[EMAIL PROTECTED]" mailbox


I'm not even sure any more if this is doable. Also If i send to user 
[EMAIL PROTECTED] (where the mailbox "something" does exist) I  
just gets delivered to INBOX. Chances are good I missed something  
major (preauthed lmtp delivery?)


martin

PS: Posting to the list again in case someone needs find this in the  
archives.




You can also use sieve to redirect mails to [EMAIL PROTECTED] or  
[EMAIL PROTECTED] to the folder or something similar. Most WEb  
interfaces are unable to filter the mailbox extension (thats what  
the "shared" in [EMAIL PROTECTED] is called), though, so  
you'd probably want to create a dedicated user for that.




Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: shared mailboxes - all so present on the web - no light yet

2006-12-13 Thread Adam Tauno Williams
> > I just created a shared mailbox where users can subscribe and post to 
> > by addressing [EMAIL PROTECTED] mail gets delivered correctly. But 
> > I'm trying to achieve that [EMAIL PROTECTED] gets delivered to 
> > this shared mailbox.
> I must admit that I don't fully understand what you want to achieve - 

Ditto.

Maybe what you want is to set postuser in your imapd.conf.

For instance we have:
postuser: shared

So shared+folder1@ gets sent to /folder1;  under no user.  or shared
+folderA.folderB gets sent to /folderA/folderB.

Sending to username+folderB looks for /user/username/folderB.

> because of that I can only give a generic hint: the most common 
> problems are permissions. The delivery user must have Post ("p") 
> permissions to the subfolder.

Yep.  Anonymous needs p if you want to receive unauthenticated messages
to a folder.

> For [EMAIL PROTECTED] that would be user/user/[EMAIL PROTECTED] 
> (or user.user.shared) - or INBOX.shared for the user.
> Shared mailboxes are
> You can also use sieve to redirect mails to [EMAIL PROTECTED] or 
> [EMAIL PROTECTED] to the folder or something similar. Most WEb 
> interfaces are unable to filter the mailbox extension (thats what the 
> "shared" in [EMAIL PROTECTED] is called), though, so you'd 
> probably want to create a dedicated user for that.


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: shared mailboxes - all so present on the web - no light yet

2006-12-13 Thread former03 | Baltasar Cevc

Hi,


I just created a shared mailbox where users can subscribe and post to 
by addressing [EMAIL PROTECTED] mail gets delivered correctly. But 
I'm trying to achieve that [EMAIL PROTECTED] gets delivered to 
this shared mailbox.



I must admit that I don't fully understand what you want to achieve - 
because of that I can only give a generic hint: the most common 
problems are permissions. The delivery user must have Post ("p") 
permissions to the subfolder.
For [EMAIL PROTECTED] that would be user/user/[EMAIL PROTECTED] 
(or user.user.shared) - or INBOX.shared for the user.

Shared mailboxes are

You can also use sieve to redirect mails to [EMAIL PROTECTED] or 
[EMAIL PROTECTED] to the folder or something similar. Most WEb 
interfaces are unable to filter the mailbox extension (thats what the 
"shared" in [EMAIL PROTECTED] is called), though, so you'd 
probably want to create a dedicated user for that.


Baltasar

--
Baltasar Cevc

_ former 03 gmbh
_ infanteriestraße 19 haus 6 eg
_ D-80797 muenchen

_ http://www.former03.de


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


shared mailboxes - all so present on the web - no light yet

2006-12-12 Thread Martin Marcher

Hello,

I just created a shared mailbox where users can subscribe and post to  
by addressing [EMAIL PROTECTED] mail gets delivered correctly. But  
I'm trying to achieve that [EMAIL PROTECTED] gets delivered to  
this shared mailbox.


I just googled a few hours but couldn't find any pointers on how to  
do that. It also seems that sieve isn't an option since from what I  
found on the web shared mailboxes and sieve work together from  
>=cyrus-2.3


Any pointers on how to do that would be helpfull.

I attached to log sessions, one where I successfully post to  
[EMAIL PROTECTED] and one where I post (unsuccessfully) to user 
[EMAIL PROTECTED] (the message is delivered to the users inbox).


\martin

Log excerpts (mailto:[EMAIL PROTECTED]):
Dec 13 04:14:34 localhost postfix/smtpd[10519]: C1B56152F8A9:  
client=demo.example.com[192.168.0.1], sasl_method=PLAIN,  
[EMAIL PROTECTED]
Dec 13 04:14:34 localhost postfix/cleanup[10581]: C1B56152F8A9:  
message-id=<[EMAIL PROTECTED]>
Dec 13 04:14:34 localhost postfix/qmgr[8829]: C1B56152F8A9:  
from=<[EMAIL PROTECTED]>, size=601, nrcpt=1 (queue active)
Dec 13 04:14:34 localhost cyrus/imap[10572]: open: user  
[EMAIL PROTECTED] opened INBOX/Sent
Dec 13 04:14:35 localhost postfix/smtpd[10589]: connect from  
localhost.openforce.lan[127.0.0.1]
Dec 13 04:14:36 localhost postfix/smtpd[10589]: 0660B152F8AD:  
client=localhost.openforce.lan[127.0.0.1]
Dec 13 04:14:36 localhost postfix/cleanup[10581]: 0660B152F8AD:  
message-id=<[EMAIL PROTECTED]>
Dec 13 04:14:36 localhost postfix/qmgr[8829]: 0660B152F8AD:  
from=<[EMAIL PROTECTED]>, size=988, nrcpt=1 (queue active)
Dec 13 04:14:36 localhost cyrus/master[10592]: about to exec /usr/lib/ 
cyrus/bin/lmtpd

Dec 13 04:14:36 localhost cyrus/lmtp[9685]: accepted connection
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: connection from  
localhost.openforce.lan [127.0.0.1] preauth'd as postman

Dec 13 04:14:36 localhost cyrus/lmtp[10592]: executed
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: duplicate_check:  
<[EMAIL PROTECTED]> example.com!shared  0
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: duplicate_check:  
<[EMAIL PROTECTED]> example.com!shared  0
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: mystore: starting txn  
2147483758
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: mystore: committing txn  
2147483758
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: duplicate_mark:  
<[EMAIL PROTECTED]> example.com! 
shared  1165979676 140737486810112
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: Delivered:  
<[EMAIL PROTECTED]> to mailbox:  
example.com!shared
Dec 13 04:14:36 localhost postfix/lmtp[10591]: 0660B152F8AD: to=< 
[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1]:24, delay=0.16,  
delays=0.12/0.01/0.02/0, dsn=2.1.5, status=sent (250 2.1.5 Ok)

Dec 13 04:14:36 localhost postfix/qmgr[8829]: 0660B152F8AD: removed
Dec 13 04:14:36 localhost postfix/smtpd[10589]: disconnect from  
localhost.example.com[127.0.0.1]
Dec 13 04:14:36 localhost postfix/lmtp[10582]: C1B56152F8A9: to=< 
[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=127.0.0.1 
[127.0.0.1]:10024, delay=1.4, delays=0.05/0/0.04/1.3, dsn=2.6.0,  
status=sent (250 2.6.0 <[EMAIL PROTECTED]> Message accepted for  
delivery)

Dec 13 04:14:36 localhost postfix/qmgr[8829]: C1B56152F8A9: removed

Log excerpts (mailto:[EMAIL PROTECTED]):
Dec 13 04:21:38 localhost postfix/smtpd[10630]: connect from  
demo.example.com[192.168.0.1]
Dec 13 04:21:38 localhost postfix/smtpd[10630]: 6C35F152F8A9:  
client=demo.example.com[192.168.0.1], sasl_method=PLAIN,  
[EMAIL PROTECTED]
Dec 13 04:21:38 localhost postfix/cleanup[10646]: 6C35F152F8A9:  
resent-message-id=<[EMAIL PROTECTED]>
Dec 13 04:21:38 localhost postfix/cleanup[10646]: 6C35F152F8A9:  
message-id=<[EMAIL PROTECTED]>
Dec 13 04:21:38 localhost postfix/qmgr[8829]: 6C35F152F8A9:  
from=<[EMAIL PROTECTED]>, size=858, nrcpt=1 (queue active)
Dec 13 04:21:38 localhost cyrus/imap[10605]: open: user  
[EMAIL PROTECTED] opened INBOX/Sent
Dec 13 04:21:39 localhost postfix/smtpd[10649]: connect from  
localhost.example.com[127.0.0.1]
Dec 13 04:21:39 localhost postfix/smtpd[10649]: 23A93152F8AD:  
client=localhost.example.com[127.0.0.1]
Dec 13 04:21:39 localhost postfix/cleanup[10646]: 23A93152F8AD:  
resent-message-id=<[EMAIL PROTECTED]>
Dec 13 04:21:39 localhost postfix/cleanup[10646]: 23A93152F8AD:  
message-id=<[EMAIL PROTECTED]>
Dec 13 04:21:39 localhost postfix/qmgr[8829]: 23A93152F8AD:  
from=<[EMAIL PROTECTED]>, size=1259, nrcpt=1 (queue active)

Dec 13 04:21:39 localhost cyrus/lmtp[10600]: accepted connection
Dec 13 04:21:39 localhost cyrus/lmtp[10600]: connection from  
localhost.example.com [127.0.0.1] preauth'd as postman
Dec 13 04:21:39 localhost cyrus/master[10652]: about to exec /usr/lib/ 
cyrus/bin/lmtpd

Dec 13 04:21:39 localhost cyrus/lmtp[10652]: executed
Dec 13 04:21:39 localhost cyrus/lmtp[10600]: duplicate_check:  
<[EMAIL PROTECTED]> example.com! 
user.user.shared 0
Dec 13 04:21:39 localhost cyrus/lmtp[10600]: duplicate_check:  
<[

shared mailboxes - all so present on the web - no light yet

2006-12-12 Thread Martin Marcher

Hello,

I just created a shared mailbox where users can subscribe and post to  
by addressing [EMAIL PROTECTED] mail gets delivered correctly. But  
I'm trying to achieve that [EMAIL PROTECTED] gets delivered to  
this shared mailbox.


I just googled a few hours but couldn't find any pointers on how to  
do that. It also seems that sieve isn't an option since from what I  
found on the web shared mailboxes and sieve work together from  
>=cyrus-2.3


Any pointers on how to do that would be helpfull.

I attached to log sessions, one where I successfully post to  
[EMAIL PROTECTED] and one where I post (unsuccessfully) to user 
[EMAIL PROTECTED] (the message is delivered to the users inbox).


\martin

Log excerpts (mailto:[EMAIL PROTECTED]):
Dec 13 04:14:34 localhost postfix/smtpd[10519]: C1B56152F8A9:  
client=demo.example.com[192.168.0.1], sasl_method=PLAIN,  
[EMAIL PROTECTED]
Dec 13 04:14:34 localhost postfix/cleanup[10581]: C1B56152F8A9:  
message-id=<[EMAIL PROTECTED]>
Dec 13 04:14:34 localhost postfix/qmgr[8829]: C1B56152F8A9:  
from=<[EMAIL PROTECTED]>, size=601, nrcpt=1 (queue active)
Dec 13 04:14:34 localhost cyrus/imap[10572]: open: user  
[EMAIL PROTECTED] opened INBOX/Sent
Dec 13 04:14:35 localhost postfix/smtpd[10589]: connect from  
localhost.openforce.lan[127.0.0.1]
Dec 13 04:14:36 localhost postfix/smtpd[10589]: 0660B152F8AD:  
client=localhost.openforce.lan[127.0.0.1]
Dec 13 04:14:36 localhost postfix/cleanup[10581]: 0660B152F8AD:  
message-id=<[EMAIL PROTECTED]>
Dec 13 04:14:36 localhost postfix/qmgr[8829]: 0660B152F8AD:  
from=<[EMAIL PROTECTED]>, size=988, nrcpt=1 (queue active)
Dec 13 04:14:36 localhost cyrus/master[10592]: about to exec /usr/lib/ 
cyrus/bin/lmtpd

Dec 13 04:14:36 localhost cyrus/lmtp[9685]: accepted connection
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: connection from  
localhost.openforce.lan [127.0.0.1] preauth'd as postman

Dec 13 04:14:36 localhost cyrus/lmtp[10592]: executed
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: duplicate_check:  
<[EMAIL PROTECTED]> example.com!shared  0
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: duplicate_check:  
<[EMAIL PROTECTED]> example.com!shared  0
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: mystore: starting txn  
2147483758
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: mystore: committing txn  
2147483758
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: duplicate_mark:  
<[EMAIL PROTECTED]> example.com! 
shared  1165979676 140737486810112
Dec 13 04:14:36 localhost cyrus/lmtp[9685]: Delivered:  
<[EMAIL PROTECTED]> to mailbox:  
example.com!shared
Dec 13 04:14:36 localhost postfix/lmtp[10591]: 0660B152F8AD: to=< 
[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1]:24, delay=0.16,  
delays=0.12/0.01/0.02/0, dsn=2.1.5, status=sent (250 2.1.5 Ok)

Dec 13 04:14:36 localhost postfix/qmgr[8829]: 0660B152F8AD: removed
Dec 13 04:14:36 localhost postfix/smtpd[10589]: disconnect from  
localhost.example.com[127.0.0.1]
Dec 13 04:14:36 localhost postfix/lmtp[10582]: C1B56152F8A9: to=< 
[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=127.0.0.1 
[127.0.0.1]:10024, delay=1.4, delays=0.05/0/0.04/1.3, dsn=2.6.0,  
status=sent (250 2.6.0 <[EMAIL PROTECTED]> Message accepted for  
delivery)

Dec 13 04:14:36 localhost postfix/qmgr[8829]: C1B56152F8A9: removed

Log excerpts (mailto:[EMAIL PROTECTED]):
Dec 13 04:21:38 localhost postfix/smtpd[10630]: connect from  
demo.example.com[192.168.0.1]
Dec 13 04:21:38 localhost postfix/smtpd[10630]: 6C35F152F8A9:  
client=demo.example.com[192.168.0.1], sasl_method=PLAIN,  
[EMAIL PROTECTED]
Dec 13 04:21:38 localhost postfix/cleanup[10646]: 6C35F152F8A9:  
resent-message-id=<[EMAIL PROTECTED]>
Dec 13 04:21:38 localhost postfix/cleanup[10646]: 6C35F152F8A9:  
message-id=<[EMAIL PROTECTED]>
Dec 13 04:21:38 localhost postfix/qmgr[8829]: 6C35F152F8A9:  
from=<[EMAIL PROTECTED]>, size=858, nrcpt=1 (queue active)
Dec 13 04:21:38 localhost cyrus/imap[10605]: open: user  
[EMAIL PROTECTED] opened INBOX/Sent
Dec 13 04:21:39 localhost postfix/smtpd[10649]: connect from  
localhost.example.com[127.0.0.1]
Dec 13 04:21:39 localhost postfix/smtpd[10649]: 23A93152F8AD:  
client=localhost.example.com[127.0.0.1]
Dec 13 04:21:39 localhost postfix/cleanup[10646]: 23A93152F8AD:  
resent-message-id=<[EMAIL PROTECTED]>
Dec 13 04:21:39 localhost postfix/cleanup[10646]: 23A93152F8AD:  
message-id=<[EMAIL PROTECTED]>
Dec 13 04:21:39 localhost postfix/qmgr[8829]: 23A93152F8AD:  
from=<[EMAIL PROTECTED]>, size=1259, nrcpt=1 (queue active)

Dec 13 04:21:39 localhost cyrus/lmtp[10600]: accepted connection
Dec 13 04:21:39 localhost cyrus/lmtp[10600]: connection from  
localhost.example.com [127.0.0.1] preauth'd as postman
Dec 13 04:21:39 localhost cyrus/master[10652]: about to exec /usr/lib/ 
cyrus/bin/lmtpd

Dec 13 04:21:39 localhost cyrus/lmtp[10652]: executed
Dec 13 04:21:39 localhost cyrus/lmtp[10600]: duplicate_check:  
<[EMAIL PROTECTED]> example.com! 
user.user.shared 0
Dec 13 04:21:39 localhost cyrus/lmtp[10600]: duplicate_check:  
<[