Global admin

2004-05-14 Thread Nigel Kukard
I've found that if I have a default domain  a cyrus-imap admin
that admin can only add mailboxes to his domain, be it with the
domain name or without. He cannot add mailboxes on other domains.

How would i create a global admin who can add mailboxes as he pleases?


-Nigel


pgp0.pgp
Description: PGP signature


accents in mailbox names

2004-05-14 Thread Antoine Jacoutot
Hi :)

I'm using cyrus-imapd-2.2.3 under OpenBSD-3.5.
My users are all French and i'm having a problem creating mailboxes with 
accentuated caracters.
ie:

cm user.testuser.testé
createmailbox: Invalid mailbox name

How can I make cyrus accept accentuated mailbox names ?

Thanks in advance.
Regards,

-- 
Antoine Jacoutot
[EMAIL PROTECTED]
http://www.lphp.org

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


Re:accents in mailbox names

2004-05-14 Thread François LECOLIER
Hi,

When creating a mailbox, it's name should be encoded in UTF7, and also you
should add chars quote ' and  and  ? to the GOODCHARS define in
imap/mboxname.c for the UTF7 encoding to be fully accepted in mailbox names.

http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrussearchterm=gaudreaumsg=19930

salut,
françois

 Hi :)
 
 I'm using cyrus-imapd-2.2.3 under OpenBSD-3.5.
 My users are all French and i'm having a problem creating mailboxes with 
 accentuated caracters.
 ie:
 
 cm user.testuser.testé
 createmailbox: Invalid mailbox name
 
 How can I make cyrus accept accentuated mailbox names ?
 
 Thanks in advance.
 Regards,
 
 -- 
 Antoine Jacoutot
 [EMAIL PROTECTED]
 http://www.lphp.org
 
 ---
 Cyrus Home Page: http://asg.web.cmu.edu/cyrus
 Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 


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


Re: accents in mailbox names

2004-05-14 Thread Paul Wagland
On Fri, 14 May 2004 13:20:50 +0200, Antoine Jacoutot 
[EMAIL PROTECTED] wrote:

Hi :)

I'm using cyrus-imapd-2.2.3 under OpenBSD-3.5.
My users are all French and i'm having a problem creating mailboxes with
accentuated caracters.
ie:
cm user.testuser.test
createmailbox: Invalid mailbox name
How can I make cyrus accept accentuated mailbox names ?
By convention names are stored in LDAP in a modified UTF-7 format, see section
5.1.3 of RFC 2060.
http://en.wikipedia.org/wiki/UTF-7

I leave it as an excercise for the reader to create that name ;-)

Hope this helps some,
Paul
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


sendmail hooks for pre-checking of over-quota imap users?

2004-05-14 Thread Scott Adkins
I was curious if anyone has implemented a mechanism in sendmail to determine
if a user is over their Cyrus quota before attempting LMTP delivery of the
message.  If so, how was it impemented?
In our environment, I would have to say that easily, 3/4ths of all our 
e-mail
hitting the LMTP server is over-quota'd e-mail.

What I have done is to create a new hash file called /etc/mail/overquota.db
that gets updated periodically (once an hour or maybe even less) with the
list of users currently over their quota's.  I then modified the sendmail
queuegroup rules to check for the existence of a user in that hash file and
move then to the overquota queue if so.
I find this better than dumping all e-mail destined for local delivery to
the cyrus queue, and then using a queue mover to find all the messages that
had attempted LMTP delivery, but failed with an Over quota message.  That
turns out to be very expensive with regards to disk I/O and CPU utilization.
Also, if anyone else has other interesting ideas on how they handle lots
of over quota e-mail (besides shortening the time that e-mail is kept on the
server or rejecting that e-mail outright), I would be interested in hearing
about it.
Scott
--
+---+
 Scott W. Adkinshttp://www.cns.ohiou.edu/~sadkins/
  UNIX Systems Engineer  mailto:[EMAIL PROTECTED]
   ICQ 7626282 Work (740)593-9478 Fax (740)593-1944
