Re: lmpt/quota behaviour

2005-02-26 Thread Christos Soulios
Indeed, lmtpd checks for the quota immediately on delivery. There should 
be no delay in updating for the quota change.

Christos

Ken Murchison wrote:
Per olof Ljungmark wrote:
Hi all,
I'm running a test setup and today I tried setting the quota for a 
mailbox below the current size of it to see what happened.

No surprise, lmpt started responding 452 4.2.2 Over quota as it should.
Then I increased the quota again so that there were plenty of room, 
waited for the 452 response to go away but it did not. After an hour I 
restarted the lmtp process and the account accepted mail again.

Q: How long should it normally take for lmtp to see the changes? The 
change TO Over quota was registered instantly but the not the 
opposite apparently. Can this time be adjusted?

I believe lmtpd should be checking the quota for each RCTP TO that it 
receives, but I'd have to check.  It *should* see the change immediately.


I know the test scheme was perhaps not a real world one but should not 
an account be able to accept mail more or less immideately after the 
quota is fixed?

2.2.10 with patches from UOA.
Thanks,
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

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


Virtual memory exhausted

2005-02-26 Thread Alexey Zakhlestin
Hi All.
I am using cyrus-imapd 2.2.12 with nntp-functions enabled.
I was using instructions from 
http://asg.web.cmu.edu/cyrus/download/imapd/install-netnews.html to get 
some nntp-groups to my local server and to be able to access all the 
posts history using IMAP

It went fine, until I tried to get a really big newsgroup..
looking thru /var/spool/imap/folder/corresponding/to/group I can see 
that I managed to get 12708 messages.. but the problem is, that I just 
can't access those using IMAP-protocol.

Here is the listing of the session:
* OK t1.cjlohbi.su Cyrus IMAP4 v2.2.12 server ready
1 login myusername mypassword
1 OK User logged in
2 id nil
* ID (name Cyrus IMAPD version v2.2.12 2005/02/14 16:43:51 
vendor Project Cyrus support-url http://asg.web.cmu.edu/cyrus; 
os OpenBSD os-version 3.6 environment Built w/Cyrus SASL 
2.1.13; Running w/Cyrus SASL 2.1.13; Built w/Sleepycat Software: 
Berkeley DB 4.2.52: (December  3, 2003); Running w/Sleepycat Software: 
Berkeley DB 4.2.52: (December  3, 2003); Built w/OpenSSL 0.9.7d 17 Mar 
2004; Running w/OpenSSL 0.9.7d 17 Mar 2004; CMU Sieve 2.2; mmap = 
nommap; lock = fcntl; nonblock = fcntl; auth = unix; idle = idled)
2 OK Completed
3 select nntp.name.of.that.newsgroup
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS (\Seen)]
* BYE Fatal error: Virtual memory exhausted
Connection closed by foreign host.

Everything works fine with smaller groups.
Also, I was watching top, during this session - I didn't see a single 
sign of memory exhaustion - there's plenty of it.

and, yes, there are no ulimits set
should it be considered a bug report?
---
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


[no subject]

2005-02-26 Thread Wendell Turner
Hi All.
I'm a newbie to both Cyrus and this list, so be gentle :-)
Environ:
Mac OS X 10.3.38 / Mac OS X Server / Mac G5 Dual Processor
Problem:
The mail access logs keep repeating the following...

Feb 26 08:27:09 server ctl_cyrusdb[6475]: checkpointing cyrus databases
Feb 26 08:27:09 server ctl_cyrusdb[6475]: DBERROR: archive 
/var/imap/db: cyrusdb error
Feb 26 08:27:09 server ctl_cyrusdb[6475]: done checkpointing cyrus 
databases


Email services seem to operating correctly now, but I just don't know 
enough.
Any assistance would be greatly appreciated.

Wendell Turner
Turner Information Systems
Database, E-Commerce  Web-Integrated Solutions
p:= +44 (0)793 090 1349
e:= [EMAIL PROTECTED]
w:= http://www.turnerinfosys.com
iChat/AIM:= wendellrct
---
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


