using address-extensions for storing in special folders

2007-08-07 Thread Stefan Palme

Hi,

I have a cyrus imap server 2.2.12 behind a postfix server.
The postfix server rewrites incoming addresses according some
policy rules. The most common case is adding an address extension
to an email address, so [EMAIL PROTECTED] sometimes becomes
[EMAIL PROTECTED]

Postfix delivers the emails to the local IMAP server via LMTP socket.

My question is: is there a way to configure the IMAP server, so that
mails to [EMAIL PROTECTED] are automatically stored
in the INBOX/internal folder of user kleiner? 

I guess I can solve this with sieve, but is there a native feature
in the IMAP server doing this?

Thanks and regards
-stefan-


-- 
---
Dipl. Inf. (FH) Stefan Palme
 
email: [EMAIL PROTECTED]
www:   http://hbci4java.kapott.org
icq:   36376278
phon:  +49 341 3910484
fax:   +49 1212 517956219
mobil: +49 178 3227887
 
key fingerprint: 1BA7 D217 36A1 534C A5AD  F18A E2D1 488A E904 F9EC
---


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: using address-extensions for storing in special folders

2007-08-07 Thread Andy Fiddaman


On Tue, 7 Aug 2007, Stefan Palme wrote:
; My question is: is there a way to configure the IMAP server, so that
; mails to [EMAIL PROTECTED] are automatically stored
; in the INBOX/internal folder of user kleiner?

Yes, the IMAP server does this natively. You just need to make sure that
INBOX/internal has ACL 'anyone p' and it should work. Without that ACL the
messages will end up in INBOX.

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: using address-extensions for storing in special folders

2007-08-07 Thread Stefan Palme

 On Tue, 7 Aug 2007, Stefan Palme wrote:
 ; My question is: is there a way to configure the IMAP server, so that
 ; mails to [EMAIL PROTECTED] are automatically stored
 ; in the INBOX/internal folder of user kleiner?
 
 Yes, the IMAP server does this natively. You just need to make sure that
 INBOX/internal has ACL 'anyone p' and it should work. Without that ACL the
 messages will end up in INBOX.

Thanks, this works - I have missed the p permission for anyone.
I want to use this feature very often, but currently all mailboxes
miss the p permission for anyone. Is there an easy way to set the
p-flag for all mailboxes with one command? 

And how can I automatically set the permission anyone p to all newly
created mailboxes (i.e. when a user creates a folder my_new_folder
below his INBOX it should automatically get the p flag for anyone)?

-stefan-




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


mysql logon update

2007-08-07 Thread Ross Anderson
I'm not certain if this is the right place to ask but here goes. We have 
a cyrus imap-sasld-mysql virtual domain setup. We're using mysql as the 
auth layer. At one point and time the mysql DB was updated with last 
logon however this no longer occurs. Can anyone give me any hints on 
where to look?

cyrus sasl 2.1.22
cyrus-imap-admin 2.2.12
cyrus-imapd 2.2.12
mysql-5.0.44


Thanks,


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


Odd mailbox xfer result

2007-08-07 Thread Robert Banz

Hi,

I've got a 'traditional' Cyrus cluster, 2.3.8 running on Solaris  
x86.  Everything seems to be fine, and we're about to go live and  
in production... however...

Earlier today I was testing how well transferring my rather massive  
personal folder hierarchy from one backend server to another -- which  
sent apparently without a hitch.  Quite fast, I might add.  However,  
after the move I noticed my sieve rules weren't working -- and when I  
connected up with 'sieveshell' to have a look-see at my script, I was  
surprised to find my sieve script turned out to be an actual mail  
message!?

So, anyone seen anything like this before?  I did some looking around  
on bugzilla, and nothing jumped out at me.

-rob


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: Odd mailbox xfer result

2007-08-07 Thread Gary Mills
On Tue, Aug 07, 2007 at 07:57:56PM -0400, Robert Banz wrote:
 
 Earlier today I was testing how well transferring my rather massive  
 personal folder hierarchy from one backend server to another -- which  
 sent apparently without a hitch.  Quite fast, I might add.  However,  
 after the move I noticed my sieve rules weren't working -- and when I  
 connected up with 'sieveshell' to have a look-see at my script, I was  
 surprised to find my sieve script turned out to be an actual mail  
 message!?
 
 So, anyone seen anything like this before?  I did some looking around  
 on bugzilla, and nothing jumped out at me.

Look for bug 2917 `xfer copies the last message instead of sieve
scripts to the remote server'.  The patch is there too.

-- 
-Gary Mills--Unix Support--U of M Academic Computing and Networking-

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: Odd mailbox xfer result

2007-08-07 Thread Robert Banz

 So, anyone seen anything like this before?  I did some looking around
 on bugzilla, and nothing jumped out at me.

 Look for bug 2917 `xfer copies the last message instead of sieve
 scripts to the remote server'.  The patch is there too.

Wow, how did I miss that one?

Thanks!

-rob

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