Re: [Courier-imap] Wrong quota display

2008-03-05 Thread Krystian

Luis Hernán Otegui wrote:

Sam:

2008/3/4, Sam Varshavchik [EMAIL PROTECTED]:
  

Luis Hernán Otegui writes:

  Sometimes, when a user logs in, the webmail displays a space usage of,
  say, 90%, which is the real disk usage of the user. If the user
  deletes any mail (no matter the size), his quota usage drops violently
  to, say, 22%. This leads the user to the false security of having
  enough space on disc as to keep receiving mail, when he's really close
  to fill up his disc quota. I'm currently giving 500 MB to each user,
  so it's clearly not a problem of the quota being too little.


The quota reported by Courier-IMAP is not disk quota, but rather the
 calculated soft quota that's manually tracked by Courier-IMAP, which may
 not be anywhere the actual disk usage quota, for a variety of reasons, such
 as the contents of the Trash folder.

 If you want to use Courier-IMAP's soft quotas, you cannot also use a hard,
 kernel-based disk quota. For that matter, you should not be using filesystem
 quotas with Courier-IMAP at all, for various reasons, and use Courier-IMAP's
 soft quotas exclusively.




I think I've mis-explained the issue. I'm actually using soft quotas,
enforced by Postfix with its VDA patch, not filesystem quotas. What I
ment when I mentioned the percentages are merely cyphers which I've
calculated by hand, to check against the web-supplied quota values.

Sorry for the confusion. I'll check the trash folder usage for those
users. However, I can't understand the sudden drop and posterior rise
of the soft-quota usage. If you could clarify this issue, I'll be very
thankful.


  

-
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
 Courier-imap mailing list
 Courier-imap@lists.sourceforge.net
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap



Hi!
Counting of quota depends if you compile package with or without trash 
quota.
If you compile without trash quota, you should remove all emails 
automatically every some time.


Regards,
Krystian
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap


[Courier-imap] problem with courier imap 4.3.0

2007-12-03 Thread Krystian
Hi!
I have problem with courier imap 4.3.0.
When I use 4.1.3 no problem.
But after upgrade to 4.3.0 I have problem to access to maildir.
I'm setting up new server. In my old I have only imap and in logs I see 
imapd-ssl.
But now when I start also pop3 in logs for all connections I see only 
pop3d (no imap-ssl even if I connect to imaps).
Is it my misconfiguration or it should be like that?

Regards,
Krystian

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap


Re: [Courier-imap] poxtfix, courier chroot

2007-01-19 Thread krystian
It strange what you say, because a lot services under linux, can and 
runs under chroot ex. DNS,HTTP,FTP,SSH(?),Mail(Postfix),Databases(MySql).
I know that BSD has a bit better security, but for now I' m not going to 
install BSD.
And as for linux even a bit more security like chroot services, can 
increase security. I understand that chroot isn't perfect but if you add 
e.g. GRsecurity patch , it has a big advantage over non chroot environment.
It doesn't cost me a lot (at least I hope),to install in chroot, so why 
I shouldn't do that.

Regards,
Krystian

Brian Candler wrote:
 On Fri, Jan 19, 2007 at 07:03:01AM -0500, Sam Varshavchik wrote:
   
 In as many years as I can remember, nobody cared 
 about running anything, courier-imap, or courier-authlib, in chroot.
 

 For Linux maybe; but OpenBSD runs every daemon that it can in a chroot
 environment.

 Even on Linux systems, I often see 'named' running in a chroot. That's
 probably a sensible idea; ISC BIND is an extremely big and complex beast.

 OTOH, if you said that running as a non-root user is more important, I'd
 agree. Besides, to run a big package in a chroot environment, you'll need so
 many libraries and other bits that if anyone breaks in they'll have a pretty
 functional system anyway.

 Regards,

 Brian.

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Courier-imap mailing list
 Courier-imap@lists.sourceforge.net
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap


[Courier-imap] poxtfix, courier chroot

2007-01-18 Thread krystian
Hi!
I want install Postfix/Imap courier in chroot.
Should I install courier inside chroot or from outsite chroot like postfix?
I understand that as well I should install in chroot authlib for courier.
Maybe somebody can give me some links?

