Invalid Headers

2002-12-06 Thread Joshua Schmidlkofer
I have about 50,000 messages in a maildir.   I am trying to import them
into my Cyrus mailbox, and I have gotten one to import successfully.  I
continually get a message 'invalid headers'.  Mozilla [1.2.1] says:

The current command did not succeed the mail server responded: Message
contains invalid headers


I have tried a variety of messages here are some sample headers:

[fgom Evo]

Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 15633 invoked from network); 12 Nov 2002 05:41:23 -
Received: from localhost (HELO x.) (127.0.0.1) by localhost with
SMTP; 12 Nov 2002 05:41:23 -
>From [EMAIL PROTECTED]  Mon Nov 11 21: 41:22 2002
Received: from UNKNOWN(66.187.233.211), claiming to be
"listman.redhat.com"
via SMTP by  mail.asylumwear.com, id smtpdnx8HDj; Mon Nov 11
21:41:18 2002
Received: from listman.redhat.com (localhost.localdomain [127.0.0.1]) by
listman.redhat.com (Postfix) with ESMTP id E46FD3EA21 for
<[EMAIL PROTECTED]>; Tue, 12 Nov 2002 00:41:17 -0500 (EST)
Subject: Welcome to the "redhat-list" mailing list
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
X-No-Archive: yes
X-Ack: no
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: 
List-Post: 
List-Subscribe:
,

List-Id: General Red Hat Linux discussion list 
List-Unsubscribe:
,

List-Archive: 
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 12 Nov 2002 00:41:17 -0500 (EST)
X-Spam-Status: No, hits=-1.1 required=5.0 tests=NO_REAL_NAME
version=2.30
X-Spam-Level: 
X-Evolution-Source: imap:[EMAIL PROTECTED]/
Mime-Version: 1.0



from Mozilla:

From [EMAIL PROTECTED] Thu Jun  6 00:46:03 2002
Return-Path: <[EMAIL PROTECTED]>
Received: from out1.jobseekernews.net ([208.147.43.251] verified)
  by zipcode.neonova.net (CommuniGate Pro SMTP 3.5.9)
  with ESMTP id 87870014 for [EMAIL PROTECTED]; Thu, 06 Jun 2002 03:49:20
-0400
Received: from 208.147.47.159 [208.147.47.159]
by out1.jobseekernews.net [208.147.43.251]
with SMTP (MDaemon.PRO.v5.0.5.R)
for <[EMAIL PROTECTED]>; Thu, 06 Jun 2002 03:45:20 -0400
From: JSN <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Free Information from Capella University
Date: Thu, 6 Jun 2002 03:46:03 -0400
X-Mailer: QUALCOMM Windows Eudora Version 5.0
X-MDRemoteIP: 208.147.47.159
X-Return-Path: [EMAIL PROTECTED]
X-MDaemon-Deliver-To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Status: R 
X-Status: N



Anyway, I don't see any error messages in my logs, but this is kind of
distressing.  I have seen some historical messages on the list, but
nothing very detailed.  I need to migrate about 30 - 40 users, but I am
not certain how.

thanks,
js



-- 
VB programmers ask why no one takes them seriously, 
it's somewhat akin to a McDonalds manager asking employees 
why they don't take their 'career' seriously.



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


Re: Shared folders and virtual domains ?

2002-12-06 Thread Ken Murchison


Christian Schulte wrote:
> 
> Ken Murchison wrote:
> 
> >Christian Schulte wrote:
> >
> >
> >>Ken Murchison wrote:
> >>
> >>
> >>
> >>>Christian Schulte wrote:
> >>>
> >>>
> >>>
> >>>
> Ken Murchison wrote:
> 
> 
> 
> 
> 
> >Christian Schulte wrote:
> >
> >
> >
> >
> >
> >
> >>Ken Murchison wrote:
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>>Christian Schulte wrote:
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> Hi,
> 
> I am running 2_2 cvs branch with virtual domain support turned on and
> everything seemd to work fine. I now wanted to move my old installation
> to the new one and cannot get delivery to shared folders working.
> If I create a shared folder with cyradm like:
> 
> $>cm sharedfolder
> 
> I cannot do
> 
> $>sam sharedfolder user@domain lrswipcda
> 
> and get
> 
> setaclmailbox: user@domain: lrswipcda: Invalid identifier
> 
> If I create a shared folder with cyradm like:
> 
> $>cm sharedfolder@domain
> 
> I can do
> 
> $>sam sharedfolder@domain user@domain lrswipcda
> 
> and the user can subscribe to the folder and sees it on the same level
> than his inbox as expected. If I now setup sendmail to send via the
> cyrusv2 mailer with an address like +sharedfolder@domain I get the
> following errors in the logs which I do not understand ! What is wrong
> here ?
> 
> Nov 15 02:55:33 mail lmtpunix[8259]: [ID 921384 local6.debug] accepted
> connection
> Nov 15 02:55:33 mail lmtpunix[8259]: [ID 685068 local6.debug] lmtp
> connection preauth'd as postman
> Nov 15 02:55:33 mail lmtpunix[8259]: [ID 152585 local6.error] couldn't
> create stage directory: : No such file or directory
> Nov 15 02:55:33 mail lmtpunix[8259]: [ID 519036 local6.error] IOERROR:
> creating message file 8259-1037325333: No such file or directory
> Nov 15 02:55:33 mail sendmail[8262]: [ID 801593 mail.info]
> gAF1rq13008256: to=<+sharedfolder@domain>, delay=00:01:41,
> xdelay=00:00:00, mailer=cyrusv2, pri=210378, relay=localhost, dsn=4.2.0,
> stat=Deferred: 451 4.3.2 cannot create temporary file: No such file or
> directory
> 
> 
> 
> 
> 
> 
> 
> 
> >>>Sorry for the delay, but I finally got a chance to look into this.
> >>>Cyrus isn't the problem here, the problem is that the MTA is stripping
> >>>the domain off of the recipient address when it gets passed to lmtpd.
> >>>
> >>>Try changing the cyrusv2 mailer definition to use:
> >>>
> >>>S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>Does not work either! I had
> >>
> >>S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrToSMTP
> >>
> >>in my cyrusv2.m4 file and changing it to
> >>
> >>S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP
> >>
> >>produces the same error! sendmail delivers correctly to lmtpd, I think:
> >>
> >>20776 === CONNECT localhost
> >>20776 <<< 220  LMTP Cyrus v2.2.prealpha ready
> >>20776 >>> LHLO 
> >>20776 <<< 250-XXX
> >>20776 <<< 250-8BITMIME
> >>20776 <<< 250-ENHANCEDSTATUSCODES
> >>20776 <<< 250-PIPELINING
> >>20776 <<< 250-SIZE
> >>20776 <<< 250-AUTH EXTERNAL
> >>20776 <<< 250 IGNOREQUOTA
> >>20776 >>> MAIL From:<[EMAIL PROTECTED]> SIZE=1076 BODY=8BITMIME
> >>20776 <<< 250 2.1.0 ok
> >>20776 >>> RCPT To:<+sharedfolder@domain>
> >>20776 >>> DATA
> >>20776 <<< 250 2.1.5 ok
> >>20776 <<< 451 4.3.2 cannot create temporary file: No such file or directory
> >>20776 >>> QUIT
> >>20776 <<< 221 2.0.0 bye
> >>20776 <<< [EOF]
> >>
> >>And the logfile states the same errors ! What makes me a bit confused is
> >>the error message itself. lmtpd is trying to create a temporary file but
> >>the error is "No such file or directory". Is it a missing directory or
> >>wrong permissions on a directory ?
> >>
> >>
> >>
> >>
> >>
> >>
> >Sorry, I missed this in your original message.  This error is a result
> >of lmtpd's failure to create a spoolfile for the message.  Most of the
> >time this will be in the staging area of the recipient's partition (eg,
> >/var/spool/imap/stage.), otherwise this will be in your temp space (call
> >to tmpfile()).  Check the ownership/permissions on the 'stage.'
> >directory on your Cyrus partitions.  It should look something like:
> >
> >[root@eagle imap]# ls -l /var/spool/imap/
> >total 8
> >drwx--3 cyru

