Re: Folder allowed character

2008-11-19 Thread Sebastian Hagedorn
-- Alain Spineux <[EMAIL PROTECTED]> is rumored to have mumbled on 20. 
November 2008 07:57:13 +0100 regarding Re: Folder allowed character:



On Tue, Nov 18, 2008 at 7:38 PM, Wesley Craig <[EMAIL PROTECTED]> wrote:

On 18 Nov 2008, at 05:28, Antonio Talarico wrote:

Where i can found a list with allowed character for a folder name?


./imap/mboxname.c:#define GOODCHARS " #$'+,-.
0123456789:[EMAIL PROTECTED]"



These characters are about the mailbox name.
Imap clients must use a modified UTF-7 encoding for Folders name.
This allow you to use any characters in any language (if your client
is compliant on this part of imap spec).


Actually not *any* character. You can't have a '/' or a '!', for example. 
Those characters aren't encoded any differently with modified UTF-7. AFAICT 
you can use any character that's outside of US-ASCII, but only those from 
US-ASCII that are in GOODCHARS.

--
Sebastian Hagedorn - RZKR-R1 (Flachbau), Zi. 18, Robert-Koch-Str. 10
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587

pgpBhEk2XmxQp.pgp
Description: PGP signature

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: Folder allowed character

2008-11-19 Thread Alain Spineux
On Tue, Nov 18, 2008 at 7:38 PM, Wesley Craig <[EMAIL PROTECTED]> wrote:
> On 18 Nov 2008, at 05:28, Antonio Talarico wrote:
>> Where i can found a list with allowed character for a folder name?
>
> ./imap/mboxname.c:#define GOODCHARS " #$'+,-.
> 0123456789:[EMAIL PROTECTED]"
>

These characters are about the mailbox name.
Imap clients must use a modified UTF-7 encoding for Folders name.
This allow you to use any characters in any language (if your client
is compliant on this part of imap spec).

> :wes
> 
> 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
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you

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


murder setup - mailboxes.db corruption - trouble recovering with ctl_mboxlist

2008-11-19 Thread Eric G. Wolfe
We have a RHEL4u7 on all 5 servers:
1 mupdate master: mumailmaster
2 backends: mumailstore01, mumailstore02
2 Postfix MTA/Cyrus proxy frontends: mumail01, mumail02

So I started getting this on my backends around 14:15 EST, at which time 
mail started getting deferred to the backends.  I have 20,000+ per 
frontend deferred for delivery at the time of this e-mail.

Nov 19 16:30:26 mumailstore01 ctl_cyrusdb[4672]: DBERROR db4: PANIC: 
Cannot allocate memory
Nov 19 16:30:26 mumailstore01 ctl_cyrusdb[4672]: DBERROR: critical 
database situation
Nov 19 16:30:26 mumailstore01 ctl_mboxlist[4673]: DBERROR db4: PANIC: 
fatal region error detected; run recovery
Nov 19 16:30:26 mumailstore01 ctl_mboxlist[4673]: DBERROR: critical 
database situation
Nov 19 16:30:26 mumailstore01 ctl_cyrusdb[4674]: DBERROR db4: PANIC: 
fatal region error detected; run recovery
Nov 19 16:30:26 mumailstore01 ctl_cyrusdb[4674]: DBERROR: critical 
database situation

I tried the following directions for recovery. 
http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrus&searchterm=skiplist&msg=32337.
  
I made backup copies of all files deleted, renaming them 
$filename.corrupt.  I did this on each server, recovered on the 
backends, and let it push the updates to the mupdate server.  Manually 
recovered mailboxes.db on the frontends, as they did not seem to be 
getting updated.  If I am going about this wrong, please someone point 
me in the right direction for documentation on murder disaster recovery. 
The following, while somewhat helpful, does not go into a great amount 
of detail: http://cyrusimap.web.cmu.edu/imapd/install-murder.html.

So at this point my user agent says Unknown/Invalid partition.  The 
partitions are correctly defined on the backend mail stores.  A 
'ctl_mboxlist -d' shows correct partitions, no matter which local 
mailboxes.db I attempt to dump.  Furthermore, LMTP is still not 
delivering to the backends during this outage.

Any helpful tips or pointers would be appreciated.

Thanks,

-- 
Eric G. Wolfe, IT Associate, Sr.
One John Marshall Drive
Marshall University, Drinko Library 428k
Huntington, WV 25755
Phone: 304.696.3428
Email: [EMAIL PROTECTED]

"Who is General Failure and why is he reading my hard disk ?"
Microsoft spel chekar vor sail, worgs grate !!
(By [EMAIL PROTECTED], Felix von Leitner)


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: Planning for load balancing

2008-11-19 Thread Duncan Gibb
Jacco Rens wrote:

JR> I'm currently running Apple's Mac OS X Server as mail server
JR> for about 100 users. The current setup has problem keeping up
JR> with all those users, since cyrus is limited to 300 sessions.

You should be able just to bump up the maxchild setting for the relevant
service(s) in cyrus.conf

