cyrus authentification with ldap md5

2003-02-11 Thread Bruhin Gregor
I would like to migrate my user accounts in an ldap tree.

I don't have the passwords in clear text, is it possible to use the md5 unix
account passwords by moving the md5 passwords in the ldap tree?

Did somebody manage such a migration ?

Thanks Greg



Re: cyrus authentification with ldap md5

2003-02-11 Thread Simon Matter
Bruhin Gregor schrieb:
 
 I would like to migrate my user accounts in an ldap tree.
 
 I don't have the passwords in clear text, is it possible to use the md5 unix
 account passwords by moving the md5 passwords in the ldap tree?
 
 Did somebody manage such a migration ?

Yes, I did and it works well.

You can write your password into the userPassword attribute. It has the
form '{MD5}XYZXYZXYZXYZXYZ...', but base64 encoded.
You can also put 'password-hash   {MD5}' in you slapd.conf so if you use
ldappasswd to change passwords, it will store them as MD5 by default.
You can then use saslauthd-pam_ldap-LDAP or saslauthd-LDAP to
authenticate users.

HTH
Simon

 
 Thanks Greg



Re: Any suggestion ?

2003-02-11 Thread Patrick Welche
On Mon, Feb 10, 2003 at 05:56:52PM +0800, Lin Wang wrote:
 
 When I installed db-4.0.14, cyrus-sasl-2.1.6 and cyrus-imapd-2.1.5 on a new
 Solaris platform, with gcc-2.95.3, make-3.79.1 and perl-5.8.0, which went
 through on another machine.
 Unfortunately this time there was a strange problem which had tortured me
 for a whole day:
 When I connected to port 143 and tried to login as cyrus (in admins of
 /etc/imapd.conf), I got this:
 1 NO Login failed: user not found
 Or when I run the script: cyradm --user=cyrus --server=localhost, after
 inputing the passwd, I got this:
 Login failed: user not found at
 /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm line
 114
 cyradm: cannot authenticate to server with  as cyrus
 
 But the user cyrus does exist and I checked by
 /usr/local/sbin/sasldblistusers2.
 Meanwhile, I could login as anonymous if I choosed the option. however
 it was no use!
 
 I guess it's sth wrong with SASL procedure, but no idea on it. grateful
 for ANY suggestion !

Can you log in using imtest instead of cyradm? (Simpler to my mind without
all the perl wrappers) And tail -f /var/log/authlog ?

Cheers,

Patrick



Can't delete a mailbox

2003-02-11 Thread Gregory Chagnon
Hi-
I'm having a problem deleting a Cyrus mailbox.  Here is what happens:

[root@Lunar]:/home/gchagnon su mail.admin
bash-2.05b$ cyradm localhost
IMAP Password:
Lunar cm testmailbox
Lunar dm testmailbox
deletemailbox: Permission denied
Lunar


mail.admin exists in my ldap database.  Thanks for any help!
-Greg

_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail



Eudora 5.2 and attachments

2003-02-11 Thread Jim Howell
Hi,
	We are having some difficultly with Eudora 5.2 and attachments.  What 
happens is that the user gets a mailfile that's supposed to have an 
attachment but Eudora doesn't show an attachment.  This doesn't happen all 
the time, just some of the time.  This is with Cyrus 2.1.11 on a Solaris 8 
system.  The interesting thing is that this only happens if the user reads 
their mail via MAP, if they are using POP they see the attachment.  This is 
repeatable  Qualcomm says it is a problem with Eudora 5.1 and earilier 
clients in the way that they compose the headers.  Is there anything I can 
do on the server side to help this?  Has anyone else seen this?  Thanks.
Jim



Re: Can't delete a mailbox

2003-02-11 Thread Rob Siemborski
On Tue, 11 Feb 2003, Gregory Chagnon wrote:

 I'm having a problem deleting a Cyrus mailbox.  Here is what happens:

 [root@Lunar]:/home/gchagnon su mail.admin
 bash-2.05b$ cyradm localhost
 IMAP Password:
 Lunar cm testmailbox
 Lunar dm testmailbox
 deletemailbox: Permission denied
 Lunar

does mail.admin have the right to delete the mailbox?  You need explicitly
give it that right (sam testmailbox mail.admin all), before you can delete
it (even if its an admin).

-Rob

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




Re: Can't delete a mailbox

2003-02-11 Thread Connie Starr Fensky
Cyrus does not automatically have delete permission, you must add it with a
sam command before you may delete a mailbox.
c*
- Original Message -
From: Gregory Chagnon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 9:39 AM
Subject: Can't delete a mailbox


 Hi-
 I'm having a problem deleting a Cyrus mailbox.  Here is what happens:

 [root@Lunar]:/home/gchagnon su mail.admin
 bash-2.05b$ cyradm localhost
 IMAP Password:
 Lunar cm testmailbox
 Lunar dm testmailbox
 deletemailbox: Permission denied
 Lunar


 mail.admin exists in my ldap database.  Thanks for any help!
 -Greg

 _
 The new MSN 8: advanced junk mail protection and 2 months FREE*
 http://join.msn.com/?page=features/junkmail







Re: Eudora 5.2 and attachments