Messages from 2004

2005-02-26 Thread Tibor-Attila ANCA
Hello List,

is there something strange on the list? I am getting messages of the
last year (December)? Someone else too?

By,
-- 
Tibor Attila ANCA
[EMAIL PROTECTED]
(please, no HTML eMails!)


pgpXuukyQBCjs.pgp
Description: PGP signature


What's happening?

2005-02-26 Thread Anders Norrbring
What's happening with the list?

Suddenly I see posts that was made BEFORE Christmas being resent to the
list... (?)




---
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: Large email account

2005-02-26 Thread Hamish
On Tuesday 21 December 2004 00:14, Prasanna Buddhika wrote:
 Hi,
 I have win2000 server running exchange 2000 server.
 There are 2 large email accounts (70 emails in a
 single account) which we don't want to delete. But I
 want to move these 2 accounts to Linux machine with
 cyrus-imap server. Migration went very well. Only
 problem is the speed. When the 2 mail accounts on the
 exchange server and when I use exchange method to
 access the account via Microsoft outlook client it
 won't take even 1 minute to show all the massages. But
 if I use cyrus-imap to retriew (sync) the email it
 takes 30 minutes. But after sync itÂ’s fast. Only
 problem is when ever I logged off the system and log
 back in to the system again I have to wait 30 minutes
 to access the mail. Can anyone have a good suggestion
 to speedup this apart from deleting emails.:)
 Thank you,
 Prasan
We had lots of problems with outlook after migrating to cyrus. Try a client 
that can actually talk IMAP - aethera, thunderbird, mozilla mail etc. We have 
moved to thunderbird, waiting for a kontact windows port - outlook just does 
not seem to work with any non ms servers!
Good luck!
H


pgpNKwG5d7FsV.pgp
Description: PGP signature


Re: Messages from 2004

2005-02-26 Thread Igor Brezac
You are not alone...
-Igor
On Sat, 26 Feb 2005, Tibor-Attila ANCA wrote:
Hello List,
is there something strange on the list? I am getting messages of the
last year (December)? Someone else too?
By,
--
Igor
---
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: Messages from 2004

2005-02-26 Thread Alain Williams
On Sat, Feb 26, 2005 at 08:42:08AM -0500, Igor Brezac wrote:
 
 You are not alone...

