[vchkpw] vusaged, quota and 5.4.28

2009-10-28 Thread Pavel V. Yanchenko
Hello. I can't figure how to set up malibox quota with 5.4.28. Maybe someone could provide me with advice? In short, the problem is that if I start vusaged, then messages are rejected with 'user is over quota' message although quota is not reached (vuserinfo reports 15% usage). And if I don't sta

[vchkpw] Proposing solution for duplicated maildirsize records

2009-10-29 Thread Pavel V. Yanchenko
Hello. I've been experimenting with vpopmail yesterday and I've found that if I comment a call to maildir_addquota function in user_over_maildirquota (line 296) in maildirquota.c then maildirsize file is updated only once and with correct message size. As far as I could test, all other functio

Re: [vchkpw] dovecot and vpopmail

2009-11-20 Thread Pavel V. Yanchenko
Hello Christian, Friday, November 20, 2009, 11:40:28 AM, you wrote: CL> Hi, CL> I'm trying to set up dovecot with vpopmail on a Debian Lenny system. I CL> have modified the package from dotdeb.org to use MySQL. Now, that gives CL> me binaries that work fine (i.e. vchkpw, vadd..., etc. work fine)

Re[2]: [vchkpw] Issues with vpopmail

2009-11-25 Thread Pavel V. Yanchenko
Hello. I guess you should use either  Filename =  or Listen = directives in vusaged.conf. Try, for example, commenting out line with "listen" by putting // in the beginning: //   Listen = 0.0.0.0:189; HTH. Wednesday, November 25, 2009, 9:56:37 AM, you wrote: > i hav given the follo

Re[8]: [vchkpw] Issues with vpopmail

2009-11-26 Thread Pavel V. Yanchenko
Hello. I would also recommend reading qmailtoaster and shupp.org/toaster resources as Eric and Remo suggested. Apart from that, I can only share my vusaged and vusagec configs, which were working while I tested them. However, I chose to use old-fashioned quotas, which are using maildirsize fil

Re[10]: [vchkpw] Issues with vpopmail

2009-11-27 Thread Pavel V. Yanchenko
Hello. 1) To use maildirsize files you have to configure vpopmail without --enable-domainquotas option. Then each user with defined quota will have file called maildirsize in his maildir. E.g. /home/vpopmail/domains/example.com/username/Maildir/maildirsize This file contains information about

Re[12]: [vchkpw] Issues with vpopmail

2009-11-27 Thread Pavel V. Yanchenko
Hmm, strange. Are you sure there is no .qmail-default file in the domain directory and it is located in user's dir? And, imho, path /home/vpopmail/~vpopmail... looks pretty strange. And how does the message without 'from','subject' etc fields looks like? I think header lines would be enough.

Re[2]: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Pavel V. Yanchenko
Hello Michael, I'm not sure how it will affect security, but perhaps you could make mike4 and other users who need access to vpopmail.mysql members of vchkpw group? In linux it should be "usermod -a -G vchkpw mike4" And you can use "groups mike4" command to see in which groups mike4 is. Fr

Re[2]: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Pavel V. Yanchenko
Hmmm, I've created a test domain belonging to user balrog, and although vpopmail.mysql file is accesible, messages are not delivered until I change its permissions to 644: permissions: /home/vpopmail  40711 /home/vpopmail/etc 40755 /home/vpopmail/etc/vpopmail.mysql 100640 [bal...@mail ~]$ id

Re[2]: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Pavel V. Yanchenko
Update. If vdelivermail is made 102711 (set group id on exec) then mail is delivered. Try it, Michael. -- Best regards, Pavelmailto:bal...@msmu.ru !DSPAM:4b192b2832711661460450!

Re: [vchkpw] Simscan clamav error

2010-03-01 Thread Pavel V. Yanchenko
Title: Re: [vchkpw] Simscan clamav error I think /var/qmail/simscan directory should be setgid. Clamav creates files with 600 permissions, so group members can't access them. This is from my server: drwxr-s--- 71 simscan simscan 4096 Mar  1 11:34 simscan Clamd is running as simscan. Tren