Re: namespaces

2002-12-06 Thread Ken Murchison


Harrie Hazewinkel wrote:
> 
> Ciao,
> 
> I managed to install the cyrus-imap server and while testing
> I noticed the following:
> 
> * OK hostname Cyrus IMAP4 v2.1.11 server ready
> x LOGIN userA 
> x OK User logged in
> x NAMESPACE
> * NAMESPACE (("INBOX/" "/")) (("user/" "/")) (("" "/"))
> x OK Completed
> 
> * OK hostname Cyrus IMAP4 v2.1.11 server ready
> x LOGIN userB 
> x OK User logged in
> x NAMESPACE
> * NAMESPACE NIL (("user/" "/")) (("" "/"))
> x OK Completed

This means that userB doesn't have an INBOX (user.userB mailbox)

-- 
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: Shared folders and virtual domains ?

2002-12-06 Thread Christian Schulte
Ken Murchison wrote:


Christian Schulte wrote:
 

Ken Murchison wrote:

   

Christian Schulte wrote:


 

Ken Murchison wrote:



   

Christian Schulte wrote:




 

Ken Murchison wrote:





   

Christian Schulte wrote:






 

Hi,

I am running 2_2 cvs branch with virtual domain support turned on and
everything seemd to work fine. I now wanted to move my old installation
to the new one and cannot get delivery to shared folders working.
If I create a shared folder with cyradm like:

$>cm sharedfolder

I cannot do

$>sam sharedfolder user@domain lrswipcda

and get

setaclmailbox: user@domain: lrswipcda: Invalid identifier

If I create a shared folder with cyradm like:

$>cm sharedfolder@domain

I can do

$>sam sharedfolder@domain user@domain lrswipcda

and the user can subscribe to the folder and sees it on the same level
than his inbox as expected. If I now setup sendmail to send via the
cyrusv2 mailer with an address like +sharedfolder@domain I get the
following errors in the logs which I do not understand ! What is wrong
here ?

Nov 15 02:55:33 mail lmtpunix[8259]: [ID 921384 local6.debug] accepted
connection
Nov 15 02:55:33 mail lmtpunix[8259]: [ID 685068 local6.debug] lmtp
connection preauth'd as postman
Nov 15 02:55:33 mail lmtpunix[8259]: [ID 152585 local6.error] couldn't
create stage directory: : No such file or directory
Nov 15 02:55:33 mail lmtpunix[8259]: [ID 519036 local6.error] IOERROR:
creating message file 8259-1037325333: No such file or directory
Nov 15 02:55:33 mail sendmail[8262]: [ID 801593 mail.info]
gAF1rq13008256: to=<+sharedfolder@domain>, delay=00:01:41,
xdelay=00:00:00, mailer=cyrusv2, pri=210378, relay=localhost, dsn=4.2.0,
stat=Deferred: 451 4.3.2 cannot create temporary file: No such file or
directory






   

Sorry for the delay, but I finally got a chance to look into this.
Cyrus isn't the problem here, the problem is that the MTA is stripping
the domain off of the recipient address when it gets passed to lmtpd.

Try changing the cyrusv2 mailer definition to use:

S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP







 

Does not work either! I had

S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrToSMTP

in my cyrusv2.m4 file and changing it to

S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP

produces the same error! sendmail delivers correctly to lmtpd, I think:

20776 === CONNECT localhost
20776 <<< 220  LMTP Cyrus v2.2.prealpha ready
20776 >>> LHLO 
20776 <<< 250-XXX
20776 <<< 250-8BITMIME
20776 <<< 250-ENHANCEDSTATUSCODES
20776 <<< 250-PIPELINING
20776 <<< 250-SIZE
20776 <<< 250-AUTH EXTERNAL
20776 <<< 250 IGNOREQUOTA
20776 >>> MAIL From:<[EMAIL PROTECTED]> SIZE=1076 BODY=8BITMIME
20776 <<< 250 2.1.0 ok
20776 >>> RCPT To:<+sharedfolder@domain>
20776 >>> DATA
20776 <<< 250 2.1.5 ok
20776 <<< 451 4.3.2 cannot create temporary file: No such file or directory
20776 >>> QUIT
20776 <<< 221 2.0.0 bye
20776 <<< [EOF]

And the logfile states the same errors ! What makes me a bit confused is
the error message itself. lmtpd is trying to create a temporary file but
the error is "No such file or directory". Is it a missing directory or
wrong permissions on a directory ?




   

Sorry, I missed this in your original message.  This error is a result
of lmtpd's failure to create a spoolfile for the message.  Most of the
time this will be in the staging area of the recipient's partition (eg,
/var/spool/imap/stage.), otherwise this will be in your temp space (call
to tmpfile()).  Check the ownership/permissions on the 'stage.'
directory on your Cyrus partitions.  It should look something like:

[root@eagle imap]# ls -l /var/spool/imap/
total 8
drwx--3 cyrusmail   24 Jul 10 12:10 domain
drwx--8 cyrusmail   73 Nov  5 12:51 netnews
drwx--   10 cyrusmail 4096 Oct  4 13:14 public
drwx--2 cyrusmail6 Dec  3 10:18 stage.
drwx--   22 cyrusmail 4096 Aug 27 11:49 user






 

I cannot get it to work. Still the same problem! I configured cyrus with
--with-cyrus-user=cyrus and --with-cyrus-group=smmsp