+---+
PGP Public Key available at http://www.cns.ohiou.edu/~sadkins/pgp/

pgp0.pgp
Description: PGP signature


Re: accents in mailbox names

2004-05-14 Thread Antoine Jacoutot
Selon Paul Wagland [EMAIL PROTECTED]:
 By convention names are stored in LDAP in a modified UTF-7 format, see
 section
 5.1.3 of RFC 2060.

Thanks :)
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re:accents in mailbox names

2004-05-14 Thread Antoine Jacoutot
Selon François LECOLIER  [EMAIL PROTECTED]:
 When creating a mailbox, it's name should be encoded in UTF7, and also you
 should add chars quote ' and  and  ? to the GOODCHARS define in
 imap/mboxname.c for the UTF7 encoding to be fully accepted in mailbox names.


http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrussearchterm=gaudreaumsg=19930

Thanks a bunch for that information.
One last question though. Is utf7 encoding automtic ? I mean if users create new
folders using Outlook or a webmail, will this work ?

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


Massive RH ES updates earlier today...

2004-05-14 Thread Tom Bryntesen (Privat)



Dear list.

We're running RH ES 3 over here with Simons RPMS 
for Cyrus-Imap.
(Cyrus v2.1.16-Invoca-RPM-2.1.16-6)
(The onlything we built from source was 
postfix v2.0.19 for MySQL 
and Sasl support)

Both pam and sasl 2.1.15 are now available from 
Redhat along with
a huge list of other updates...

Has anyone done the update yet ? Pitfalls 
?

Any suggestions are highly 
apprechiated

Regards
brynteza


Re: sendmail hooks for pre-checking of over-quota imap users?

2004-05-14 Thread Ken Murchison
Scott Adkins wrote:

I was curious if anyone has implemented a mechanism in sendmail to 
determine
if a user is over their Cyrus quota before attempting LMTP delivery of the
message.  If so, how was it impemented?
You can use the Sendmail Socket Map Daemon (smmapd) that I wrote for 
Cyrus.  It should be part of 2.2.3.  In order to use this, you'll have 
to be running Sendmail 8.13 or get the patch for 8.12:

http://www.sendmail.org/~ca/email/patches/sendmail-8.12.7-socketmap-v4.patch

The daemon verifies the existence of the rcpt, the ACL and the quota at 
the RCPT TO time of the SMTP exchange.  For me, its cut down on a HUGE 
amount of garbage destined for non-existent users, thus eliminating the 
outgoing bounce messages.


In our environment, I would have to say that easily, 3/4ths of all our 
e-mail
hitting the LMTP server is over-quota'd e-mail.

What I have done is to create a new hash file called /etc/mail/overquota.db
that gets updated periodically (once an hour or maybe even less) with the
list of users currently over their quota's.  I then modified the sendmail
queuegroup rules to check for the existence of a user in that hash file and
move then to the overquota queue if so.
I find this better than dumping all e-mail destined for local delivery to
the cyrus queue, and then using a queue mover to find all the messages that
had attempted LMTP delivery, but failed with an Over quota message.  That
turns out to be very expensive with regards to disk I/O and CPU 
utilization.

Also, if anyone else has other interesting ideas on how they handle lots
of over quota e-mail (besides shortening the time that e-mail is kept on 
the
server or rejecting that e-mail outright), I would be interested in hearing
about it.

Scott


--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


cyrus inbox not working

2004-05-14 Thread Gerard Ceraso
I am building a mail server using cyrus of course, postfix mysql for the
backend. I am creating the accounts using web-cyradm and it seems when I
create the account everythig looks fine. I log into cyradm on the
command line everything looks fine as well as all the folders being
there on the server and mail also delivers to the accounts. But, when I
try to log in using a mail client I have tried a few and it seems that
the inbox isnt there. I have also tried to create sub folders and still
no luck. I do not see any errors in the logs either. Anyone have any
ideas?


signature.asc
Description: This is a digitally signed message part


Re: sendmail hooks for pre-checking of over-quota imap users?

2004-05-14 Thread Andrzej Filip
Ken Murchison wrote:
Scott Adkins wrote:

I was curious if anyone has implemented a mechanism in sendmail to 
determine
if a user is over their Cyrus quota before attempting LMTP delivery of 
the
message.  If so, how was it impemented?


You can use the Sendmail Socket Map Daemon (smmapd) that I wrote for 
Cyrus.  It should be part of 2.2.3.  In order to use this, you'll have 
to be running Sendmail 8.13 or get the patch for 8.12:

http://www.sendmail.org/~ca/email/patches/sendmail-8.12.7-socketmap-v4.patch 

The daemon verifies the existence of the rcpt, the ACL and the quota at 
the RCPT TO time of the SMTP exchange.  For me, its cut down on a HUGE 
amount of garbage destined for non-existent users, thus eliminating the 
outgoing bounce messages.
Take a look at http://anfi.homeunix.net/sendmail/rtcyrus2.html if you 
want more details how to use smmapd provided in cyrus-2.2.3 in sendmail.

BTW Sendmail-8.13 is available as public Beta 
http://www.sendmail.org/8.13.0.Beta2.html

[...]
--
Andrzej [en:Andrew] Adam Filip [EMAIL PROTECTED] [EMAIL PROTECTED]
http://anfi.homeunix.net/ http://slashdot.org/~anfi
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re:accents in mailbox names

2004-05-14 Thread François LECOLIER
Hi again,

The utf-7 thing is specified in the RFC2060 in 5.1.2.  Mailbox Namespace
Naming Convention, and as IMAP4 clients should conform to this RFC, Outlook
and your Webmail clients should do the utf7 encoding when creating mailbox names.

If you still have some troubles, then you will need to recompile cyrus after
changing the GOODCHARS stuff.

bye,
françois

 
 Selon François LECOLIER  [EMAIL PROTECTED]:
  When creating a mailbox, it's name should be encoded in UTF7, and also you
  should add chars quote ' and  and  ? to the GOODCHARS define in
  imap/mboxname.c for the UTF7 encoding to be fully accepted in mailbox names.
 
 

http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrussearchterm=gaudreaumsg=19930
 
 Thanks a bunch for that information.
 One last question though. Is utf7 encoding automtic ? I mean if users create new
 folders using Outlook or a webmail, will this work ?
 
 Antoine
 ---
 Cyrus Home Page: http://asg.web.cmu.edu/cyrus
 Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 


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


Re: accents in mailbox names

2004-05-14 Thread Antoine Jacoutot
On Friday 14 May 2004 19:13, Paul Wagland wrote:
 I can't comment to outlook (though it should support it) but Apples
 iMail and Horde both do the right thing

I hadn't patch cyrus for utf7 yet, but without the patch, I can tell you 
Horde/Imp cannot create directory with accentuated characters.

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


error when receiving mail for more than one recipient

2004-05-14 Thread Jonathan Villa

Whenever mail is sent to more than recipient at my domain, either

to: [EMAIL PROTECTED],[EMAIL PROTECTED]

or

to:[EMAIL PROTECTED]
cc:[EMAIL PROTECTED]

I get a return email from mailer-daemon saying that:



This is the Postfix program at host favre.iscdev.com.

I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.

For further assistance, please send mail to postmaster

If you do so, please include this problem report. You can
delete your own text from the message returned below.

The Postfix program

[EMAIL PROTECTED]: data format error. Command output: : Mailbox
does not
exist

[EMAIL PROTECTED]: data format error. Command output: : Mailbox does
not exist



Now while it says Postfix, I was told that this could be an issue with
cyrus...and was told to notice empty space between the colons...

I'm not sure were to pursue this... and don't have an idea were to look,
postfix or cyrus...

my master.cf file has this...

cyrus unix  -   n   n   -   -   pipe
  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension}
${recipient}

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


Re: error when receiving mail for more than one recipient

2004-05-14 Thread Andreas Winkelmann
Am Freitag, 14. Mai 2004 19:27 schrieb Jonathan Villa:

 Whenever mail is sent to more than recipient at my domain, either

 to: [EMAIL PROTECTED],[EMAIL PROTECTED]

 or

 to:[EMAIL PROTECTED]
 cc:[EMAIL PROTECTED]

 I get a return email from mailer-daemon saying that:

 Now while it says Postfix, I was told that this could be an issue with
 cyrus...and was told to notice empty space between the colons...

 I'm not sure were to pursue this... and don't have an idea were to look,
 postfix or cyrus...

 my master.cf file has this...

 cyrus unix  -   n   n   -   -   pipe
   user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension}
 ${recipient}

Either set cyrus_destination_recipient_limit = 1 or skip deliver and use 
Postfix's lmtp Client to carry the Mails to Cyrus.

-- 
Andreas

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


Re: accents in mailbox names

2004-05-14 Thread Etienne Goyer
Antoine Jacoutot wrote:
On Friday 14 May 2004 19:13, Paul Wagland wrote:

I can't comment to outlook (though it should support it) but Apples
iMail and Horde both do the right thing


I hadn't patch cyrus for utf7 yet, but without the patch, I can tell you 
Horde/Imp cannot create directory with accentuated characters.
Which Horde/IMP version ?  I don't know about the stable branch, but 
HEAD and the latest ALPHA can with no problem.


signature.asc
Description: OpenPGP digital signature


Re: accents in mailbox names

2004-05-14 Thread Antoine Jacoutot
On Friday 14 May 2004 20:10, Etienne Goyer wrote:
 Which Horde/IMP version ?  I don't know about the stable branch, but
 HEAD and the latest ALPHA can with no problem.

horde-2.2.4
imp-3.2.2

It works fine using kmail though.
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: accents in mailbox names

2004-05-14 Thread Etienne Goyer
Antoine Jacoutot wrote:
On Friday 14 May 2004 20:10, Etienne Goyer wrote:
Which Horde/IMP version ?  I don't know about the stable branch, but
HEAD and the latest ALPHA can with no problem.

horde-2.2.4
imp-3.2.2
Then it has been fixed in the CVS.


signature.asc
Description: OpenPGP digital signature


Re: Cyradm under 2.2.3 and mailboxes with spaces

2004-05-14 Thread Rob Siemborski
On Fri, 14 May 2004, Roland Pope wrote:

 I am running cyrus-imapd 2.2.3 under RedHat ES 3.0 and I can't seem to
 create mailboxes with spaces in them using cyradm. Under 2.1.15 I had no
 problem creating such mailboxes.

Works for me:

sourcefour:i386_rh80:~ cyradm cyrus
CYRUS.andrew.cmu.edu cm inbox.test me

Could you generate a protocol dump and show me what name is actually being
attempted here?

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

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


Cyrus Imapd and Outlook XP header weirdness?

2004-05-14 Thread Pedro Rodrigues
   Hello,

   i have been testing Cyrus Imapd 2.2.3 with some Mozilla and Outlook XP clients. I 
observe some weird behaviour with Outlook XP (SP3) and the server. Emails i receive 
appear on Outlook with on behalf of in front of the sender. And if this wasn't 
strange enough, if i move emails from the Cyrus imapd server Inbox to other imap 
servers, they seem to lose the From: field. With Mozilla things seem to work ok, and 
with the same Outlook client and other imap server (UWashington) it also works fine. 
Has anyone seen this behaviour before? I am using sendmail as the mta, by the way, 
running in Fedora Core 1.


Thanks in advance,
Pedro


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