Yes: about a new one every 30 seconds :-(

 -Igor
 
 On Sat, 26 Feb 2005, Tibor-Attila ANCA wrote:
 
 Hello List,
 
 is there something strange on the list? I am getting messages of the
 last year (December)? Someone else too?
 
 By,
 
 
 -- 
 Igor
 ---
 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

-- 
Alain Williams
0787 668 0256

#include std_disclaimer.h

Sign the Thank you, Poland!  http://thankpoland.info/
---
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: Messages from 2004

2005-02-26 Thread Christoph Moench-Tegeder
## Tibor-Attila ANCA ([EMAIL PROTECTED]):

 is there something strange on the list? I am getting messages of the
 last year (December)? Someone else too?

It's not the list. Someone on host bronski.danubia-kom.de is feeding
old messages into sendmail -t (or such). Someone from Regensburg here
might want to take his cluestick for a walk...

Regards,
Christoph

-- 
Spare Space
---
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: Messages from 2004

2005-02-26 Thread Tibor-Attila ANCA
Am Sat, Feb 26, 2005 at 03:09:05PM +0100 schrieb Christoph Moench-Tegeder:
 ## Tibor-Attila ANCA ([EMAIL PROTECTED]):
 
  is there something strange on the list? I am getting messages of the
  last year (December)? Someone else too?
 
 It's not the list. Someone on host bronski.danubia-kom.de is feeding
 old messages into sendmail -t (or such). Someone from Regensburg here
 might want to take his cluestick for a walk...
Could this someone be blocked?

-- 
Tibor Attila ANCA
[EMAIL PROTECTED]
(please, no HTML eMails!)
---
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: 64bit capability bug

2005-02-26 Thread Amos
Alex Deiter wrote:
Hi,
Cyrus IMAP on 64bit arch incorrectly interprets defaults numerical 
parameters of a imapd.conf: all of them are equal to zero!

For example, compile source in attach:
# gcc -m64 test.c
# file a.out
a.out:  ELF 64-bit MSB executable SPARCV9 Version 1, dynamically 
linked, not stripped
This brings a question to mind: what compilers will be supported for 
64-bit compiles on SPARC? I thought I saw a CVS commit go by that used 
'cc' for compiles on SPARC. I was going to ask at the time, but forgot.

Amos
---
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: Messages from 2004

2005-02-26 Thread Christoph Moench-Tegeder
## Tibor-Attila ANCA ([EMAIL PROTECTED]):

 Could this someone be blocked?

As everone might have noticed, the problem has been dealt with (no, I
was not involved). No need for panic.

Gruss,
Christoph

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


changing cyradm authentication domain

2005-02-26 Thread Jonathan Villa
I've got a Postfix-SASL-IMAP config set up and running ok...

I'm trying to duplicate this installation... and while I'm following my
same steps... I can't seem to get into cyradm.

this is where I think my problem lies.

when I try

$ cryadm -user asdfasdf localhost
I'm using a bogus user to fail on purpose and check my logs... I see

Feb 26 15:05:01 jvhostname1 imap[25738]: badlogin: isprod2 [127.0.0.1] OTP
[SASL(-13): user not found: no OTP secret in database]
Feb 26 15:05:04 jvhostname1 imap[25738]: badlogin: isprod2 [127.0.0.1]
DIGEST-MD5 [SASL(-13): user not found: no secret in database]

where jvhostname is my the hostname of the server


now... on the server I'm having issues with I get

Feb 26 15:05:01 localhost.localdomain imap[25738]: badlogin: isprod2
[127.0.0.1] OTP [SASL(-13): user not found: no OTP secret in database]
Feb 26 15:05:04 localhost.localdomain imap[25738]: badlogin: isprod2
[127.0.0.1] DIGEST-MD5 [SASL(-13): user not found: no secret in database]


I'm guessing that my issue is with the localhost.localdomain.  While I
have /etc/sysconfig/network - HOSTNAME = my real fqdn... I'm not seeing
why this is defaulting to localhost

my imapd.conf file looks like this

postmaster: postmaster
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: adminCyrus
sasl_pwcheck_method: auxprop
virtdomains: yes
defaultdomain: jvdomain.com
lmtp_downcase_rcpt: yes

actually... both imapd and cyrus.conf files are pretty much the same...
cyrus.conf is exactly the same on both server...

the outcome of cyradm when using proper credentials is

[EMAIL PROTECTED] bin]# cyradm -user adminCyrus localhost
Password:
cyradm: cannot authenticate to server with  as adminCyrus
Segmentation fault
#

ideas?

---
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: 64bit capability bug

2005-02-26 Thread Derrick J Brashear
On Feb 26, 2005, at 2:54 PM, Amos wrote:
Alex Deiter wrote:
Hi,
Cyrus IMAP on 64bit arch incorrectly interprets defaults numerical 
parameters of a imapd.conf: all of them are equal to zero!
For example, compile source in attach:
# gcc -m64 test.c
# file a.out
a.out:  ELF 64-bit MSB executable SPARCV9 Version 1, 
dynamically linked, not stripped
This brings a question to mind: what compilers will be supported for 
64-bit compiles on SPARC? I thought I saw a CVS commit go by that used 
'cc' for compiles on SPARC. I was going to ask at the time, but 
forgot.

That was local to CMU, and I probably need to revert it. It was some 
libgcc hatred.

I assume by now gcc will do 64 bit mode on Sparc but I have not tried 
it. I know that Studio 10 or gcc 3.4.3 is needed on Opteron Solaris.