schulte-01:48:30:/var >ls -l /var
...
drwxr-xr-x   8 root bin  512 Sep 20 21:27 spool


schulte-01:48:33:/var >ls -l /var/spool/
...
drwxrwx---   4 cyrussmmsp512 Nov 15 03:06 imap
...

schulte-01:49:54:/var >ls -l /var/spool/imap/
total 4
drwxrwxr-x  15 cyrussmmsp512 Dez  3 22:15 domain
drwxrwxr-x   2 cyrussmmsp512 Dez  5 01:44 stage.

If I do a ./mkimap -d domain I have to chmod 0770 /var/imap/db.backup*
afterwards to get rid of DBERROR logentries during cyrus startup, so I
think I have a permission problem but where ?

--Christian--


   

Do you only get this problem when trying to deliver to a shared folder?

 

Yes!

   

Or does it happen when trying to deliver to any folder, including a
user's INBOX?



 

No! Sieves' file into works correctly and delivery to 

Re: Shared folders and virtual domains ?

2002-12-06 Thread Christian Schulte
Ken Murchison wrote:


Christian Schulte wrote:
 

Ken Murchison wrote:

   

Christian Schulte wrote:


 

Ken Murchison wrote:



   

Christian Schulte wrote:




 

Ken Murchison wrote:





   

Christian Schulte wrote:






 

Hi,

I am running 2_2 cvs branch with virtual domain support turned on and
everything seemd to work fine. I now wanted to move my old installation
to the new one and cannot get delivery to shared folders working.
If I create a shared folder with cyradm like:

$>cm sharedfolder

I cannot do

$>sam sharedfolder user@domain lrswipcda

and get

setaclmailbox: user@domain: lrswipcda: Invalid identifier

If I create a shared folder with cyradm like:

$>cm sharedfolder@domain

I can do

$>sam sharedfolder@domain user@domain lrswipcda

and the user can subscribe to the folder and sees it on the same level
than his inbox as expected. If I now setup sendmail to send via the
cyrusv2 mailer with an address like +sharedfolder@domain I get the
following errors in the logs which I do not understand ! What is wrong
here ?

Nov 15 02:55:33 mail lmtpunix[8259]: [ID 921384 local6.debug] accepted
connection
Nov 15 02:55:33 mail lmtpunix[8259]: [ID 685068 local6.debug] lmtp
connection preauth'd as postman
Nov 15 02:55:33 mail lmtpunix[8259]: [ID 152585 local6.error] couldn't
create stage directory: : No such file or directory
Nov 15 02:55:33 mail lmtpunix[8259]: [ID 519036 local6.error] IOERROR:
creating message file 8259-1037325333: No such file or directory
Nov 15 02:55:33 mail sendmail[8262]: [ID 801593 mail.info]
gAF1rq13008256: to=<+sharedfolder@domain>, delay=00:01:41,
xdelay=00:00:00, mailer=cyrusv2, pri=210378, relay=localhost, dsn=4.2.0,
stat=Deferred: 451 4.3.2 cannot create temporary file: No such file or
directory






   

Sorry for the delay, but I finally got a chance to look into this.
Cyrus isn't the problem here, the problem is that the MTA is stripping
the domain off of the recipient address when it gets passed to lmtpd.

Try changing the cyrusv2 mailer definition to use:

S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP







 

Does not work either! I had

S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrToSMTP

in my cyrusv2.m4 file and changing it to

S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP

produces the same error! sendmail delivers correctly to lmtpd, I think:

20776 === CONNECT localhost
20776 <<< 220  LMTP Cyrus v2.2.prealpha ready
20776 >>> LHLO 
20776 <<< 250-XXX
20776 <<< 250-8BITMIME
20776 <<< 250-ENHANCEDSTATUSCODES
20776 <<< 250-PIPELINING
20776 <<< 250-SIZE
20776 <<< 250-AUTH EXTERNAL
20776 <<< 250 IGNOREQUOTA
20776 >>> MAIL From:<[EMAIL PROTECTED]> SIZE=1076 BODY=8BITMIME
20776 <<< 250 2.1.0 ok
20776 >>> RCPT To:<+sharedfolder@domain>
20776 >>> DATA
20776 <<< 250 2.1.5 ok
20776 <<< 451 4.3.2 cannot create temporary file: No such file or directory
20776 >>> QUIT
20776 <<< 221 2.0.0 bye
20776 <<< [EOF]

And the logfile states the same errors ! What makes me a bit confused is
the error message itself. lmtpd is trying to create a temporary file but
the error is "No such file or directory". Is it a missing directory or
wrong permissions on a directory ?




   

Sorry, I missed this in your original message.  This error is a result
of lmtpd's failure to create a spoolfile for the message.  Most of the
time this will be in the staging area of the recipient's partition (eg,
/var/spool/imap/stage.), otherwise this will be in your temp space (call
to tmpfile()).  Check the ownership/permissions on the 'stage.'
directory on your Cyrus partitions.  It should look something like:

[root@eagle imap]# ls -l /var/spool/imap/
total 8
drwx--3 cyrusmail   24 Jul 10 12:10 domain
drwx--8 cyrusmail   73 Nov  5 12:51 netnews
drwx--   10 cyrusmail 4096 Oct  4 13:14 public
drwx--2 cyrusmail6 Dec  3 10:18 stage.
drwx--   22 cyrusmail 4096 Aug 27 11:49 user






 

I cannot get it to work. Still the same problem! I configured cyrus with
--with-cyrus-user=cyrus and --with-cyrus-group=smmsp

schulte-01:48:30:/var >ls -l /var
...
drwxr-xr-x   8 root bin  512 Sep 20 21:27 spool


schulte-01:48:33:/var >ls -l /var/spool/
...
drwxrwx---   4 cyrussmmsp512 Nov 15 03:06 imap
...

schulte-01:49:54:/var >ls -l /var/spool/imap/
total 4
drwxrwxr-x  15 cyrussmmsp512 Dez  3 22:15 domain
drwxrwxr-x   2 cyrussmmsp512 Dez  5 01:44 stage.

If I do a ./mkimap -d domain I have to chmod 0770 /var/imap/db.backup*
afterwards to get rid of DBERROR logentries during cyrus startup, so I
think I have a permission problem but where ?

--Christian--


   

Do you only get this problem when trying to deliver to a shared folder?

 

Yes!

   

Or does it happen when trying to deliver to any folder, including a
user's INBOX?



 

No! Sieves' file into works correctly and delivery to 

namespaces

2002-12-06 Thread Harrie Hazewinkel
Ciao,


I managed to install the cyrus-imap server and while testing
I noticed the following:

* OK hostname Cyrus IMAP4 v2.1.11 server ready
x LOGIN userA 
x OK User logged in
x NAMESPACE
* NAMESPACE (("INBOX/" "/")) (("user/" "/")) (("" "/"))
x OK Completed