We regularly run with maxchild=500 or more for both imap and imaps on
non-exotic x86_64 hardware.  I doubt you need anything more complex for
only 100 users.


Cheers


Duncan

-- 
Duncan Gibb, Technical Director
Sirius Corporation plc - The Open Source Experts
http://www.siriusit.co.uk/
Tel: +44 870 608 0063

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: Planning for load balancing

2008-11-19 Thread John Madden
> Can anyone advice what could help?

Increase your connection count to something more than 400?




-- 
John Madden
Sr. UNIX Systems Engineer
Ivy Tech Community College of Indiana
[EMAIL PROTECTED]

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: signaled to death by 7

2008-11-19 Thread Joshua Kordani
well.. cyradm version lists:
v2.3.7-Invoca-RPM-2.3.7-2.el5 2006/07/10 13:46:20
small shop with growing pains... I'd love to get a testbed machine up to 
work out upgrade issues before making an upgrade against the production 
box, especially due to my relative inexperience

Andrew Morgan wrote:
> On Tue, 18 Nov 2008, Joshua Kordani wrote:
> 
>> This might sound silly, but I'm a rather junior systems admin and I'm
>> very new to cyrus admin, so i don't know what version we're running, but
>> its at least a release or two old.
> 
> You can probably find out the version by looking at the version of the 
> rpm package you have installed (guessing you are using a Redhat 
> compatible OS).  Or, you can run cyradm and issue the "version" command.
> 
> 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


Planning for load balancing

2008-11-19 Thread Jacco Rens
Hello,

I'm currently running Apple's Mac OS X Server as mail server for about  
100 users. The current setup has problem keeping up with all those  
users, since cyrus is limited to 300 sessions. The mail client in use  
opens 4 sockets per account, so there are quite often time-outs or  
password errors during office time. Now I want to look into solving  
this issue, without investing in new hardware. I can run VMware, with  
2 or 3 more virtual Mac OS X Servers.

Would the cyrus murder function help me here?
Can anyone advice what could help?

Best,

Jar.

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: not arriving emails, duplicate suppression, message-id

2008-11-19 Thread Simon Matter
> Dear list,
>
> Today I got a support ticket claiming that some mail was not arriving in
> a persons mailbox.
>
> Sure enough when I went trough all our postfix and cyrus logs I could
> see that the email was certainly delivered to our mail store.
>
> It was the duplicate delivery that eliminated duplicate message.
>
> When I grepped in the mailbox after that message id I could find an
> other totally different message with the same id.
>
> The only thing that both message had in common was that they were both
> created with Microsoft Outlook 12 and 11.
>
> I thought that the message-id should be unique.

Outlook is broken, it sends new mails with existing message-id under
certain circumstances (for example when resending an already sent mail to
other receivers). Microsoft has fixed this - in their MTA on exchange! No
joke, when sending mail from Outlook to Exchange via SMTP the Exchange
server will always regenerate a uniq message-id.
I don't have a fix, only an explanation.

Simon

>
> Has any body seen this before?
>
> I couldn't find any info on the net how it is generated by Outlook.
> Maybe it is a setting that can be changed?
>
> Thanks in advance,
>
>
> --
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
> Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
> Groep SystemenSystems group
> Universiteit Gent Ghent University
> Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> 
> 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
>



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


not arriving emails, duplicate suppression, message-id

2008-11-19 Thread Rudy Gevaert
Dear list,

Today I got a support ticket claiming that some mail was not arriving in 
a persons mailbox.

Sure enough when I went trough all our postfix and cyrus logs I could 
see that the email was certainly delivered to our mail store.

It was the duplicate delivery that eliminated duplicate message.

When I grepped in the mailbox after that message id I could find an 
other totally different message with the same id.

The only thing that both message had in common was that they were both 
created with Microsoft Outlook 12 and 11.

I thought that the message-id should be unique.

Has any body seen this before?

I couldn't find any info on the net how it is generated by Outlook. 
Maybe it is a setting that can be changed?

Thanks in advance,


-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep SystemenSystems group
Universiteit Gent Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

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: sieve vacation reposnse gives no response even after end of days specified

2008-11-19 Thread Marco Colombo
ram wrote:
> I have a default cyrus installation with cyrus-imapd-2.3 on centos 5 
> People use sieve to set their vacation responses 
> 
> As per the configuration no response is sent for 1 day 
> -
> cat  /usr/sieve/i/it/default.script
> 
> require "vacation";
> # Vacation
> vacation :days 1 :addresses "[EMAIL PROTECTED]" "this is a vacation
> response";
> --
> 
> 
> The first vacation response seems to go perfectly fine , but even after
> 1 day the response is not sent again
> 
> What could be the issue ? how do I debug this ? 

http://tools.ietf.org/html/rfc5230#section-4.1

   The minimum value used for this parameter is normally 1.  Sites MAY
   define a different minimum value as long as the minimum is greater
   than 0.

I think your server has the minimum = 3 days.

See also:
http://lists.andrew.cmu.edu/pipermail/info-cyrus/2007-August/026550.html

.TM.

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