2003-02-11 Thread David Chait
Yes, Eudora has a problem with boundaries generation if a message is created
in a certain fashion (text, HTML, and attachment in one doc), this was
supposed to have been corrected with 5.2, however if the sender is on an
older version you are still SOL. Qualcomm is trying desperatly it seems to
get out of the Email client market from what I understand.

-David

_

David Chait
Sys Admin  - Facilities Operations
333 Bonair Siding Road #107
Stanford CA, 94305
[EMAIL PROTECTED]

- Original Message -
From: Jim Howell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 7:39 AM
Subject: Eudora 5.2 and attachments


 Hi,
 We are having some difficultly with Eudora 5.2 and attachments.  What
 happens is that the user gets a mailfile that's supposed to have an
 attachment but Eudora doesn't show an attachment.  This doesn't happen all
 the time, just some of the time.  This is with Cyrus 2.1.11 on a Solaris 8
 system.  The interesting thing is that this only happens if the user reads
 their mail via MAP, if they are using POP they see the attachment.  This
is
 repeatable  Qualcomm says it is a problem with Eudora 5.1 and earilier
 clients in the way that they compose the headers.  Is there anything I can
 do on the server side to help this?  Has anyone else seen this?  Thanks.
 Jim







Re: Eudora 5.2 and attachments

2003-02-11 Thread David Chait
Jim,
Interesting, but yes, Stanford did try to patch Cyrus imapd to
compensate and it seemed to work with some older versions of the source, but
stopped when I upgraded past 2.1.4, our best results have come from
upgrading users to 5.2 or another client altogether.

-David

_

David Chait
Sys Admin  - Facilities Operations
333 Bonair Siding Road #107
Stanford CA, 94305
[EMAIL PROTECTED]

- Original Message -
From: Jim Howell [EMAIL PROTECTED]
To: David Chait [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 9:32 AM
Subject: Re: Eudora 5.2 and attachments


 Hi,
  That is exactly what's going on, Eudora 5.1 sender, Eudora 5.2
 receiver using IMAP.  So it doesn't sound like there is anything I can do
 on the server side.  Qualcomm doesn't seem to be real eager to fix this
 one.  The last rumor I heard is that they changed their mind about getting
 out of the email client business, but this behavior makes me wonder.
 Jim

 At 08:24 AM 2/11/2003 -0800, David Chait wrote:
 Yes, Eudora has a problem with boundaries generation if a message is
created
 in a certain fashion (text, HTML, and attachment in one doc), this was
 supposed to have been corrected with 5.2, however if the sender is on an
 older version you are still SOL. Qualcomm is trying desperatly it seems
to
 get out of the Email client market from what I understand.
 
 -David
 
 _
 
 David Chait
 Sys Admin  - Facilities Operations
 333 Bonair Siding Road #107
 Stanford CA, 94305
 [EMAIL PROTECTED]
 
 - Original Message -
 From: Jim Howell [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, February 11, 2003 7:39 AM
 Subject: Eudora 5.2 and attachments
 
 
   Hi,
   We are having some difficultly with Eudora 5.2 and attachments.  What
   happens is that the user gets a mailfile that's supposed to have an
   attachment but Eudora doesn't show an attachment.  This doesn't happen
all
   the time, just some of the time.  This is with Cyrus 2.1.11 on a
Solaris 8
   system.  The interesting thing is that this only happens if the user
reads
   their mail via MAP, if they are using POP they see the attachment.
This
 is
   repeatable  Qualcomm says it is a problem with Eudora 5.1 and
earilier
   clients in the way that they compose the headers.  Is there anything I
can
   do on the server side to help this?  Has anyone else seen this?
Thanks.
   Jim
  
  
  







Re: Outlook 2002 vs. Cyrus 2.1.12

2003-02-11 Thread Hasso Meyer-Jordan
Hi Ken, Per!

 I just did some testing myself with Outlook 2000 and Outlook Express 6. 
 I couldn't get either client to hang after doing APPENDs (with IDLE
 enabled).  OE does close the connection after calling IDLE after the
 final APPEND however.
 
 I'm not convinced that this is a server issue.  I'd like to see what
 happens against a different server that supports IDLE (eg, UW IMAP).


I've read about Outlook gets into trouble with IMAP servers which sends answers 
too fast (OE shouldn't be so sensitive [becausae it's another development]):

microsoft.public.outlook.interop
Outlook 2002 IMAP problems; Jan. 2003 follow-up

Link (long format, sorry):
http://groups.google.com/groups?hl=delr=ie=UTF-8oe=UTF-
8threadm=9d9fd1c2.0301201252.33081226%40posting.google.comrnum=7prev=/groups%
3Fq%3Dcyrus%2Bimap%2Bidle%2Boutlook%26hl%3Dde%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-
8%26selm%3D9d9fd1c2.0301201252.33081226%2540posting.google.com%26rnum%3D7

Perhaps this could be another cause!?


The obvious difference here is that Cyrus 2.1 supports the IDLE
extension and Outlook is using it.  I'm not sure why the client
would be
IDLEing in between APPENDs, but I've grown accustomed to seeing silly
behavior from Outlook and Netscape.  What method for IDLE did you
configure with? (doing a 'version' command in cyradm will tell us
everything we need).  You might want to try reconfiguring/recompiling
Cyrus using --with-idle=no and see if this makes a difference.
   