* OK hostname Cyrus IMAP4 v2.1.11 server ready
x LOGIN userB 
x OK User logged in
x NAMESPACE
* NAMESPACE NIL (("user/" "/")) (("" "/"))
x OK Completed


This is with the same configuration different and two different
users. As you can see the second does not have a personal namespace.
What do I wrong?? Originally I had it for the first one to, but
fiddling with the configuration directive "alternatenamespace: yes"
it changed.

I also changed the other directive for namespaces in the configuration,
but those did not change at all.

Do I need to set something specific?? From what and where
is the namespace defined??


cheers,
Harrie
--
Author of MOD-SNMP, enabling SNMP management of Apache HTTP server




RE: Outobox, Sent Items, Deleted Items folders

2002-12-06 Thread Su Li
Thanks, That works. 

I did creat those folders in IMAP, but they will show up under "Inbox". 


Su

-Original Message-
From: Bryntez [mailto:[EMAIL PROTECTED]]
Sent: December 6, 2002 3:22 PM
To: Su Li
Subject: Re: Outobox, Sent Items, Deleted Items folders 


If you go into the properties of the mail account
in the client MS Outlook Express, you must go to the IMAP tab
and make sure that the "root folder path" is "INBOX"

Should work...

 _ Regards   _  
bryntez

- Original Message -
From: "Su Li" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 06, 2002 9:01 PM
Subject: Outobox, Sent Items, Deleted Items folders


: Hi,
:
: I set up MS Outlook Express to get mail from Cyrus IMAP. When I creat a
user, I only get "Ibox" folder. How can I get "Outobox", "Sent Items",
"Deleted Items"? Is there any thing in Cyrus IMAP, I should turn it on to
enable this?
:
: Thanks,
:
: Su
:
:
:
:





Re: Outobox, Sent Items, Deleted Items folders

2002-12-06 Thread Dave McMurtrie
On Fri, 6 Dec 2002, Su Li wrote:

> I set up MS Outlook Express to get mail from Cyrus IMAP. When I creat a
> user, I only get "Ibox" folder. How can I get "Outobox", "Sent Items",
> "Deleted Items"? Is there any thing in Cyrus IMAP, I should turn it on
> to enable this?

You could create these additional folders when you create the new user
account if you really wanted to.

Thanks,

Dave
--
Dave McMurtrie, Systems Programmer
University of Pittsburgh
Computing Services and Systems Development,
Development Services -- UNIX and VMS Services
717P Cathedral of Learning
(412)-624-6413




Outobox, Sent Items, Deleted Items folders

2002-12-06 Thread Su Li
Hi,

I set up MS Outlook Express to get mail from Cyrus IMAP. When I creat a user, I only 
get "Ibox" folder. How can I get "Outobox", "Sent Items", "Deleted Items"? Is there 
any thing in Cyrus IMAP, I should turn it on to enable this?

Thanks,

Su 

 




squatter - Closing index: No such file or directory

2002-12-06 Thread Gautam Das
squatter is exiting with error Closing index: No such file or directory.

$ squatter -v -r user.foo
Indexing mailbox user.foo... Closing index: No such file or directory

I see a 0 length file called cyrus.squat.tmp created in the user's
message store.

What's wrong?

-

gd





squatter - Closing index: No such file or directory

2002-12-06 Thread Gautam Das
squatter is exiting with error "Closing index: No such file or
directory".

cyrus@spnode19$ squatter -v -r user.foo
Indexing mailbox user.foo... Closing index: No such file or directory

I see a file named cyrus.squat.tmp in the user's mail store. 

What

-- 
Gautam Das  [EMAIL PROTECTED] 
Senior Systems Programmer   Tel: (352) 392-2061
Northeast Regional Data Center  Fax: (352) 392-9440  
University of Florida 




Re: RE : cyrus on vxfs

2002-12-06 Thread Mike Cathey
On Fri, 2002-12-06 at 12:27, John Hughes wrote:
> Hah!  I've been using vxfs for so long I'd completely forgotten
> about having to pre-allocate indodes!  Oh bugger, another thing
> to miss when I have to stop using UnixWare.

Don't forget ReiserFS (on Linux)...

SNIP
$ df -i
FilesystemInodes   IUsed   IFree IUse% Mounted on
/dev/hda24294967295   0 42949672950% /
SNIP


Cheers,

Mike
-- 
Mike Cathey - http://www.mikecathey.com/
Network Administrator
RTC Internet - http://www.catt.com/



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


Re: Upgraded cyrus and I broke timsieved

2002-12-06 Thread Brian
In the words of Roseanne Rosannadanna, "Nevermind."

Manually browsed http://people.debian.org/~hmh/packages/woody/ looking for
packages that weren't automatically grabbed when I ran 'dselect'.

Starting grabbing packages with 'dselect', particularly THESE:

ii  libsasl2-modul 2.1.9-5.woody1
ii  libsasl2-modul 2.1.9-5.woody1

Long story short, grabbed many relevant-looking updated packages from
HMH's repository and sieve automagically works now.

-- 
Brian






Re: Which version of Cyrus IMAPD

2002-12-06 Thread marc . bigler

Do I need to activate something during the compilation (configure) or is it
per default enabled in 2.1.11 ?

Regards
Marc



|+->
|| |
||  Rob Siemborski |
||  <[EMAIL PROTECTED]>  |
||  Sent by:   |
||  [EMAIL PROTECTED]|
||  ew.cmu.edu |
|| |
|| |
||  12/06/02 06:10 PM  |
|| |
|+->
  
>---|
  |
   |
  |  To: [EMAIL PROTECTED]   
   |
  |  cc: [EMAIL PROTECTED] 
   |
  |  Subject: Re: Which version of Cyrus IMAPD 
   |
  
>---|




Its an improved database backend that is optimized for enumeration, which
happens a lot with the mailbox list.

Berkeley DB is not optimized for enumeration, and while flat can give you
fast enumeration, it is tremendously slow to update.

-Rob

On Fri, 6 Dec 2002 [EMAIL PROTECTED] wrote:

>
> What does exactly that skiplist feature do ?
>
> Regards
> Marc
>
>
>
>
>
> Rob Siemborski   To: [EMAIL PROTECTED]
> <[EMAIL PROTECTED]   cc:
[EMAIL PROTECTED]
> mu.edu>  Subject: Re: Which version
of Cyrus IMAPD
>
> 12/06/02 05:05
> PM
>
>
>
>
>
>
> On Fri, 6 Dec 2002 [EMAIL PROTECTED] wrote:
>
> > For a production mail server, which version of Cyrus IMAPD should I use
?
> > Version 2.0.17 or version 2.1.11 ? And what are the differences really
> > between those two latest versions ?
>
> 2.0.17 is only intended for sites which are upgrading from previous 2.0
> versions and are unable to make the upgrade to 2.1.x for whatever reason.
>
> I strongly recommend you use 2.1.11 if you're starting a new system.  It
> has fairly substantial performance benefits over 2.0 (especially if you
> are using the skiplist database backend for your mailbox list).
>
> -Rob
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
> Research Systems Programmer * /usr/contributed Gatekeeper
>
>
>
>
>
>
>

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








