Re: Cyradm problems

2006-02-08 Thread Hendrik Koch
Robert Schmid wrote:

I am also having a problem logging in to cyradm.  I can not login using

cyradm --user cyrusimap localhost  (cyrusimap is the OSX cyrus user)
  

the user needs to have e-mail enabled in apple's workgroup manager.
without this it cannot find an authentication method. i added a
Postmaster User and changed /etc/imapd.conf  admins: cyrusimap
postmaster This works for me.

I get the two login prompts, - the first is OK but I can't get past the
second unless I specify another user.  The docs say that the cyrusadmin
should not be able to read email so cyrusimap has no mailboxes.
  

the way i understand this is to not use it for sending and receiving
mail - but without the activation in workgroup manager it  won't work.

Hendrik

I'm guessing that if I can fix the login problem I can find this shared
folder and fix the problem so what do I need to do to login as cyrus and
not as another user?

Robert Schmid



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


  



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


Cyrus Lustre

2006-02-08 Thread Michael Menge

Hi,

we want to build a Cyrus cluster with lustre file system as storage. 
Multiple Cyrus-Server would use the same files. Has someone experience 
with this setup. Can Cyrus share his files with multiple processes 
running on different server?


cu

Michael



--

M.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung  mail: [EMAIL PROTECTED]
Waechterstrasse 76
72074 Tuebingen


smime.p7s
Description: S/MIME Cryptographic Signature

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

Re: ACL problems

2006-02-08 Thread Perry Smith


On Feb 8, 2006, at 1:25 AM, Andrew Morgan wrote:


On Tue, 7 Feb 2006, Robert Schmid wrote:


On Tue, February 7, 2006 20:38, Andrew Morgan wrote:


Perhaps if I can get this login problem fixed...


If you can't login as the cyrus admin user, then I don't know if  
you can fix this...


If you are at the command prompt (Terminal app), then do:

sudo -u cyrusimap command_line

and give the Admin's psasword, it will execute command_line as  
cyrusimap.


HTH
Perry


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


Re: Cyrus Lustre

2006-02-08 Thread Michael Schwartzkopff
Am Mittwoch, 8. Februar 2006 14:10 schrieb Michael Menge:
 Hi,

 we want to build a Cyrus cluster with lustre file system as storage.
 Multiple Cyrus-Server would use the same files. Has someone experience
 with this setup. Can Cyrus share his files with multiple processes
 running on different server?

 cu

   Michael

Hi,

Perhaps you also want to have a look on cyrus murder. Google for it.

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Bretonischer Ring 7
85630 Grasbrunn

Tel: (+49 89) 456 911 - 0
Fax: (+49 89) 456 911 - 21
mob: (+49 174) 343 28 75

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42


pgpG4mA3RnehO.pgp
Description: PGP signature

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

Re: Cyradm problems

2006-02-08 Thread Robert Schmid

Thank you, that's got it.  I had a feeling this was the answer but I was
hesitating because it contradicts the requirement that admin users NOT
receive email.

Robert

On Wed, February 8, 2006 02:57, Hendrik Koch wrote:
 Robert Schmid wrote:

I am also having a problem logging in to cyradm.  I can not login using

cyradm --user cyrusimap localhost  (cyrusimap is the OSX cyrus user)


 the user needs to have e-mail enabled in apple's workgroup manager.
 without this it cannot find an authentication method. i added a
 Postmaster User and changed /etc/imapd.conf  admins: cyrusimap
 postmaster This works for me.

I get the two login prompts, - the first is OK but I can't get past the
second unless I specify another user.  The docs say that the cyrusadmin
should not be able to read email so cyrusimap has no mailboxes.


 the way i understand this is to not use it for sending and receiving
 mail - but without the activation in workgroup manager it  won't work.

 Hendrik

I'm guessing that if I can fix the login problem I can find this shared
folder and fix the problem so what do I need to do to login as cyrus and
not as another user?

Robert Schmid



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





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





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


Re: ACL problems

2006-02-08 Thread Robert Schmid


 Other Users is how you see other user mailboxes when you have sort of
 access to them, from an IMAP client.  You won't find Other Users in the
 mailboxes.db.

 Where else should I look to find out how this user is getting access to
 these other mailboxes?

 What are the permissions on the mailbox that appears under Other Users?
 Perhaps there is an ACL on a subfolder of that mailbox that is granting
 access?  What does sam user.foo say for the user foo in this case?

OK, I fixed my access problem.  Now, if I log in as user A and do 'lam *'