Ken


By the way:
B Leiba, the developer/issuer of IDLE RFC 2177, somewhere had described that 
Outlook and OE makes heavily usage of IDLE command between almost every 
conventional operation. He said it makes no sense ... but anyway it's fully 
RFC conform.

(I wouldn't be surprised about brain-dead Microsoft developers! ;-)))  
Perhaps badly payed immigrants of India [like unskilled worker]. )

Cheers, Hasso




Hasso Meyer-Jordan [Was: Outlook 2002 vs. Cyrus 2.1.12]

2003-02-11 Thread Ramiro Morales
On 11 Feb 2003 at 18:32, Hasso Meyer-Jordan wrote:

 
 (I wouldn't be surprised about brain-dead Microsoft developers! ;-))) 
 Perhaps badly payed immigrants of India [like unskilled worker]. )
 
 Cheers, Hasso
 

Please, please, in the future try to keep you stupid racist
comments out of this technical discussion mailing list.

-
Ramiro




MS Entourage crashing.

2003-02-11 Thread Eric S. Pulley
Okay I'm at the end of my rope.  If I can't get this fixed I have to 
switch MS Exchange...

When sending a message the client is doing one of the following 10% of 
the time.
	Application has unexpectedly quit.
	this dialog

	Error
		The server returned the following error
		Unable to add message to IMAP mailbox. The corresponding local
		folder will be used instead.

I know that the problem is occurring when the client is posting the 
message to the INBOX.Sent folder on the server.  But no server side 
error of any kind are showing up.  Telemetry logs show the client 
fetching all the UIDs in the Sent folder the logging out.  Why it 
fetches all the UID for sorting them on the client I don't know why it 
does that instead of using SORT...

I've only got 30 people using this mail server so I doubt it has 
anything to do with load.

Possibly a mailboxlist db timing issue?  Should I switch to skiplist?


The Client:
Entourage v.X sr1 (10.1.1 build 2418) and previous versions of v.X

The Server:
cyrus-imap 2.1.11  12
IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS 
ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE STARTTLS AUTH=LOGIN 
AUTH=PLAIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5 LISTEXT LIST-SUBSCRIBED

mboxlist-db=db3
duplicate-db=db3
seen-db=flat
subs-db=flat
tls-db=db3



| Eric S. Pulley |
| Sr. Unix Administrator |
|   Hamilton Partners|
|+1.707.431.4300 |
|  [EMAIL PROTECTED]   |


msg11040/pgp0.pgp
Description: PGP signature


Re: Eudora 5.2 and attachments

2003-02-11 Thread Jim Howell
Hi,
Ok, thanks for the information.
Jim

At 09:39 AM 2/11/2003 -0800, David Chait wrote:

Jim,
Interesting, but yes, Stanford did try to patch Cyrus imapd to
compensate and it seemed to work with some older versions of the source, but
stopped when I upgraded past 2.1.4, our best results have come from
upgrading users to 5.2 or another client altogether.

-David

_

David Chait
Sys Admin  - Facilities Operations
333 Bonair Siding Road #107
Stanford CA, 94305
[EMAIL PROTECTED]