RE : cyrus on vxfs

2002-12-06 Thread John Hughes
> Works fine for us.  Tis nice not having to worry about running out
> of inodes.  ;-)  (Using Solaris vxfs, BTW.)

Hah!  I've been using vxfs for so long I'd completely forgotten
about having to pre-allocate indodes!  Oh bugger, another thing
to miss when I have to stop using UnixWare.






Re: Which version of Cyrus IMAPD

2002-12-06 Thread Rob Siemborski
--with-mboxlist-db=skiplist

-Rob

On Fri, 6 Dec 2002 [EMAIL PROTECTED] wrote:

>
> Do I need to activate something during the compilation (configure) or is it
> per default enabled in 2.1.11 ?
>
> Regards
> Marc
>
>
>
> |+->
> || |
> ||  Rob Siemborski |
> ||  <[EMAIL PROTECTED]>  |
> ||  Sent by:   |
> ||  [EMAIL PROTECTED]|
> ||  ew.cmu.edu |
> || |
> || |
> ||  12/06/02 06:10 PM  |
> || |
> |+->
>   
>>---|
>   |  
> |
>   |  To: [EMAIL PROTECTED] 
> |
>   |  cc: [EMAIL PROTECTED]   
> |
>   |  Subject: Re: Which version of Cyrus IMAPD   
> |
>   
>>---|
>
>
>
>
> Its an improved database backend that is optimized for enumeration, which
> happens a lot with the mailbox list.
>
> Berkeley DB is not optimized for enumeration, and while flat can give you
> fast enumeration, it is tremendously slow to update.
>
> -Rob
>
> On Fri, 6 Dec 2002 [EMAIL PROTECTED] wrote:
>
> >
> > What does exactly that skiplist feature do ?
> >
> > Regards
> > Marc
> >
> >
> >
> >
> >
> > Rob Siemborski   To: [EMAIL PROTECTED]
> > <[EMAIL PROTECTED]   cc:
> [EMAIL PROTECTED]
> > mu.edu>  Subject: Re: Which version
> of Cyrus IMAPD
> >
> > 12/06/02 05:05
> > PM
> >
> >
> >
> >
> >
> >
> > On Fri, 6 Dec 2002 [EMAIL PROTECTED] wrote:
> >
> > > For a production mail server, which version of Cyrus IMAPD should I use
> ?
> > > Version 2.0.17 or version 2.1.11 ? And what are the differences really
> > > between those two latest versions ?
> >
> > 2.0.17 is only intended for sites which are upgrading from previous 2.0
> > versions and are unable to make the upgrade to 2.1.x for whatever reason.
> >
> > I strongly recommend you use 2.1.11 if you're starting a new system.  It
> > has fairly substantial performance benefits over 2.0 (especially if you
> > are using the skiplist database backend for your mailbox list).
> >
> > -Rob
> >
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
> > Research Systems Programmer * /usr/contributed Gatekeeper
> >
> >
> >
> >
> >
> >
> >
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
> Research Systems Programmer * /usr/contributed Gatekeeper
>
>
>
>
>
>
>

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




RE : cyrus on vxfs

2002-12-06 Thread John Hughes
> I'm sure some of you use vxfs on solaris for cyrus mail spool ...
> What are your expiriences? Tunning tips? Maybe any vxfs on linux
> expiriences out there?

I run cyrus on UnixWare, where vxfs is the default filesystem.

Works.

We use vxfs snapshot & vxdump for backups without shutdown.
Seems to work.




Re: Cyrus and Postfix

2002-12-06 Thread +archive . info-cyrus
--On Thursday, December 5, 2002 11:38 PM +0100 Christoph Burger-Scheidlin 
<[EMAIL PROTECTED]> wrote:

| Dec  5 23:03:25 Hades postfix/lmtp[16388]: 04316100F:
| to=<[EMAIL PROTECTED]>, relay=public/lmtp[public/lmtp],
| delay=21490, status=deferred (host public/lmtp[public/lmtp] said: 451
| 4.3.0 System I/O error)
| Dec  5 23:03:25 Hades postfix/lmtp[16387]: AFB60100E:
| to=<[EMAIL PROTECTED]>, relay=public/lmtp[public/lmtp],
| delay=21840, status=deferred (host public/lmtp[public/lmtp] said: 451
| 4.3.0 System I/O error)

In your master.cf, at the end of the lmtp line, add "-v".  That will cause 
the Postfix lmtp client to run in verbose mode.  This might help to track 
things down.

Also turn up the logging of Cyrus to debug and see what is recorded there. 
In general, the more logging, the easier it is to track these sort of 
things down.

Next, it is a bad idea to use anything under the Postfix hierarchy for 
3rd-party software.  While public/lmtp is probably okay, I think it is best 
to simply not fiddle with anything under there---less possibility for 
surprises.

Finally, make sure that both the Postfix user and the Cyrus user are able 
to access this named pipe.  This means temporarily assigning a shell to 
these two users, doing an su to them, and make absolutely certain that both 
can access this file.


--On Friday, December 6, 2002 2:54 PM -0200 Darci Antônio Tartari 
<[EMAIL PROTECTED]> wrote:

| In my main.cf I use mailbox_transport = cyrus and its working very well.

Yeah, but if you're using a stock install, that ultimately uses the deliver 
command, which will incur a bit more overhead.  Using lmtp directly is a 
better way to go if at all possible.

Amos





Re: Which version of Cyrus IMAPD

2002-12-06 Thread marc . bigler

What does exactly that skiplist feature do ?

Regards
Marc



   

   

Rob Siemborski   To: [EMAIL PROTECTED]   

<[EMAIL PROTECTED]   cc: [EMAIL PROTECTED] 

mu.edu>  Subject: Re: Which version of Cyrus IMAPD 

   

12/06/02 05:05 

PM 

   

   





On Fri, 6 Dec 2002 [EMAIL PROTECTED] wrote:

> For a production mail server, which version of Cyrus IMAPD should I use ?
> Version 2.0.17 or version 2.1.11 ? And what are the differences really
> between those two latest versions ?

2.0.17 is only intended for sites which are upgrading from previous 2.0
versions and are unable to make the upgrade to 2.1.x for whatever reason.

I strongly recommend you use 2.1.11 if you're starting a new system.  It
has fairly substantial performance benefits over 2.0 (especially if you
are using the skiplist database backend for your mailbox list).

-Rob

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








Re: Which version of Cyrus IMAPD

2002-12-06 Thread Rob Siemborski
Its an improved database backend that is optimized for enumeration, which
happens a lot with the mailbox list.

Berkeley DB is not optimized for enumeration, and while flat can give you
fast enumeration, it is tremendously slow to update.

-Rob

On Fri, 6 Dec 2002 [EMAIL PROTECTED] wrote:

>
> What does exactly that skiplist feature do ?
>
> Regards
> Marc
>
>
>
>
>
> Rob Siemborski   To: [EMAIL PROTECTED]
> <[EMAIL PROTECTED]   cc: [EMAIL PROTECTED]
> mu.edu>  Subject: Re: Which version of Cyrus 
>IMAPD
>
> 12/06/02 05:05
> PM
>
>
>
>
>
>
> On Fri, 6 Dec 2002 [EMAIL PROTECTED] wrote:
>
> > For a production mail server, which version of Cyrus IMAPD should I use ?
> > Version 2.0.17 or version 2.1.11 ? And what are the differences really
> > between those two latest versions ?
>
> 2.0.17 is only intended for sites which are upgrading from previous 2.0
> versions and are unable to make the upgrade to 2.1.x for whatever reason.
>
> I strongly recommend you use 2.1.11 if you're starting a new system.  It
> has fairly substantial performance benefits over 2.0 (especially if you
> are using the skiplist database backend for your mailbox list).
>
> -Rob
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
> Research Systems Programmer * /usr/contributed Gatekeeper
>
>
>
>
>
>
>

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




RE: Cyrus and Postfix

2002-12-06 Thread Darci Antônio Tartari
In my main.cf I use mailbox_transport = cyrus and its working very well.

I installed cyrus-imapd-2.0.16_2 and postfix-20020107 in a FreeBSD 4.5 box.

Hope it helps !


Darci Tartari
http://www.portoriogrande.com.br


Citando Christoph Burger-Scheidlin <[EMAIL PROTECTED]>:

> Hi,
>  
> >  From your last message with your cyrus.conf, this should likely be:
> > 
> > mailbox_transport=lmtp:unix:/var/spool/postfix/public/lmtp
> > 
> > Chris
> > 
> > 
> 
> Done so, but it doesn't seem to change the problem.
> 
> Best,
> 
> Christoph
> 
> 
> 
> 



-
Enviado pelo Correio da SUPRG utilizando
IMP 3.1  http://horde.org/imp/



Re: Which version of Cyrus IMAPD

2002-12-06 Thread Rob Siemborski
On Fri, 6 Dec 2002 [EMAIL PROTECTED] wrote:

> For a production mail server, which version of Cyrus IMAPD should I use ?
> Version 2.0.17 or version 2.1.11 ? And what are the differences really
> between those two latest versions ?

2.0.17 is only intended for sites which are upgrading from previous 2.0
versions and are unable to make the upgrade to 2.1.x for whatever reason.

I strongly recommend you use 2.1.11 if you're starting a new system.  It
has fairly substantial performance benefits over 2.0 (especially if you
are using the skiplist database backend for your mailbox list).

-Rob

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




Re: Which version of Cyrus IMAPD

2002-12-06 Thread +archive . info-cyrus
2.1.11, with skiplist for mboxlist.db (I believe now the default).

--On Friday, December 6, 2002 4:49 PM +0100 [EMAIL PROTECTED] wrote:

| Hello,
|
| For a production mail server, which version of Cyrus IMAPD should I use ?
| Version 2.0.17 or version 2.1.11 ? And what are the differences really
| between those two latest versions ?
|
| Regards
| Marc
|
|





Which version of Cyrus IMAPD

2002-12-06 Thread marc . bigler
Hello,

For a production mail server, which version of Cyrus IMAPD should I use ?
Version 2.0.17 or version 2.1.11 ? And what are the differences really
between those two latest versions ?

Regards
Marc





Upgraded cyrus and I broke timsieved