I see the entire hierarchy for A and they are all in the form

A/m1/m2/m3A  lrswipcda

as it should be.

If I login as cyrus and do 'lam *'  I see

user/A/m1/m2/m3  default A lrswipcda
...
user/B/b1/b2 default B lrswipcda
...

Again, this is what I expect. BUT I DON'T see any indicator that B has
access to A.

But when I login as 'B' and do 'lam *'  I get

B/b1/b2 default B lrswipcda
...
A/m1/m2/m3  default A lrswipcda
...


It's clear that B has access to A but so far my efforts to deny access to
B seem to be failing.  Both as A and as cyrus I've tried forms of `sam A/*
B none` without success.


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


Re: mailbox create

2006-02-08 Thread Kiss Attila

Hi!

Thanks! This was the problem.

Attila

Vincent Deffontaines wrote:

Kiss Attila wrote:

Hi!

I have a little problems.
I use a cyrus 2.1 IMAP server with LDAP on a debian Linux.
I have some user in which's name is . like 
konyvtarkozi.kozpontikvt. How can I create mailbox for these users?


Thank you for your answer.

Attila

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


I think
unixhierarchysep: yes
in imapd.conf should do.

See http://www.web-cyradm.org/pipermail/web-cyradm/2004-March/017210.html

or other threads for more details.

Vincent


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



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


Re: ACL problems

2006-02-08 Thread Hendrik Koch
Robert Schmid wrote:

Again, this is what I expect. BUT I DON'T see any indicator that B has
access to A.

But when I login as 'B' and do 'lam *'  I get

B/b1/b2 default B lrswipcda
...
A/m1/m2/m3  default A lrswipcda
...


It's clear that B has access to A but so far my efforts to deny access to
B seem to be failing.  Both as A and as cyrus I've tried forms of `sam A/*
B none` without success.

  

is user B listed as admin in imapd.conf?

hendrik

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


Stop the Undelivered Mail Returned to Sender

2006-02-08 Thread Benjamin Adams

I get a lot of mail spoofing is here anyway I can stop this?
Or see if make is really coming from my mail server?

Ben





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


Re: Stop the Undelivered Mail Returned to Sender

2006-02-08 Thread Benjamin Adams


On Feb 8, 2006, at 12:11 PM, Benjamin Adams wrote:


I get a lot of mail spoofing is here anyway I can stop this?
*See if it really is coming from my mail server?

Ben



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


Re: cyrus-murder: v2.3 FE hangs

2006-02-08 Thread Aleksandar Milivojevic

Quoting Ken Murchison [EMAIL PROTECTED]:


Roland wrote:

Hi!

Is there any solution for
https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2669
e.g. patches or something?


Since the bug is closed, the fix is in CVS.


Was this fix on time for inclusion in 2.3.1 (the bug report was against 
2.3)?  Or will it be part of some future release?  I'm using 
cyrus-imapd-2.3.1-2 RPM package from Invoca, and am having similar 
problem.


BTW, does this bug affects only frontends+backends configuration, or it 
also affects the new backends-only (frontendless) configuration?




This message was sent using IMP, the Internet Messaging Program.



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


Re: Stop the Undelivered Mail Returned to Sender

2006-02-08 Thread Jason Sopko

Benjamin Adams wrote:

I get a lot of mail spoofing is here anyway I can stop this?
Or see if make is really coming from my mail server?


This is off-topic, but you might want to take a look at Sender Policy 
Framework (SPF) at http://www.openspf.org - it's meant to stop people 
from sending you email by forging the 'from:' header using your own domain.


///Jason



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


Re: Stop the Undelivered Mail Returned to Sender

2006-02-08 Thread Aleksandar Milivojevic

Quoting Jason Sopko [EMAIL PROTECTED]:


Benjamin Adams wrote:

I get a lot of mail spoofing is here anyway I can stop this?
Or see if make is really coming from my mail server?


This is off-topic, but you might want to take a look at Sender Policy 
Framework (SPF) at http://www.openspf.org - it's meant to stop people 
from sending you email by forging the 'from:' header using your own 
domain.


And also to break mail forwarding/aliasing in the process.  There are 
some very good reasons why MTA developers (well, at least sendmail and 
postfix developers) rejected SPF patches and are openly advocating 
against the use of SPF.



This message was sent using IMP, the Internet Messaging Program.



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


Re: Stop the Undelivered Mail Returned to Sender

2006-02-08 Thread Aleksandar Milivojevic

Quoting Benjamin Adams [EMAIL PROTECTED]:


I get a lot of mail spoofing is here anyway I can stop this?
Or see if make is really coming from my mail server?


Hi Ben,

It's kind of off-topic for this mailing list, and the answer is MTA 
specific (you'd be probably much better off asking this on 
your-MTA-of-choice mailing list or newsgroup).  It also greatly depends 
on how your email servers are organized and what your users are allowed 
or not allowed to do (and if you can cover your ass, excuse my french, 
by telling user was not allowed to do that).


In short, usually there's not much that you could do in general case.  
Unlike the spam/virus message that triggered creation of MDN, the MDN 
itself is perfectly valid looking email.  You might be able to use some 
tricks to detect some MDN messages that are not triggered by emails 
leaving your mail server, but not all of them (and you might end up 
blocking valid MDN messagess too).




This message was sent using IMP, the Internet Messaging Program.



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


Re: Stop the Undelivered Mail Returned to Sender

2006-02-08 Thread Benjamin Adams
On Feb 8, 2006, at 2:21 PM, Aleksandar Milivojevic wrote:It's kind of off-topic for this mailing list, and the answer is MTA specific I moved to another mailing list, sorry for troubleGen
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: cyrus-murder: v2.3 FE hangs

2006-02-08 Thread Patrick H Radtke

On Wed, 8 Feb 2006, Aleksandar Milivojevic wrote:


Quoting Ken Murchison [EMAIL PROTECTED]:


Roland wrote:

Hi!

Is there any solution for
https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2669
e.g. patches or something?


Since the bug is closed, the fix is in CVS.


Was this fix on time for inclusion in 2.3.1 (the bug report was against 2.3)? 
Or will it be part of some future release?  I'm using cyrus-imapd-2.3.1-2 RPM 
package from Invoca, and am having similar problem.


It is not part of 2.3.1. You would have to check the code out from CVS and 
build it, or wait for a 2.3.2 release and then Simon can build a new rpm.


BTW, does this bug affects only frontends+backends configuration, or it also 
affects the new backends-only (frontendless) configuration?


It only affects frontends. If you are connecting directly to a backend 
then connections work fine.






This message was sent using IMP, the Internet Messaging Program.



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




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


Re: servername not honored in imapd.c?

2006-02-08 Thread Steve Huston

On Wed, 8 Feb 2006, Steve Huston wrote:

I don't recall having this problem on our old server, so I'm not sure if it
changed


I just downloaded 2.1.12 (what we were running before) and verified that it's
set as config_servername and not pulled from hostname in that version, so at
some point it did change.  So I guess the question now is, did it change for a
good reason :  And how do I get this machine to advertise a different
hostname than what comes up with gethostname()

--
Steve Huston - W2SRH - Unix Sysadmin, Dept. of Astrophysical Sciences
 Princeton University  |ICBM Address: 40.346525   -74.651285
   126 Peyton Hall |On my ship, the Rocinante, wheeling through
 Princeton, NJ   08544 | the galaxies; headed for the heart of Cygnus,
   (609) 258-7375  | headlong into mystery.  -Rush, 'Cygnus X-1'

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


servername not honored in imapd.c?

2006-02-08 Thread Steve Huston

In debugging a problem we've got since upgrading to Cyrus 2.3.1 (among other
things), I discovered that at one point Pine checks to see if the name
returned by the server is equal to the name that it thinks it connected to,
and if not it seems to open another socket to the IMAP server.  This causes a
bit of a slowdown on some machines, and was noticed here.  Regardless of the
issue above, I found the following while poking around.

If you telnet to the IMAP server, it reports its actual hostname instead of
the name set in /etc/imapd.conf for servername, which is itself described as
the hostname to return to clients.  The relevant area in imap/imapd.c is
around line 949 in void cmdloop():

gethostname(hostname, sizeof(hostname));
prot_printf(imapd_out,
* OK %s Cyrus IMAP4 %s%s server ready\r\n, hostname,
config_mupdate_server ? (Murder)  : , CYRUS_VERSION);

Shouldn't the first prot_printf argument be config_servername instead of
hostname?  I don't recall having this problem on our old server, so I'm not
sure if it changed - it could be that the overall issue we're having is
because of something else, but when I found this which seems to be wrong
according to the documentation I thought I'd bring it up.

In comparison, imap/pop3d.c line 523 starts as:

prot_printf(popd_out, +OK %s Cyrus POP3%s %s server ready %s\r\n,
config_servername, config_mupdate_server ?  Murder : ,
CYRUS_VERSION, popd_apop_chal);


--
Steve Huston - W2SRH - Unix Sysadmin, Dept. of Astrophysical Sciences
 Princeton University  |ICBM Address: 40.346525   -74.651285
   126 Peyton Hall |On my ship, the Rocinante, wheeling through
 Princeton, NJ   08544 | the galaxies; headed for the heart of Cygnus,
   (609) 258-7375  | headlong into mystery.  -Rush, 'Cygnus X-1'

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


SaslAuth + Mysql (SOLVED)

2006-02-08 Thread Vernon A. Fort
I have posted a few messages to several groups lately concerning 
crashing with out of memory errors.  The system would run for several 
days and then just crash.  I think I found the problem and it wasn't 
lmtpd or bitdefender or postfix or the number of concurrent messages..  
It was the saslauthd not releasing its swap usage.


Saslauthd's memory usage would continue to grow (watching top with a 
shift+m).  Once I restarted the daemon, the total swap usage would 
shrink to 36k from 2GIG.  I added the FLAGS (-c -s 128 -t 30) to the 
init script.  The setup:


   postfix + amavisd-new + clamav + cyrus-sasl + cyrus-imapd + mysql

Cyrus-imap is configured to use saslauthd - saslauthd is configured to 
use pam and pam/imap is using the pam_mysql.


Again, the system would run fine for a few days and then crash.  I 
discovered this by watching vmstat+top+iostat and noticed when 200+ 
messages came in at once, the system hardly swapped at all BUT the swap 
USED still increased.  I watched the swap used grow to 3 GIG within 36 
hours.


Adding the -c FLAG (credential caching) 'appears' to have solved the 
problem.


Anyway - just posting a follow up in the event someone else has a 
similar problem.


Vernon

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


Re: SaslAuth + Mysql (SOLVED)

2006-02-08 Thread Andrew Morgan

On Wed, 8 Feb 2006, Vernon A. Fort wrote:

I have posted a few messages to several groups lately concerning crashing 
with out of memory errors.  The system would run for several days and then 
just crash.  I think I found the problem and it wasn't lmtpd or bitdefender 
or postfix or the number of concurrent messages..  It was the saslauthd not 
releasing its swap usage.


Saslauthd's memory usage would continue to grow (watching top with a 
shift+m).  Once I restarted the daemon, the total swap usage would shrink to 
36k from 2GIG.  I added the FLAGS (-c -s 128 -t 30) to the init script.  The 
setup:


  postfix + amavisd-new + clamav + cyrus-sasl + cyrus-imapd + mysql

Cyrus-imap is configured to use saslauthd - saslauthd is configured to use 
pam and pam/imap is using the pam_mysql.


Again, the system would run fine for a few days and then crash.  I discovered 
this by watching vmstat+top+iostat and noticed when 200+ messages came in at 
once, the system hardly swapped at all BUT the swap USED still increased.  I 
watched the swap used grow to 3 GIG within 36 hours.


Adding the -c FLAG (credential caching) 'appears' to have solved the problem.

Anyway - just posting a follow up in the event someone else has a similar 
problem.


We had the same problem a long time ago with saslauthd.  Apparently some 
of the pam libraries leak memory and saslauthd grows big fairly fast.  Our 
solution was to add -n 0 to the command line so that saslauthd forks off 
a new process for every auth request.  It's a bit cpu intensive but works 
well.


I've never tried the -c caching option.  If it is really the pam libraries 
leaking memory, then eventually you'll still run out of memory.  :/


Andy

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


Re: servername not honored in imapd.c?

2006-02-08 Thread Kjetil Torgrim Homme
On Wed, 2006-02-08 at 16:50 -0500, Steve Huston wrote:
 In debugging a problem we've got since upgrading to Cyrus 2.3.1 (among other
 things), I discovered that at one point Pine checks to see if the name
 returned by the server is equal to the name that it thinks it connected to,
 and if not it seems to open another socket to the IMAP server.  This causes a
 bit of a slowdown on some machines, and was noticed here.

wow, that's really nasty.  doesn't seem to happen with Pine 4.63,
though.  which version are you running?

-- 
Kjetil T.



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


Re: servername not honored in imapd.c?

2006-02-08 Thread Ken Murchison

Steve Huston wrote:
In debugging a problem we've got since upgrading to Cyrus 2.3.1 (among 
other

things), I discovered that at one point Pine checks to see if the name
returned by the server is equal to the name that it thinks it connected to,
and if not it seems to open another socket to the IMAP server.  This 
causes a
bit of a slowdown on some machines, and was noticed here.  Regardless of 
the

issue above, I found the following while poking around.

If you telnet to the IMAP server, it reports its actual hostname instead of
the name set in /etc/imapd.conf for servername, which is itself 
described as

the hostname to return to clients.  The relevant area in imap/imapd.c is
around line 949 in void cmdloop():

gethostname(hostname, sizeof(hostname));
prot_printf(imapd_out,
* OK %s Cyrus IMAP4 %s%s server ready\r\n, hostname,
config_mupdate_server ? (Murder)  : , CYRUS_VERSION);

Shouldn't the first prot_printf argument be config_servername instead of
hostname?  I don't recall having this problem on our old server, so 


Yup, that's a bug.  I will fix it in CVS.


--
Kenneth Murchison
Project Cyrus Developer/Maintainer
Carnegie Mellon University

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


Re: servername not honored in imapd.c?

2006-02-08 Thread Scott Russell

Ken Murchison wrote:

Yup, that's a bug.  I will fix it in CVS.



Patch please against 2.3.1? Or a clue how to access CVS for the 2.3.1 
branch. The CVS directories in the 2.3.1 tgz seem old.


--
Scott Russell [EMAIL PROTECTED]
IBM Linux Technology Center


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


Re: servername not honored in imapd.c?

2006-02-08 Thread Steve Huston

On Feb 08, 2006, at 19:59, Ken Murchison wrote:

Steve Huston wrote:

The relevant area in imap/imapd.c is
around line 949 in void cmdloop():
Shouldn't the first prot_printf argument be config_servername  
instead of

hostname?  I don't recall having this problem on our old server, so

Yup, that's a bug.  I will fix it in CVS.


Thanks, Ken!

--
Steve Huston - W2SRH - Unix Sysadmin, Dept. of Astrophysical Sciences
 Princeton University  | ICBM Address: 40.346525   -74.651285
   126 Peyton Hall |On my ship, the Rocinante, wheeling through
 Princeton, NJ   08544 | the galaxies; headed for the heart of Cygnus,
   (609) 258-7375  | headlong into mystery.  -Rush, 'Cygnus X-1'



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


Re: servername not honored in imapd.c?

2006-02-08 Thread Steve Huston

On Feb 08, 2006, at 19:22, Kjetil Torgrim Homme wrote:

On Wed, 2006-02-08 at 16:50 -0500, Steve Huston wrote:
In debugging a problem we've got since upgrading to Cyrus 2.3.1  
(among other
things), I discovered that at one point Pine checks to see if the  
name
returned by the server is equal to the name that it thinks it  
connected to,
and if not it seems to open another socket to the IMAP server.   
This causes a

bit of a slowdown on some machines, and was noticed here.

wow, that's really nasty.  doesn't seem to happen with Pine 4.63,
though.  which version are you running?


Running 4.60 on many of the machines, and various other versions  
elsewhere (my desktop for example doesn't seem to slow down that  
much).  The problem is noticed when someone sends a mail, and Pine  
goes to write its file carbon-copy to the sent-mail folder.


I'll be happy to discuss this more with you if you like, but should  
probably do it off list since this isn't a Cyrus issue.


--
Steve Huston - W2SRH - Unix Sysadmin, Dept. of Astrophysical Sciences
 Princeton University  | ICBM Address: 40.346525   -74.651285
   126 Peyton Hall |On my ship, the Rocinante, wheeling through
 Princeton, NJ   08544 | the galaxies; headed for the heart of Cygnus,
   (609) 258-7375  | headlong into mystery.  -Rush, 'Cygnus X-1'



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


quotas repeatedly resetting themselves

2006-02-08 Thread GreenGecko
Configuration is on Mac OS X (not server) with Cyrus from Darwin cyrusIMAP-156.3We have been using this setup a little while without troubles but all of a sudden it started giving over quota warnings when we had told it to ignore quotas. Upon logging in, we discovered the quotes were set to some tiny number. When we reset them, either by editing the file or using cyradm it is only temporary. As soon as someone logs in to IMAP the quota resets back again to some tiny number: 131072 and the quota warnings restart. 
Anyone have ideas what it going on? Repeated attempt to reset are immediately overwritten and turning write off on the quota file is about thing to do, but generates a lot of other errors.--Thanks!--Marie


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