smime.p7s
Description: S/MIME cryptographic signature


Re: Large email account

2005-02-26 Thread David Lang
On Mon, 20 Dec 2004, Prasanna Buddhika wrote:
Date: Mon, 20 Dec 2004 16:14:17 -0800 (PST)
From: Prasanna Buddhika [EMAIL PROTECTED]
To: info-cyrus@lists.andrew.cmu.edu
Subject: Large email account
Hi,
I have win2000 server running exchange 2000 server.
There are 2 large email accounts (70 emails in a
single account) which we don't want to delete. But I
want to move these 2 accounts to Linux machine with
cyrus-imap server. Migration went very well. Only
problem is the speed. When the 2 mail accounts on the
exchange server and when I use exchange method to
access the account via Microsoft outlook client it
won't take even 1 minute to show all the massages. But
if I use cyrus-imap to retriew (sync) the email it
takes 30 minutes. But after sync it's fast. Only
problem is when ever I logged off the system and log
back in to the system again I have to wait 30 minutes
to access the mail. Can anyone have a good suggestion
to speedup this apart from deleting emails.:)
Thank you,
Prasan
What filesystem did you use on the linux box?
the ext2/ext3 filesystems slow down significantly when you have large 
files or directories with large numbers of files in them, and you are 
definantly far beyone the point where they will slow down (around 10,000 
messages they start to slow down and ~15,000-20,000 they become very bad)

if you want to use ext2/ext3 you will need to reasearch and implement the 
htree filesystem extention and see how well it helps you. Otherwise try 
converting to XFS or Reiserfs (my personal prefrence is XFS, but test for 
yourself)

one way to tell that it's a server-side problem is to login to the server, 
cd to the directory for the mailbox and do a ls, you will be amazed at how 
long it will take to respond.

once you get the server working well then the next step is to get a better 
client then outlook as the other posts have pointed out, but if you were 
to switch to another client without fixing the server you would find that 
every action you take is very slow (now moving from outlook you may not 
notice quite how slow, as outlook is one of the slower clients to start 
with)

David Lang
 -- 
There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.
 -- C.A.R. Hoare
---
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


dumb question about public mailbox

2005-02-26 Thread Craig White
All users are set up with user.USER_NAME except the 'public' user that I
created.

if I send mail to public or [EMAIL PROTECTED], it creates a mailbox
user.public and for this one user only, I want it to go to simply public
and not user.public - is this possible?

Craig

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


Creating and using virtual domains in/with Cyrus..

2005-02-26 Thread Eric Schnoebelen

Greetings..

I've been lurking on the list a while, trying to divine the
information for setting up virtual domains in Cyrus..

I've read the information provided with Cyrus on setting up
virtual domains, but it doesn't appear to work for me.  Most
notably, I've had to add ``loginrealms:'' and
``unixhierarchysep: true'' to my configuration, and the need
didn't appear to be documented.

Additionally, when I mark a [EMAIL PROTECTED] as an admin,
it can see _all_ the mailboxes, not just the ones in domain.tld.

Finally, I've seen folks make reference to a directory structure
similiar to this:

partition/
   /domain.tld
   /domain.tld/email-1
   /domain.tld/email-2

but I don't see that in my configuration..

Anyone have a clue-by-4 they can hit me with??

imapd.conf:
configdirectory: /var/imap
sieveusehomedir: false
sievedir: /var/spool/sieve
sieve_maxscripts: 20
hashimapspool: false
temp_path: /var/tmp
virtualdomains: true
username_lower: true
unixhierarchysep: true

Host: NetBSD 2.0 running on an AlphaServer DS10L.

Thank you in advance.

--
Eric Schnoebelen[EMAIL PROTECTED]   
http://www.cirr.com
  First I work the wood until it is smooth. Then I oil it until it is dark.
   Then I glue a small squirrel on it. - Len Tequilla, Driftwood Sculptor
---
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