2002-12-06 Thread Brian
Upgraded from HMH's cyrus21 2.1.9-6 to 2.1.10-5 after adding the
appropriate lines to my sources.list for Henrique's backports on Debian
Woody.  After migrating to skiplist, cyrus worked great except for sieve
which no longer sees any authentication methods.  Sieve worked fine
before, I don't understand what I did wrong.  Nothing in the logfiles that
I can see.  Pure Debian Woody system (nothing added that isn't a package).
 Based on the information below, can anyone give me any insight as to what
I've accidently broken?

kudzu:/var/tmp# sieveshell -u brianb -a brianb localhost
connecting to localhost
unable to connect to server at /usr/bin/sieveshell line 174.

kudzu:/var/tmp# sivtest -u brianb -a brianb localhost
S: "IMPLEMENTATION" "Cyrus timsieved v2.1.10-Debian-5.woody0"
S: "SIEVE" "fileinto reject envelope vacation imapflags notify
subaddress relational regex" S: OK
Authentication failed. generic failure
Security strength factor: 0
. LOGOUT
NO "Expected a command. Got something else."
NO "Expected a command. Got something else."
OK "Logout Complete"
Connection closed.

The packages that I have installed that pertain to cyrus are as follows:

ii  cyrus21-admin  2.1.10-5.woody
ii  cyrus21-client 2.1.10-5.woody
ii  cyrus21-common 2.1.10-5.woody
ii  cyrus21-docs   2.1.10-5.woody
ii  cyrus21-imapd  2.1.10-5.woody
ii  cyrus21-pop3d  2.1.10-5.woody
ii  libsasl-gssapi 1.5.24-15
ii  libsasl-module 1.5.27-3
ii  libsasl2   2.1.9-5.woody1
ii  libsasl7   1.5.27-3
ii  sasl-bin   1.5.27-3
ii  sasl2-bin  2.1.2-2

My imapd.conf and cyrus.conf are as follows:

=-=-=-=-=-=
imapd.conf:
=-=-=-=-=-=
configdirectory: /var/lib/cyrus
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: no
admins: cyrus
allowanonymouslogin: no
popminpoll: 0
autocreatequota: 0
umask: 077
sendmail: /usr/sbin/sendmail
sieveusehomedir: false
sievedir: /var/spool/sieve
hashimapspool: true
allowplaintext: yes
sasl_mech_list: PLAIN LOGIN
sasl_minimum_layer: 0
sasl_pwcheck_method: saslauthd
sasl_auto_transition: no
tls_cert_file: /etc/cyrus/ssl/cyrus.pem
tls_key_file: /etc/cyrus/ssl/cyrus.pem
tls_imap_cert_file: /etc/cyrus/ssl/cyrus.pem
tls_imap_key_file: /etc/cyrus/ssl/cyrus.pem
tls_pop3_cert_file: /etc/cyrus/ssl/cyrus.pem
tls_pop3_key_file: /etc/cyrus/ssl/cyrus.pem
tls_sieve_cert_file: disabled
tls_sieve_key_file: disabled
tls_ca_path: /etc/cyrus/ssl
tls_session_timeout: 1440
tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH
tls_sieve_require_cert: false
lmtpsocket: /var/run/cyrus/socket/lmtp
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify
=-=-=-=-=-=
cyrus.conf
=-=-=-=-=-=
START {
recover cmd="/usr/sbin/ctl_cyrusdb -r"
delprunecmd="/usr/sbin/ctl_deliver -E 3"
tlsprunecmd="/usr/sbin/tls_prune"
}
SERVICES {
imapcmd="imapd -U 30" listen="imap" prefork=0 maxchild=100
imaps   cmd="imapd -s -U 30" listen="imaps" prefork=0 maxchild=100
pop3cmd="pop3d -U 30" listen="pop3" prefork=0 maxchild=50
pop3s   cmd="pop3d -s -U 30" listen="pop3s" prefork=0 maxchild=50
lmtpunixcmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=0
maxchild=20
sieve   cmd="timsieved" listen="localhost:sieve" prefork=0
maxchild=100
notify  cmd="notifyd" listen="/var/run/cyrus/socket/notify" proto="udp"
prefork=1
}
EVENTS {
checkpoint  cmd="/usr/sbin/ctl_cyrusdb -c" period=30
delprunecmd="/usr/sbin/ctl_deliver -E 3" at=0401
tlsprunecmd="/usr/sbin/tls_prune" at=0401
}

-- 
Brian






Re: Is using Berkeley DB 4.0.14 recommended?

2002-12-06 Thread Aidan Evans
On Wed, 23 Oct 2002 at 15:55 Aidan Evans wrote to Info Cyrus, Rob...

>On Sat, 19 Oct 2002 at 10:49 Rob Siemborski wrote to Aidan Evans and Info Cyrus
>
>>On Sat, 19 Oct 2002, Aidan Evans wrote:
>...
>>>   My experience with DB 4.0.14 on RedHat Linux 7.2 is two instances of
>>> complete failure of deliver.db and tls_sessions.db (and consequently all
>>> Sieve processing) when the number of lockers reached 50,000, both instances
>>> after about a week to ten days up time.  I expect a third failure if I let
>>> the number of lockers get that high again.
>>
>>I don't think I've ever seen numbers that high, so I can't comment.
>
>  Does CMU have a regular Cyrus shutdown/restart and/or regular reboot of
>the machine running Cyrus?  Rebooting certainly resets the lock count; I
>don't know if just a Cyrus restart is enough but I suspect not.

  The issue of the number of lockers growing without bounds has been
resolved.  Back in September when we were having connection problems
(client takes minutes to get asked for the username), which eventually were
solved by turning on asynchronous syslogging, I surmised that there might
be a problem with re-use of processes by Cyrus on Linux and changed MAX_USE
in service.h to 1 (was 250).  This seemed to help but I think in retrospect
it was an illusion.

  The change to MAX_USE was left in even after syslogging was changed.  A
couple of weeks ago I recalled this and it occurred then to me that maybe
the lack of process re-use was what was causing the number of lockers to
grow so fast (300 to 500 per hour, so the 50,000 limit would be reached in
less than a week resulting in a corrupt deliver.db and tls_sessions.db).
I've put MAX_USE back to the standard 256.  It's been nearly four days
since our most recent restart of Cyrus and "Maximum number lockers so far"
out of "db_stat -c" is just 374.  At this rate Cyrus can stay up for over a
year without running out of locks.

Aidan Evans   | Networks & Systems
(902)494-3332 | University Computing & Information Services
  | Dalhousie University, Halifax, N.S., Canada





RE: Cyrus and Postfix

2002-12-06 Thread Christoph Burger-Scheidlin
Hi,
 
>  From your last message with your cyrus.conf, this should likely be:
> 
> mailbox_transport=lmtp:unix:/var/spool/postfix/public/lmtp
> 
> Chris
> 
> 

Done so, but it doesn't seem to change the problem.

Best,

Christoph





Re: cyrus on vxfs

2002-12-06 Thread +archive . info-cyrus
--On Friday, December 6, 2002 3:27 PM +0100 Jure Pecar 
<[EMAIL PROTECTED]> wrote:

| I'm sure some of you use vxfs on solaris for cyrus mail spool ... What are
| your expiriences? Tunning tips? Maybe any vxfs on linux expiriences out
| there?

Works fine for us.  Tis nice not having to worry about running out of 
inodes.  ;-)  (Using Solaris vxfs, BTW.)

Amos




Re: SQUAT

2002-12-06 Thread Ken Murchison
Either stop logging at the DEBUG level or check the archives for an
explanation (I'm tired of repeating myself).  In short, its harmless.


[EMAIL PROTECTED] wrote:
> 
> i regularly get this message if a user is opening his mailbox. i fear it's
> slowing down the server? cyrus working fine except for this error...
> thanks
> 
> Dec  6 08:00:24 wurstbude imapd[32764]: SQUAT failed to open index file
> Dec  6 08:00:24 wurstbude imapd[32764]: SQUAT failed
> 
> 
> -
> This mail sent through IMP: http://horde.org/imp/

-- 
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: Different type of message store

2002-12-06 Thread Rob Siemborski
On Fri, 6 Dec 2002, Harrie Hazewinkel wrote:

> I was wondering if some one could point me in the right direction
> in order to look at the message store API. I would like to see

Depending on how much of the message store API you mean, you're looking at
atleast index.c, append.c, and mailbox.c.

If you want to worry about the mailbox list, mboxlist.c.

If you want seen state as well, seen_db.c.

You'll probably want to look at user.c as well.

> what must be done in order to have a different message store backend
> that contains the email messages.

A very large amount of work.

I wouldn't be surprised if alot of the other code has assumptions about
the implementation of the mail store in it that will break if you try to
change its implemenation, so the above list is just a start.

-Rob

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




cyrus on vxfs

2002-12-06 Thread Jure Pecar
Hi all,

I'm sure some of you use vxfs on solaris for cyrus mail spool ... What are
your expiriences? Tunning tips? Maybe any vxfs on linux expiriences out
there?

Thanks,

--

Jure Pecar



Re: Deliver by hand

2002-12-06 Thread Dave McMurtrie
On Thu, 5 Dec 2002, Christoph Burger-Scheidlin wrote:

> I noticed that deliver does not deliver mails if run from the shell. Is
> this normal? If not, what might I try to fix that?
> I am running SuSE 8.0, Postfix and Cyrus.

What's the exit status?  Does it log anything?

Dave
--
Dave McMurtrie, Systems Programmer
University of Pittsburgh
Computing Services and Systems Development,
Development Services -- UNIX and VMS Services
717P Cathedral of Learning
(412)-624-6413




SQUAT

2002-12-06 Thread wurst
i regularly get this message if a user is opening his mailbox. i fear it's 
slowing down the server? cyrus working fine except for this error...
thanks

Dec  6 08:00:24 wurstbude imapd[32764]: SQUAT failed to open index file
Dec  6 08:00:24 wurstbude imapd[32764]: SQUAT failed



-
This mail sent through IMP: http://horde.org/imp/



Re: Cyrus and Postfix

2002-12-06 Thread Chris Scott
Christoph Burger-Scheidlin wrote:



>What is local_transport set to in your main.cf?
>

Local transport is not set, I thought mailbox_transport should do:

mailbox_transport = lmtp:unix:public/lmtp


From your last message with your cyrus.conf, this should likely be:

mailbox_transport=lmtp:unix:/var/spool/postfix/public/lmtp

Chris




Re: Problems with cyrus-imapd 2.1.11 under Solaris 8

2002-12-06 Thread Henrique de Moraes Holschuh
On Fri, 06 Dec 2002, Oleg Derevenetz wrote:
> Nicola Ranaldo wrote:
> >I think master would check exit value of its childs and decrement the 
> >number
> >of ready_workers.
> 
> It seems like you perfectly right. I wrote a quick fix (i will be very 
> thankful if you check my fix and correct me if I am wrong) and it works 
> :-) Attachment contain this fix.