Regards,
Krystian

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap


[Courier-imap] encryption of passwords

2006-12-03 Thread krystian
Hi!
I have virtual users in mysql database with plain text passwords.
Now I'd like to encrypt passwords in database. Which kind I should use 
(ex. md5, encrypt), so imap courier as well as postfix and squirellmail 
understand encrypted passwords too?

Regards,
Krystian

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap


[Courier-imap] Problem with MYSQL_AUXOPTIONS

2006-08-03 Thread krystian
Hi!
I have problem with MYSQL_AUXOPTIONS. It doesn't work.
This is from mysql log:

 5 Query   SELECT email, crypt, clear, uid, gid, homedir, maildir, 
quota, name,  FROM postfix_users WHERE email = 
[EMAIL PROTECTED] AND (access='y') 

My authmysql:

 MYSQL_AUXOPTIONS_FIELD 
CONCAT(disableimap=,disableimap,,disablepop3=,disablepop3,,disablewebmail=,disablewebmail,,sharedgroup=,sharedgroup)


Hope somebody can help me. I'm not sure if problem is with Authlib or 
CourierImap.


Regards,
Krystian

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap


Re: [Courier-imap] Problem with MYSQL_AUXOPTIONS

2006-08-03 Thread krystian




Sam Varshavchik wrote:
krystian writes:
  
  
  Hi!

I have problem with MYSQL_AUXOPTIONS. It doesn't work.

This is from mysql log:


" 5 Query SELECT email, crypt, clear, uid, gid, homedir, maildir,
quota, name, "" FROM postfix_users WHERE email =
"[EMAIL PROTECTED]" AND (access='y') "


My authmysql:


" MYSQL_AUXOPTIONS_FIELD
CONCAT("disableimap=",disableimap,",disablepop3=",disablepop3,",disablewebmail=",disablewebmail,",sharedgroup=",sharedgroup)"



Hope somebody can help me. I'm not sure if problem is with Authlib or
CourierImap.

  
  
Check for superfluous whitespace. No leading whitespace before
MYSQL_AUXOPTIONS_FIELD
  
  
  
  

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  

___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
  

Thanks. It works now.

Regards,
Krystian


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap


[Courier-imap] problems after upgrade imap,authlib,maildrop

2006-06-14 Thread krystian
Hi!
I did upgrade imap 3.0.7 to the newest versions of imap, authlib,maildrop.
Now I have some strange behaviour of imap quota. If I have 10 files in
inbox and is account 75% full, after delete of some files quota size
shows 95% or message that quota exceeded. I
Additionally I don't get email with information about exceeding 90% size
of account.
Is it bug in quota, maybe maildrop?

Regards,
Krystian



___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap


[Courier-imap] cluster

2006-06-08 Thread krystian
Hi!
I'm looking for links to howto's ,tutorials, books , informations about 
building  cluster (load balancing, shared storage etc) of  courier imap 
+  postfix + ldap or mysql from the scratch.

Now I have configuration imap courier + postfix (spamassassin, amavis, 
clamav) + mysql (virtual domains in mysql database) + squirrelmail on 
one physical server.

Thanks,
Krystian




___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap


[Courier-imap] imap quota problem

2006-04-06 Thread krystian

Hi!
I have problem with IMAP quota.
When I create new account everything is ok, quota works.
There is created file maildirsize for inbox (example from account which 
works):

4S
   61329043  167
  -2569   -1
  -6755   -1
   -3840002   -1
  708322
 6104902
  447721
  447441
 -44744   -1
  450661
   34191
etc.

But if I change quota for account quota stops work.
File Maildirsize after change(example from account which doesn't work):
15S
 1098908440 6262


Create new account:
$/usr/lib/courier-imap/bin/maildirmake /home/vmail/test.com/test/Maildir
$ /usr/lib/courier-imap/bin/maildirmake -q 1000S 
/home/vmail/test.com/test/Maildir


Change new account:
$ /usr/lib/courier-imap/bin/maildirmake -q 2000S 
/home/vmail/test.com/test/Maildir


I have courier-imap+maildir+postfix+mysql.
I hope somebody can help me. I tried find something on Google but seems 
that only I have this problem :( .


Regards,
Krystian


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap