Re: Please help

2004-05-14 Thread Fatemeh Taj
Jim,
Sorry, the version I am trying to install is 2.1.18 not 2.0.18.

Thanks
 Original Message 
Subject: Re: Please help
From:"Jim Levie" <[EMAIL PROTECTED]>
Date:Wed, May 12, 2004 10:28 pm
To:  [EMAIL PROTECTED]
Cc:  "Fatemeh Taj" <[EMAIL PROTECTED]>
--

> On Wed, 2004-05-12 at 00:54, Fatemeh Taj wrote:
>> Dear All,
>> I want move to cyrus imapd 2.2.3 with sasl2.0.18 and Berkeley DB4.2.1 on
>> Linux Redhat Enterprise 3.
>
> Why are you trying to use an old version of SASL instead of the one
> (2.1.15-3) furnished with RHEL 3.0? Cyrus IMAP 2.2.3 is quite happy to
> build against the BDB & SASL furnished with 3.0 and I've yet to see any
> problems with that combination.
> --
> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
> The instructions said to use Windows 98 or better, so I installed RedHat
>Jim Levie email:[EMAIL PROTECTED]
>
>
>
>


Regards
--F. Taj
---
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


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


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


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 

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


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-cyrus&searchterm=gaudreau&msg=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: 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


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


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 only thing 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: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-cyrus&searchterm=gaudreau&msg=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


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


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


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-cyrus&searchterm=gaudreau&msg=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


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: Mysterious "hangs" and multiple messages.

2004-05-14 Thread Oleksiy Shostak
Anders Norrbring wrote:

Zitat von Anders Norrbring <[EMAIL PROTECTED]>:

   

I've noticed a weird problem lately. It often happens when one of my
accounts contains 200+ messages.
I use POP3 access to this account, and when I poll mail, it "hangs" at
 

some
   

point and after a minute or two it continues the download of messages.

At the next poll round, it's the same story, none of the messages on the
server are deleted and everything is downloaded once again.
My Cyrus-IMAP is version 2.1.15
 

Tested with different POP3 clients???
Sometimes mailclients choking on malformed messages at POP3 download.
   

No, actually I haven't... I only use Outlook 2003, perhaps I should give it
a try with something else next time it happens.
Do you know what kind of messages (or "malformations") usually makes Outlook
barf?  If so I could possibly set up a filter on the IMAP server to catch
those..
Anders.
 

I have exactly the same problem with my boss PC, so I guess this is an 
outlook issue. Rebuild of outlook database might help.

Alex.

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


Migrating from Simeon Messagestore to cyrus 2.1.x

2004-05-14 Thread Ivana Belgers
At this moment we are planning to migrate the e-mail infrastructure of
our company (around 50 employees) from sendmail-simeon to a
postfix-cyrus based system. The total amount of IMAP mail stored on the
current system is about 100 GB of data.

While we were testing we found out that migrating from the Simeon
MessageStore to cyrus looks fairly easy at the first glance, but now we
struggle with only one last issue. This being the message flags that are
stored in the cyrus.index file. Once I do a 'reconstruct', the flags are
lost, when I copy the original .index file over the cyrus.index file
that is created by 'reconstruct', the server does not respond correctly.
The format of the .index file is apparently so different from the
cyrus.index file, that cyrus does not know what to do with it.

Searching through the list archives and google, I haven't found the
answer I am looking for, yet. Hopefully one of you has found the answer
for us and is willing to help.

What I have found is a message in this lists archives, dating Aug.
02 2001 that says that to migrate "you may be better off doing a
protocol migration over IMAP to preserve the flags":
http://www.irbs.net/internet/info-cyrus/0108/0045.html

Since this is three years ago, I hope someone has
managed to create a script that migrates the fdb.index file to a
cyrus.index format instead, since that would so much simplify the whole
migration proces.

What we have is this:
Execmail IMAP4rev1 (2.1.2/199906021506)

What we want to migrate to is this:
Cyrus IMAP4 v2.1.16
or newer, since the actual migration will take place within a few
months from now.

If you need more information than what I've given so far, please let me
know.


Any help would be greatly appreciated,
Ivana Belgers
SURFnet, Netherlands 
---
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