- Original Message -
From: Jim Howell [EMAIL PROTECTED]
To: David Chait [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 9:32 AM
Subject: Re: Eudora 5.2 and attachments


 Hi,
  That is exactly what's going on, Eudora 5.1 sender, Eudora 5.2
 receiver using IMAP.  So it doesn't sound like there is anything I can do
 on the server side.  Qualcomm doesn't seem to be real eager to fix this
 one.  The last rumor I heard is that they changed their mind about getting
 out of the email client business, but this behavior makes me wonder.
 Jim

 At 08:24 AM 2/11/2003 -0800, David Chait wrote:
 Yes, Eudora has a problem with boundaries generation if a message is
created
 in a certain fashion (text, HTML, and attachment in one doc), this was
 supposed to have been corrected with 5.2, however if the sender is on an
 older version you are still SOL. Qualcomm is trying desperatly it seems
to
 get out of the Email client market from what I understand.
 
 -David
 
 _
 
 David Chait
 Sys Admin  - Facilities Operations
 333 Bonair Siding Road #107
 Stanford CA, 94305
 [EMAIL PROTECTED]
 
 - Original Message -
 From: Jim Howell [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, February 11, 2003 7:39 AM
 Subject: Eudora 5.2 and attachments
 
 
   Hi,
   We are having some difficultly with Eudora 5.2 and attachments.  What
   happens is that the user gets a mailfile that's supposed to have an
   attachment but Eudora doesn't show an attachment.  This doesn't happen
all
   the time, just some of the time.  This is with Cyrus 2.1.11 on a
Solaris 8
   system.  The interesting thing is that this only happens if the user
reads
   their mail via MAP, if they are using POP they see the attachment.
This
 is
   repeatable  Qualcomm says it is a problem with Eudora 5.1 and
earilier
   clients in the way that they compose the headers.  Is there anything I
can
   do on the server side to help this?  Has anyone else seen this?
Thanks.
   Jim
  
  
  








Re: Outlook 2002 vs. Cyrus 2.1.12

2003-02-11 Thread Avtar Gill
On Tue, 11 Feb 2003, Hasso Meyer-Jordan wrote:

 (I wouldn't be surprised about brain-dead Microsoft developers! ;-)))
 Perhaps badly payed immigrants of India [like unskilled worker]. )

I can't speak for the administrators of this list but as a normal user of
Cyrus IMAPD I turn to this mailing list for technical help and information,
not bigotry. Please take your racist diatribe elsewhere.



Re: MS Entourage crashing.

2003-02-11 Thread Ken Murchison


Eric S. Pulley wrote:
 
 Okay I'm at the end of my rope.  If I can't get this fixed I have to
 switch MS Exchange...
 
 When sending a message the client is doing one of the following 10% of
 the time.
 Application has unexpectedly quit.
 this dialog
 
 Error
 The server returned the following error
 Unable to add message to IMAP mailbox. The corresponding local
 folder will be used instead.
 
 I know that the problem is occurring when the client is posting the
 message to the INBOX.Sent folder on the server.  But no server side
 error of any kind are showing up.  Telemetry logs show the client
 fetching all the UIDs in the Sent folder the logging out.  Why it
 fetches all the UID for sorting them on the client I don't know why it
 does that instead of using SORT...

Does it ever try an APPEND?  I wonder if the client is not liking what
it sees as far as UIDs.  Can you post the telemetry log?

BTW, I'd be surprised if the client supported SORT.  The only client
that I'm aware of that support SORT/THREAD are c-client based (Pine,
PHP) and Mulberry.  If you know otherwise, please let us know.
-- 
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



Could not shut down filedescriptor 0: Transport endpoint is not connected

2003-02-11 Thread Christian Schulte
After doing the latest update from cvs I see these lines in syslog from 
time to time! Everything works well so I think I need not concentrate on 
these lines, right ?

--Christian--

Feb 11 20:10:00 mail imap[26930]: [ID 892804 local6.debug] Could not 
shut down filedescriptor 0: Transport endpoint is not connected
Feb 11 20:10:00 mail imap[26930]: [ID 892804 local6.debug] Could not 
shut down filedescriptor 1: Transport endpoint is not connected
Feb 11 20:10:00 mail imap[26930]: [ID 892804 local6.debug] Could not 
shut down filedescriptor 2: Transport endpoint is not connected





Re: Could not shut down filedescriptor 0: Transport endpoint is notconnected

2003-02-11 Thread Rob Siemborski
Either turn down your syslog level, or ignore them.  They're harmless.

-Rob

On Tue, 11 Feb 2003, Christian Schulte wrote:

 After doing the latest update from cvs I see these lines in syslog from
 time to time! Everything works well so I think I need not concentrate on
 these lines, right ?

 --Christian--

 Feb 11 20:10:00 mail imap[26930]: [ID 892804 local6.debug] Could not
 shut down filedescriptor 0: Transport endpoint is not connected
 Feb 11 20:10:00 mail imap[26930]: [ID 892804 local6.debug] Could not
 shut down filedescriptor 1: Transport endpoint is not connected
 Feb 11 20:10:00 mail imap[26930]: [ID 892804 local6.debug] Could not
 shut down filedescriptor 2: Transport endpoint is not connected






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




Re: MS Entourage crashing.

2003-02-11 Thread Eric S. Pulley
Okay here are some logs:

the first part is a successful sent message noted by my added
-SESSION flag to make it easier to read for you.

Questions:
why in Session 2 did it do a LIST?  The user was just sending email not 
opening the Sent Items folder why would it LIST some of the times and 
not others?

what is the deal with UID 230 the ^M worries me

As you can see in Session 2 it does a list and many fetch(es) but logs 
out before the append is sent...


LOGS

-SESSION 1
1044972953A003 SELECT INBOX.Sent Items
1044972953* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)

* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
* 886 EXISTS
* 0 RECENT
* OK [UNSEEN 772]
* OK [UIDVALIDITY 1030734030]
* OK [UIDNEXT 907]
A003 OK [READ-WRITE] Completed
1044973461A004 APPEND INBOX.Sent Items (\SEEN) {2436}

1044973461+ go ahead

1044973461User-Agent: Microsoft-Entourage/10.1.1.2418

--[ MESSAGE DELETED ]


1044973461* 888 EXISTS

* 1 RECENT
A004 OK [APPENDUID 1030734030 908] Completed

--SESSION 2

1044973483A005 SELECT INBOX.Sent Items

1044973483* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)

* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
* 888 EXISTS
* 0 RECENT
* OK [UNSEEN 772]
* OK [UIDVALIDITY 1030734030]
* OK [UIDNEXT 909]
A005 OK [READ-WRITE] Completed
1044973483A006 LIST  INBOX.Sent Items*

1044973483* LIST (\HasNoChildren) . INBOX.Sent Items

A006 OK Completed (0.000 secs 2 calls)
1044973483A007 LSUB  INBOX.Sent Items*

1044973483* LSUB () . INBOX.Sent Items

A007 OK Completed (0.000 secs 2 calls)
1044973483A008 FETCH 1:* (UID FLAGS)

1044973483* 1 FETCH (FLAGS (\Seen) UID 1)

* 2 FETCH (FLAGS (\Seen) UID 2)
.
.
.
* 227 FETCH (FLAGS (\Seen) UID 230)^M1044973483
.
.
.
* 880 FETCH (FLAGS (\Seen) UID 900)
* 881 FETCH (FLAGS (\Seen) UID 901)
* 882 FETCH (FLAGS (\Seen) UID 902)
* 883 FETCH (FLAGS (\Seen) UID 903)
* 884 FETCH (FLAGS (\Seen) UID 904)
* 885 FETCH (FLAGS (\Seen) UID 905)
* 886 FETCH (FLAGS (\Seen) UID 906)
* 887 FETCH (FLAGS (\Seen) UID 907)
* 888 FETCH (FLAGS (\Seen) UID 908)
A008 OK Completed
1044973787A009 LOGOUT

1044973787* BYE LOGOUT received

A009 OK Completed


--On Tuesday, February 11, 2003 14:18 -0500 Ken Murchison 
[EMAIL PROTECTED] wrote:



Eric S. Pulley wrote:


Okay I'm at the end of my rope.  If I can't get this fixed I have to
switch MS Exchange...

When sending a message the client is doing one of the following 10%
of the time.
Application has unexpectedly quit.
this dialog

Error
The server returned the following error
Unable to add message to IMAP mailbox. The
corresponding local folder will be used instead.

I know that the problem is occurring when the client is posting the
message to the INBOX.Sent folder on the server.  But no server side
error of any kind are showing up.  Telemetry logs show the client
fetching all the UIDs in the Sent folder the logging out.  Why it
fetches all the UID for sorting them on the client I don't know why
it does that instead of using SORT...


Does it ever try an APPEND?  I wonder if the client is not liking what
it sees as far as UIDs.  Can you post the telemetry log?

BTW, I'd be surprised if the client supported SORT.  The only client
that I'm aware of that support SORT/THREAD are c-client based (Pine,
PHP) and Mulberry.  If you know otherwise, please let us know.
--
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





| Eric S. Pulley |
| Sr. Unix Administrator |
|   Hamilton Partners|
|+1.707.431.4300 |
|  [EMAIL PROTECTED]   |



msg11046/pgp0.pgp
Description: PGP signature


Re: MS Entourage crashing.

2003-02-11 Thread Ken Murchison


Eric S. Pulley wrote:
 
 Okay here are some logs:
 
 the first part is a successful sent message noted by my added
 -SESSION flag to make it easier to read for you.

Are these connections from the same running client (separate threads) or
two entirely different sessions?


 Questions:
 why in Session 2 did it do a LIST?  The user was just sending email not
 opening the Sent Items folder why would it LIST some of the times and
 not others?

I have no idea why it would do a LIST after a successful SELECT.  The
FETCH might be because this is the first time that the client opened the
mailbox.


 what is the deal with UID 230 the ^M worries me

Not sure.  Is it possible that this is cut-n-paste cruft?


 As you can see in Session 2 it does a list and many fetch(es) but logs
 out before the append is sent...

Is this behavior repeatable?  What happens if you manually select the
Sent folder before sending a message?

I don't see the server doing anything wrong.  Does this only happen with
Cyrus?  Can you post a similar log from a different (working) server?


 
 LOGS
 
 -SESSION 1
 1044972953A003 SELECT INBOX.Sent Items
 1044972953* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
 * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
 * 886 EXISTS
 * 0 RECENT
 * OK [UNSEEN 772]
 * OK [UIDVALIDITY 1030734030]
 * OK [UIDNEXT 907]
 A003 OK [READ-WRITE] Completed
 1044973461A004 APPEND INBOX.Sent Items (\SEEN) {2436}
 1044973461+ go ahead
 1044973461User-Agent: Microsoft-Entourage/10.1.1.2418
 
 --[ MESSAGE DELETED ]
 
 1044973461* 888 EXISTS
 * 1 RECENT
 A004 OK [APPENDUID 1030734030 908] Completed
 
 --SESSION 2
 
 1044973483A005 SELECT INBOX.Sent Items
 1044973483* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
 * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
 * 888 EXISTS
 * 0 RECENT
 * OK [UNSEEN 772]
 * OK [UIDVALIDITY 1030734030]
 * OK [UIDNEXT 909]
 A005 OK [READ-WRITE] Completed
 1044973483A006 LIST  INBOX.Sent Items*
 1044973483* LIST (\HasNoChildren) . INBOX.Sent Items
 A006 OK Completed (0.000 secs 2 calls)
 1044973483A007 LSUB  INBOX.Sent Items*
 1044973483* LSUB () . INBOX.Sent Items
 A007 OK Completed (0.000 secs 2 calls)
 1044973483A008 FETCH 1:* (UID FLAGS)
 1044973483* 1 FETCH (FLAGS (\Seen) UID 1)
 * 2 FETCH (FLAGS (\Seen) UID 2)
 .
 .
 .
 * 227 FETCH (FLAGS (\Seen) UID 230)^M1044973483
 .
 .
 .
 * 880 FETCH (FLAGS (\Seen) UID 900)
 * 881 FETCH (FLAGS (\Seen) UID 901)
 * 882 FETCH (FLAGS (\Seen) UID 902)
 * 883 FETCH (FLAGS (\Seen) UID 903)
 * 884 FETCH (FLAGS (\Seen) UID 904)
 * 885 FETCH (FLAGS (\Seen) UID 905)
 * 886 FETCH (FLAGS (\Seen) UID 906)
 * 887 FETCH (FLAGS (\Seen) UID 907)
 * 888 FETCH (FLAGS (\Seen) UID 908)
 A008 OK Completed
 1044973787A009 LOGOUT
 1044973787* BYE LOGOUT received
 A009 OK Completed
 
 --On Tuesday, February 11, 2003 14:18 -0500 Ken Murchison
 [EMAIL PROTECTED] wrote:
 
 
 
  Eric S. Pulley wrote:
 
  Okay I'm at the end of my rope.  If I can't get this fixed I have to
  switch MS Exchange...
 
  When sending a message the client is doing one of the following 10%
  of the time.
  Application has unexpectedly quit.
  this dialog
 
  Error
  The server returned the following error
  Unable to add message to IMAP mailbox. The
  corresponding local folder will be used instead.
 
  I know that the problem is occurring when the client is posting the
  message to the INBOX.Sent folder on the server.  But no server side
  error of any kind are showing up.  Telemetry logs show the client
  fetching all the UIDs in the Sent folder the logging out.  Why it
  fetches all the UID for sorting them on the client I don't know why
  it does that instead of using SORT...
 
  Does it ever try an APPEND?  I wonder if the client is not liking what
  it sees as far as UIDs.  Can you post the telemetry log?
 
  BTW, I'd be surprised if the client supported SORT.  The only client
  that I'm aware of that support SORT/THREAD are c-client based (Pine,
  PHP) and Mulberry.  If you know otherwise, please let us know.
  --
  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
 
  
 | Eric S. Pulley |
 | Sr. Unix Administrator |
 |   Hamilton Partners|
 |+1.707.431.4300 |
 |  [EMAIL PROTECTED]   |
  
 
   
 
Part 1.2Type: application/pgp-signature
Encoding: 7bit

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



Re: imapd's hang when maxchild count is reached

2003-02-11 Thread Jeremy Rumpf
On Thursday 06 February 2003 12:10 pm, Henrique de Moraes Holschuh wrote:
 On Thu, 06 Feb 2003, Dave McMurtrie wrote:
  Would this actually work anyway?  If the parent were to pass a file

 You can send descriptors over sockets if your unix kernel supports it.
 Linux does, and apparently so does Solaris.

 Anyway, I dislike the idea of losing preforks heavily, it is bound to be a
 major pain when the system is overloaded.

The send descriptors idea would also allow a prefork. I would also agree that 
the one connection per child idea is out the door. 

One other idea, could it be portable enought to say, initialize a semaphore 
and set the resource count on it to the maximum number of connections. If a 
child accepts a connection, it will first have to gain the semaphore resource 
first. If it fails (all the semaphore resources are taken), then the child 
would know that the maximum number of connections has been exceeded and 
return an error to the connecting party.

I did read an old Bugzilla entry that said fully threading imapd and friends 
was an idea... Don't know if that has any affect on any future direction.

I haven't worked with semaphores for a long while so I could be talking outta 
my arse :).

Jeremy



Re: Outlook 2002 vs. Cyrus 2.1.12

2003-02-11 Thread Hasso Meyer-Jordan
Hi Avtar Gill!

  (I wouldn't be surprised about brain-dead Microsoft developers! ;-)))
  Perhaps badly payed immigrants of India [like unskilled worker]. )
 
 I can't speak for the administrators of this list but as a normal user of
 Cyrus IMAPD I turn to this mailing list for technical help and information,
 not bigotry. Please take your racist diatribe elsewhere.

Sorry for your misunderstanding. It wasn't racist diatribe - it was Microsoft 
diatribe.

Usually anti-Microsoft statements are welcome in every lists I've subscribed 
until now. Espacially because of the wasting of time which Microsoft causes us 
with their poor software quality and their attempts to force customers to only 
use M$ products by intetional non-interoperability (with standards).


And by the way (that you couldn't know, of course):
During worldwide boom with new economy, also here in Germany deceitful founder 
of new stock noticed companies (or similar incorporated swindler) (most of 
the companys [not the founders] went broken meanwhile) had pushed the 
politician to lure software development specialists especially from India to 
those companies - with big promises. In reality the deceitful founder or owner 
had only looked for low-price-workers below agreed wages.
Meanwhile (according to the press) most of the disappointed and deceited people 
are back at their home country or away to new countrys looking for real chances 
- if they could pay their tickets with their not received wages.

I don't like incorporaded deceitful companies!
And I'm supposing, all the time I hear about poor quality software, 
disappointed, exploited, and badly payed modern software slaves are involved.
(Guilty are greedy and deceitful owner, company manager, and unscrupulous 
majority shareholder of bad companies - not the workers as a rule.)


But I'm admitting: If you'd a strongly wish you could misinterpret my short 2-
line comment.

Cheers, Hasso



Re: Hasso Meyer-Jordan [Was: Outlook 2002 vs. Cyrus 2.1.12]

2003-02-11 Thread Hasso Meyer-Jordan
Hi Ramiro!

  (I wouldn't be surprised about brain-dead Microsoft developers! ;-))) 
  Perhaps badly payed immigrants of India [like unskilled worker]. )
  
 Please, please, in the future try to keep you stupid racist
 comments out of this technical discussion mailing list.

Sorry for your misunderstanding. It weren't stupid racist comments- it were 
stupid anti-Microsoft comments.  

Usually anti-Microsoft statements are welcome in every lists I've subscribed 
until now. Espacially because of the wasting of time which Microsoft causes us 
with their poor software quality and their attempts to force customers to only 
use M$ products by intetional non-interoperability (with standards).  


And by the way (that you couldn't know, of course): During worldwide boom with 
new economy, also here in Germany deceitful founder of new stock noticed 
companies (or similar incorporated swindler) (most of the companys [not the 
founders] went broken meanwhile) had pushed the politician to lure software 
development specialists especially from India to those companies - with big 
promises. In reality the deceitful founder or owner had only looked for low-
price-workers below agreed wages. Meanwhile (according to the press) most of 
the disappointed and deceited people are back at their home country or away to 
new countrys looking for real chances - if they could pay their tickets with 
their not received wages.  

I don't like incorporated, deceitful companies!
And I'm supposing, all the time I hear about poor quality software, 
disappointed, exploited, and badly payed modern software slaves are involved. 
(Guilty are greedy and deceitful owner, company manager, and unscrupulous 
majority shareholder of bad companies - not the workers as a rule.)  


But I'm admitting: If you'd a strongly wish you could misinterpret my short 2-
line comment.

Cheers, Hasso




Re: MS Entourage crashing.

2003-02-11 Thread Eric S. Pulley
These sessions are from the same client and same thread.  There are in 
fact the same session I just split it so you could see the successful 
and failed one more easily

The ^M is not copy and paste crud it's in the log file plan as day.

It's not very repeatable. It's happening about 10% of the time and 
seems to be totally random as to when it's going to happen.  It is 
however always when posting a message to the Sent folder on the server 
and only when sending a message.  I can copy 1000s messages to the Sent 
box by hand with no trouble.

It's only happening on 2 of the 12 Entourage installations here, both 
high profile users.  I've tried reinstalling the clients.  I've even 
swapped the hardware out.  I've made new Sent folders on the server. 
None of that worked.

Guess next I'll delete and remake the affected accounts on the server. 
seems very silly to me though.  I have no proof that it's NOT the 
server.  And I have no real way of setting up a different imap server 
for testing.  A number of the upper management are Microsoft lovers and 
I'm running outa arguments not to convert to the evil empire...

--On Tuesday, February 11, 2003 16:10 -0500 Ken Murchison 
[EMAIL PROTECTED] wrote:



Eric S. Pulley wrote:


Okay here are some logs:

the first part is a successful sent message noted by my added
-SESSION flag to make it easier to read for you.


Are these connections from the same running client (separate threads)
or two entirely different sessions?



Questions:
why in Session 2 did it do a LIST?  The user was just sending email
not opening the Sent Items folder why would it LIST some of the
times and not others?


I have no idea why it would do a LIST after a successful SELECT.  The
FETCH might be because this is the first time that the client opened
the mailbox.



what is the deal with UID 230 the ^M worries me


Not sure.  Is it possible that this is cut-n-paste cruft?



As you can see in Session 2 it does a list and many fetch(es) but
logs out before the append is sent...


Is this behavior repeatable?  What happens if you manually select the
Sent folder before sending a message?

I don't see the server doing anything wrong.  Does this only happen
with Cyrus?  Can you post a similar log from a different (working)
server?







| Eric S. Pulley |
| Sr. Unix Administrator |
|   Hamilton Partners|
|+1.707.431.4300 |
|  [EMAIL PROTECTED]   |



msg11051/pgp0.pgp
Description: PGP signature


Re: MS Entourage crashing.

2003-02-11 Thread Ken Murchison


Eric S. Pulley wrote:
 
 These sessions are from the same client and same thread.  There are in
 fact the same session I just split it so you could see the successful
 and failed one more easily
 
 The ^M is not copy and paste crud it's in the log file plan as day.

I doubt that this is being sent to the client.  It might be cruft in the
telemetry code.


 It's not very repeatable. It's happening about 10% of the time and
 seems to be totally random as to when it's going to happen.  It is
 however always when posting a message to the Sent folder on the server
 and only when sending a message.  I can copy 1000s messages to the Sent
 box by hand with no trouble.
 
 It's only happening on 2 of the 12 Entourage installations here, both
 high profile users.  I've tried reinstalling the clients.  I've even
 swapped the hardware out.  I've made new Sent folders on the server.
 None of that worked.

Have you tried MS support or some google searches?  Its not like the
client is crashing, it looks like a well behaved IMAP session.  Its hard
to blame the server when the client never even tries the command.

Is Entourage a MacOS client only?


 Guess next I'll delete and remake the affected accounts on the server.
 seems very silly to me though.  I have no proof that it's NOT the
 server.  And I have no real way of setting up a different imap server
 for testing.  A number of the upper management are Microsoft lovers and
 I'm running outa arguments not to convert to the evil empire...

So you can't even test Exchange to see if it has the same problem?  Its
scary that the users/management would have such blind faith in MS
products.


 
 --On Tuesday, February 11, 2003 16:10 -0500 Ken Murchison
 [EMAIL PROTECTED] wrote:
 
 
 
  Eric S. Pulley wrote:
 
  Okay here are some logs:
 
  the first part is a successful sent message noted by my added
  -SESSION flag to make it easier to read for you.
 
  Are these connections from the same running client (separate threads)
  or two entirely different sessions?
 
 
  Questions:
  why in Session 2 did it do a LIST?  The user was just sending email
  not opening the Sent Items folder why would it LIST some of the
  times and not others?
 
  I have no idea why it would do a LIST after a successful SELECT.  The
  FETCH might be because this is the first time that the client opened
  the mailbox.
 
 
  what is the deal with UID 230 the ^M worries me
 
  Not sure.  Is it possible that this is cut-n-paste cruft?
 
 
  As you can see in Session 2 it does a list and many fetch(es) but
  logs out before the append is sent...
 
  Is this behavior repeatable?  What happens if you manually select the
  Sent folder before sending a message?
 
  I don't see the server doing anything wrong.  Does this only happen
  with Cyrus?  Can you post a similar log from a different (working)
  server?
 
 
 
 
  
 | Eric S. Pulley |
 | Sr. Unix Administrator |
 |   Hamilton Partners|
 |+1.707.431.4300 |
 |  [EMAIL PROTECTED]   |
  
 
   
 
Part 1.2Type: application/pgp-signature
Encoding: 7bit

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



Re: procmail revisited

2003-02-11 Thread Christian Schulte


Also, are you able to use user specific spamassassin settings?  This
is the one goal that set me on this quest in the first place.  Of
course simplifying my sendmail config is looking more attractive too.
I noticed you set DROPPRIVS=1.  I did the same in my /etc/procmailrc,
and procmail logs a message saying it is assuming the identity of the
recipient, but SA still uses the global configs and whitelists - which
I really want to eliminate in favor of a ~/.spamassassin/ config for
each user.


Hi,

maybe you take a look at the spam-assassin patches for cyrus-imapds' 
sieve interpreter in the conrtib directory of the cyrus distribution. I 
do spamassassins spamd check in a users sieve script deciding there what 
to do with the mail if it gets identified as spam:

if spam { fileinto, reject, discard, reply, forward etc... }

Works great for me!

--Christian--



Re: MS Entourage crashing.

2003-02-11 Thread Simon Matter
Eric,

Did you ever try reconstruct -r on the affected mailboxes. And yes, I
strongly recommend skiplist. It has solved some problems for me which I
still don't really understand why.

Simon

Ken Murchison schrieb:
 
 Eric S. Pulley wrote:
 
  These sessions are from the same client and same thread.  There are in
  fact the same session I just split it so you could see the successful
  and failed one more easily
 
  The ^M is not copy and paste crud it's in the log file plan as day.
 
 I doubt that this is being sent to the client.  It might be cruft in the
 telemetry code.
 
  It's not very repeatable. It's happening about 10% of the time and
  seems to be totally random as to when it's going to happen.  It is
  however always when posting a message to the Sent folder on the server
  and only when sending a message.  I can copy 1000s messages to the Sent
  box by hand with no trouble.
 
  It's only happening on 2 of the 12 Entourage installations here, both
  high profile users.  I've tried reinstalling the clients.  I've even
  swapped the hardware out.  I've made new Sent folders on the server.
  None of that worked.
 
 Have you tried MS support or some google searches?  Its not like the
 client is crashing, it looks like a well behaved IMAP session.  Its hard
 to blame the server when the client never even tries the command.
 
 Is Entourage a MacOS client only?
 
  Guess next I'll delete and remake the affected accounts on the server.
  seems very silly to me though.  I have no proof that it's NOT the
  server.  And I have no real way of setting up a different imap server
  for testing.  A number of the upper management are Microsoft lovers and
  I'm running outa arguments not to convert to the evil empire...
 
 So you can't even test Exchange to see if it has the same problem?  Its
 scary that the users/management would have such blind faith in MS
 products.
 
 
  --On Tuesday, February 11, 2003 16:10 -0500 Ken Murchison
  [EMAIL PROTECTED] wrote:
 
  
  
   Eric S. Pulley wrote:
  
   Okay here are some logs:
  
   the first part is a successful sent message noted by my added
   -SESSION flag to make it easier to read for you.
  
   Are these connections from the same running client (separate threads)
   or two entirely different sessions?
  
  
   Questions:
   why in Session 2 did it do a LIST?  The user was just sending email
   not opening the Sent Items folder why would it LIST some of the
   times and not others?
  
   I have no idea why it would do a LIST after a successful SELECT.  The
   FETCH might be because this is the first time that the client opened
   the mailbox.
  
  
   what is the deal with UID 230 the ^M worries me
  
   Not sure.  Is it possible that this is cut-n-paste cruft?
  
  
   As you can see in Session 2 it does a list and many fetch(es) but
   logs out before the append is sent...
  
   Is this behavior repeatable?  What happens if you manually select the
   Sent folder before sending a message?
  
   I don't see the server doing anything wrong.  Does this only happen
   with Cyrus?  Can you post a similar log from a different (working)
   server?
  
  
  
 
   
  | Eric S. Pulley |
  | Sr. Unix Administrator |
  |   Hamilton Partners|
  |+1.707.431.4300 |
  |  [EMAIL PROTECTED]   |
   
 

 
 Part 1.2Type: application/pgp-signature
 Encoding: 7bit
 
 --
 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