There is a more complete solution to the SIGCHILD problems in master, that
fixes all the race conditions that cause the process count to be lost. I
call it the "pid morgue" :-)

It is in the bugzilla, and it is being used in production by the fastmail.fm
people, AND all Debian users without a glitch for a long while now...

You may want to have a look at that stuff...

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Re: Problems with cyrus-imapd 2.1.11 under Solaris 8

2002-12-06 Thread Oleg Derevenetz
Nicola Ranaldo wrote:

I think master would check exit value of its childs and decrement the number
of ready_workers.


It seems like you perfectly right. I wrote a quick fix (i will be very 
thankful if you check my fix and correct me if I am wrong) and it works 
:-) Attachment contain this fix.
*** master.c.orig   Fri Nov  1 19:44:33 2002
--- master.cFri Dec  6 13:43:22 2002
***
*** 720,728 
if (c && c->pid == pid) {
/* first thing in the linked list */
  
/* decrement active count for service */
if (c->s) c->s->nactive--;
! 
ctable[pid % child_table_size] = c->next;
c->next = cfreelist;
cfreelist = c;
--- 720,733 
if (c && c->pid == pid) {
/* first thing in the linked list */
  
+   /* decrement workers count if process not exited correctly */
+   if (!(WIFEXITED(status)) && c->s) {
+   c->s->ready_workers--;
+   }
+ 
/* decrement active count for service */
if (c->s) c->s->nactive--;
!   
ctable[pid % child_table_size] = c->next;
c->next = cfreelist;
cfreelist = c;
***
*** 737,742 
--- 742,753 
struct centry *t;
  
t = c->next;
+ 
+   /* decrement workers count if process not exited correctly */
+   if (!(WIFEXITED(status)) && t->s) {
+   t->s->ready_workers--;
+   }
+ 
/* decrement active count for service */
if (t->s) t->s->nactive--;
  



Different type of message store

2002-12-06 Thread Harrie Hazewinkel
HI,


I was wondering if some one could point me in the right direction
in order to look at the message store API. I would like to see
what must be done in order to have a different message store backend
that contains the email messages.


Thanks by advance,

Harrie

Software developer, Technical Department




Re: pop login failure not logged to syslog

2002-12-06 Thread steve

Ken, the patch works perfectly;
Dec  6 09:51:30 dustpuppy pop3d[7222]: badlogin: [127.0.0.1] plaintext steve 
SASL(-13): authentication failure: checkpass failed

Surprised this hasn't been reported before :)

Many thanks,
Steve.


On Friday 06 December 2002 04:49, you wrote:
> It looks like this is legacy SASLv1 code which wasn't ported.  Try this
> patch:
>
> http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/pop3d.c.di
>ff?r1=1.129&r2=1.130
>
> steve wright wrote:
> > Hello,
> >
> > I've got a few linux systems running cyrus imap 2.1.11 source compiles &
> > a few running Henrique de Moraes Holschuh's debian sid packages. I'm use
> > sasldb2 (cyrus sasl 2.1.9) for authentication.
> >
> > I notice when my users supply the wrong password to imapd, messages are
> > written to syslog like;
> > "badlogin: localhost[127.0.0.1] plaintext steve SASL(-13): authentication
> > failure: checkpass failed"
> >
> > When authentication fails with pop3d nothing is written to syslog & i'm
> > trying to work out why.
> >
> > I'm no programmer but I had a look at cyrus-imapd-2.1.11/imap/pop3d.c
> > Here is what I found;
> >
> > I noticed lines 1130-1113 read something like, if reply returns true, log
> > "badlogin" to syslog.
> > 1130if (reply) {
> > 1131syslog(LOG_NOTICE, "badlogin: %s plaintext %s %s",
> > 1132   popd_clienthost, popd_userid, reply);
> > 1133}
> >
> > If I make this read;
> > 1130if (!(reply)) {
> > 1131syslog(LOG_NOTICE, "badlogin: %s plaintext %s %s",
> > 1132   popd_clienthost, popd_userid, reply);
> > 1133}
> >
> > Pop login failures are now logged to syslog;
> > Dec  5 23:47:46 dustpuppy pop3d[4572]: badlogin: [127.0.0.1] plaintext
> > steve (null)
> >
> > I'm guessing (null) means reply was empty / not true?
> > Why might I be getting this ?
> > What other information might I supply you to help trackdown my fault?
> >
> > With Thanks,
> > Steve.



Re: Problems with cyrus-imapd 2.1.11 under Solaris 8

2002-12-06 Thread Nicola Ranaldo
I think master would check exit value of its childs and decrement the number
of ready_workers.

Regards

Nicola Ranaldo


> When some pop3d dies with signal (i.e. SIGTERM), all incoming
> connections to corresponding address:port are hangs. For example, if I
> have pop3d running on 192.168.0.1:110, and issue a command:
>
> $ kill PID_OF_THIS_POP3D
>
> and then
>
> $ telnet 192.168.0.1 110
>
> I couldn't see pop3d banner after successful connection. Looks like all
> incoming connections to this address holds in kernel queue and doesn't
> reach accept(). Last message in log is "process PID exited, signaled to
> death by 15".
>
> In the same time all connections to 192.168.0.2:110 are successfully
> completes and I can see a standard pop3d banner.
>
> Any ideas ?
>
>