RE: [vchkpw] quotawarn....

2004-08-21 Thread elger
hey all... 
I have been tracking a few issues that are slightly anoying and 
causing me great concern when running vpopmail on a production site.

vpopmail 5.4.5 (I know 5.4.6 is more current however ... 
the sql injection is the least of my wories at this time!)

netqmail-1.0.5
Maildir++ patches applied.
qmail-pop3d
mysql 

clean builds and 
all applicable patches applied.


we are using Maildir as the delivery method of choice.

issue one...

clearing a quotawarn message.

the systems fail to clear a quotawarn message for users
who pop in and remove mail (once they are over quota). 
in addition there does not appear to be a method to
force a recalculation of the maildirsize without deleting 
it entirly.

the 15min expirey and recalculation of maildir does not appear 
to be occuring 
or 
if it is it fails to remove the quotawarn message.

below is a maildirsize for an account in question... 
original maildirsize file

20971520S,1000C
20972344172
-16375287   -135
-3200873-3
-1396184-34
42348   1
-42348  -1
24151
18571
-4272   -2
18331
-1833   -1
56575   1
-56575  -1
25111
-2511   -1
24091
-2409   -1
18011
16121
-1801   -1
-1612   -1
16661
-1666   -1
11160   1
-11160  -1
55791
778 1
-6357   -2
12152   1
-12152  -1
25231
275814  1
69601
-285297 -3
52781
1880379 1
43591
39684   1
-1929700-4
301056  1
-301056 -1
780 1
10543   1
307468  1
-318791 -3
18231
-1823   -1
40581
-4058   -1
51644   1
51649   1
51648   1
51647   1
51646   1
51647   1
51643   1
51644   1
-51644  -1
-103297 -2
-154940 -3
-51643  -1
-51644  -1
1620451 1
-1620451-1
45781
95931
-14171  -2
18201
59651
56171
-1820   -1
-5965   -1
-5617   -1
19781
-1978   -1
19991
37071
37231
-1999   -1
-7430   -2
31261
-3126   -1
31371
-3137   -1
41311
-4131   -1
44671
-4467   -1
38771
-3877   -1
20221
-2022   -1
18730   1
-18730  -1
34341   1
33811
793 1
-37722  -2
-793-1
11952   1
-11952  -1
26771
-2677   -1
86911
-8691   -1
90461
-9046   -1
12023   1
-12023  -1
17741
-1774   -1
53091
32911
-5309   -1
-3291   -1
71411
27421
-7141   -1
-2742   -1
10827   1
-10827  -1
11441
-1144   -1
67711
-6771   -1
13935   1
-13935  -1
42068   1
-42068  -1
922079  1
20992   1
73091
54511
55341
789 1
20541   1
503616  1
556989  1
556991  1
787 1
354195  1
783 1
46471
57891
713230  1
69955   1
20871
2356089 1
38871
80781
58131
14341
-6127065-23
44631
794 1
-5257   -2
807946  1
-807946 -1
43801
-4380   -1
93591
-9359   -1
69181
-6918   -1
94971
-9497   -1
21651
19001
-4065   -2
11176   1
-11176  -1
33451
69778   1
-73123  -2
29651
-2965   -1
31321
-3132   -1
40951
-4095   -1
780 1
75901
16681
52681
114303  1
44809   1
96211
96261
-193665 -8
39645   1
-39645  -1
56949   1
-56949  -1
11441
-1144   -1
16201
-1620   -1
98955   1
-98955  -1
29801
-2980   -1

reported 0% usage of quota... 
(ps it all added up correctly)

in attempting to debug this issue... 
maildirsize was deleted from the users account
to cause maildirsize to be recalculated...
after 7 messages results were  

20971520S,1000C
0 0
971 1
-971 -1
778 1
-778 -1
3691 1
-3691 -1
4403 1
-4403 -1
3987 1
-3987 -1
6211 1
-6211 -1
2329 1
-2329 -1

this was looking good 
however

[EMAIL PROTECTED] Maildir]# ls -la
total 32
drwx--5 vpopmail vchkpw   4096 Aug 19 17:26 .
drwx--3 vpopmail vchkpw   4096 Jul 22 08:08 ..
drwx--2 vpopmail vchkpw   8192 Aug  4 21:48 cur
-rw---1 vpopmail vchkpw128 Aug 20 09:11 maildirsize
drwx--2 vpopmail vchkpw   8192 Aug 20 09:11 new
-rw---1 vpopmail vchkpw  0 Aug  3 21:50 quotawarn
drwx--2 vpopmail vchkpw   4096 Aug 20 09:10 tmp
 
note the quotawarn message ... set Aug 3 
that was not removed...
any thoughts?


thank you for your time 
kenneth gf brown

--

Hello Kenneth,

I'm absolutely NO expert but I found the next solution to your problem in my
quest to solve other problems:
On: http://www.pipeline.com.au/staff/mbowe/isp/vpopmail-mysql.htm




[vchkpw] quotawarn.msg

2004-08-21 Thread Lars E. D. Jensen
Hi list
Is it possible to display the name of the mail account (mail address) 
which is over quota within quotawarn.msg?

Like this:
Mail account: [EMAIL PROTECTED] is over quota.
Thanks
--
Med venlig hilsen / Best regards
Lars E. D. Jensen
[EMAIL PROTECTED]


[vchkpw] qmail install script 1.3.8-rc1

2004-08-21 Thread Franck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

A new version of my installing's script for qmail are released (1.3.8-rc1).
More bugfix are cleaned :)
All feedback are welcome please ...

http://www.linuxpourtous.com/download/qmail/releases/
install_qmail-1.3.8-rc1.tar.gz
http://www.linuxpourtous.com/download/qmail/CHANGELOG
http://www.linuxpourtous.com/download/qmail/README
http://www.linuxpourtous.com/forum/viewforum.php?f=8

2004-08-22 v1.3.8-rc1

* Major bugfixes
* Versions of softwares sources updated
* Major changes in maildrop installation
* Minor changes in spamassassin configuration's file
* Bugfix on vpopmail installation when qmail is not yet installed
* Bugfix on ezmlm(-idx) installation
* Bugfix on qmailadmin installation
* Added IO::Socket::SSL and Net::DNS CPAN's modules
* All softwares's installation (number 1 to 21) has been tested (on SuSE 8.2)
* More changes in number 17 to 21

Regards
- -- 
Franck

http://www.linuxpourtous.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBJ3Fd1zwfep5k9qERAjRxAKCVmxv67DXmnvBlhCbWLA5YpjQPyQCeNo8V
laaRfE43+LTOpyk4q6/RLS8=
=W2X9
-END PGP SIGNATURE-



[vchkpw] vchkpw Áܽбz§K¶O°Ñ¥[´îÀ£½Òµ{

2004-08-21 Thread ­è­è¥¢ÅÊ£x¤p´f




  
  
<%r%>:
  
...SPA

  

  SPA[EMAIL PROTECTED]SPA[EMAIL PROTECTED]SPA9 
  SPA
  [EMAIL PROTECTED][EMAIL PROTECTED]|
  SPA
  

  


  

  

   
  


  :
  
  :

  :
  
  :

  :
  
 
7:201:50([EMAIL PROTECTED]) [EMAIL PROTECTED]|7:20SPA 
[EMAIL PROTECTED]|09:20

  :
  

  
  



  
  [EMAIL PROTECTED] ,
  
 
  
   

  
 
NXCWCXJTEMIZBPUWMFQPKVORVDXYUKWOSKRBYN


[vchkpw] can login on LDAP / can NOT login on pop3

2004-08-21 Thread elger
Hello List,

I had a new server installed with Qmail and I added Vpopmail. Everything
works BUT not pop3.
With regular Linux user accounts all pop3 works well, IMAP even works for
the VirtualPopMail but the POP3 said:

Aug 22 01:05:39 mail pop3d: Connection, ip=[:::xx.xx.xx.xx]
Aug 22 01:05:39 mail pop3d: Connection, ip=[::: xx.xx.xx.xx]
Aug 22 01:05:39 mail pop3d: LOGIN: DEBUG: ip=[::: xx.xx.xx.xx],
command=USER
Aug 22 01:05:39 mail pop3d: LOGIN: DEBUG: ip=[::: xx.xx.xx.xx],
command=PASS
Aug 22 01:05:39 mail pop3d: LOGIN: DEBUG: ip=[::: xx.xx.xx.xx],
[EMAIL PROTECTED]
Aug 22 01:05:39 mail pop3d: authshadow: starting client module
Aug 22 01:05:39 mail pop3d: authshadow: REJECT
Aug 22 01:05:44 mail pop3d: LOGIN FAILED, ip=[::: xx.xx.xx.xx]

I've spend 3 days getting here, but now I'm stuck. Please help I am getting
desperate. What did I miss?


With kind Regards,
Elger Postema



Re: [vchkpw] can login on LDAP / can NOT login on pop3

2004-08-21 Thread Tom Collins
On Aug 21, 2004, at 4:21 PM, [EMAIL PROTECTED] wrote:
I had a new server installed with Qmail and I added Vpopmail. 
Everything
works BUT not pop3.
With regular Linux user accounts all pop3 works well, IMAP even works 
for
the VirtualPopMail but the POP3 said:

Aug 22 01:05:39 mail pop3d: Connection, ip=[:::xx.xx.xx.xx]
Aug 22 01:05:39 mail pop3d: Connection, ip=[::: xx.xx.xx.xx]
Aug 22 01:05:39 mail pop3d: LOGIN: DEBUG: ip=[::: xx.xx.xx.xx],
command=USER
Aug 22 01:05:39 mail pop3d: LOGIN: DEBUG: ip=[::: xx.xx.xx.xx],
command=PASS
Aug 22 01:05:39 mail pop3d: LOGIN: DEBUG: ip=[::: xx.xx.xx.xx],
[EMAIL PROTECTED]
Aug 22 01:05:39 mail pop3d: authshadow: starting client module
Aug 22 01:05:39 mail pop3d: authshadow: REJECT
Aug 22 01:05:44 mail pop3d: LOGIN FAILED, ip=[::: xx.xx.xx.xx]
I've spend 3 days getting here, but now I'm stuck. Please help I am 
getting
desperate. What did I miss?
Are you using Courier-IMAP for IMAP access and qmail-popup for POP 
access?  Are you using vckpw instead of chkpasswd in the run file for 
qmail-popup?

`netstat -lnp | grep 110` to find the process that's listening for POP 
connections.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


[vchkpw] can login on LDAP / can NOT login on pop3

2004-08-21 Thread elger

On Aug 21, 2004, at 4:21 PM, [EMAIL PROTECTED] wrote:
 I had a new server installed with Qmail and I added Vpopmail. 
 Everything
 works BUT not pop3.
 With regular Linux user accounts all pop3 works well, IMAP even works 
 for
 the VirtualPopMail but the POP3 said:

 Aug 22 01:05:39 mail pop3d: Connection, ip=[:::xx.xx.xx.xx]
 Aug 22 01:05:39 mail pop3d: Connection, ip=[::: xx.xx.xx.xx]
 Aug 22 01:05:39 mail pop3d: LOGIN: DEBUG: ip=[::: xx.xx.xx.xx],
 command=USER
 Aug 22 01:05:39 mail pop3d: LOGIN: DEBUG: ip=[::: xx.xx.xx.xx],
 command=PASS
 Aug 22 01:05:39 mail pop3d: LOGIN: DEBUG: ip=[::: xx.xx.xx.xx],
 [EMAIL PROTECTED]
 Aug 22 01:05:39 mail pop3d: authshadow: starting client module
 Aug 22 01:05:39 mail pop3d: authshadow: REJECT
 Aug 22 01:05:44 mail pop3d: LOGIN FAILED, ip=[::: xx.xx.xx.xx]

 I've spend 3 days getting here, but now I'm stuck. Please help I am 
 getting
 desperate. What did I miss?

Are you using Courier-IMAP for IMAP access and qmail-popup for POP 
access?  Are you using vckpw instead of chkpasswd in the run file for 
qmail-popup?

`netstat -lnp | grep 110` to find the process that's listening for POP 
connections.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/
__
Hello Tom,

The netstat -lnp | grep 110 had the following result:

tcp0  0 0.0.0.0:110 0.0.0.0:*   LISTEN
1373/couriertcpd
--- --- ---
in the file /etc/pop3d it reads:
AUTHMODULES=authshadow
POP3AUTH=LOGIN CRAM-MD5 CRAM-SHA1
POP3AUTH_TLS=LOGIN PLAIN
POP3DSTART=YES
--- --- ---
In the file /usr/lib/courier-imap/etc/authdaemonrc it reads:
authmodulelistorig=authcustom authcram authuserdb authvchkpw authshadow
authpwd
--- --- ---
And as far as I know I am running Courier-IMAP for IMAP and qmail-popup for
POP ... 
--- --- ---
The ps -ef | grep courier returns:
root  1373 1  0 00:59 ?00:00:00 /usr/libexec/couriertcpd
-address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=pop3d
-maxprocs=40 -maxperip=4 -pid=/var/run/pop3d.pid -nodnslookup -noidentlookup
110 /usr/sbin/pop3login /usr/libexec/authlib/authshadow /usr/bin/pop3d
Maildir
root  1376 1  0 00:59 ?00:00:00 /usr/sbin/courierlogger
pop3d
root  1383 1  0 00:59 ?00:00:00 /usr/libexec/couriertcpd
-address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=imapd
-maxprocs=40 -maxperip=4 -pid=/var/run/imapd.pid -nodnslookup -noidentlookup
143 /usr/sbin/imaplogin /usr/libexec/authlib/authshadow /usr/bin/imapd
Maildir
root  1386 1  0 00:59 ?00:00:00 /usr/sbin/courierlogger
imapd
root  1406 1  0 00:59 ?00:00:00
/usr/lib/courier-imap/sbin/courierlogger
-pid=/usr/lib/courier-imap/var/authdaemon/pid -start
/usr/lib/courier-imap/libexec/authlib/authdaemond.plain
root  1407  1406  0 00:59 ?00:00:00
/usr/lib/courier-imap/libexec/authlib/authdaemond.plain
root  1415  1407  0 00:59 ?00:00:00
/usr/lib/courier-imap/libexec/authlib/authdaemond.plain
root  1416  1407  0 00:59 ?00:00:00
/usr/lib/courier-imap/libexec/authlib/authdaemond.plain
root  1417  1407  0 00:59 ?00:00:00
/usr/lib/courier-imap/libexec/authlib/authdaemond.plain
root  1418  1407  0 00:59 ?00:00:00
/usr/lib/courier-imap/libexec/authlib/authdaemond.plain
root  1419  1407  0 00:59 ?00:00:00
/usr/lib/courier-imap/libexec/authlib/authdaemond.plain
root  2150  1453  0 03:39 pts/000:00:00 grep courier
--- --- ---
the ps -ef | grep pop
root  1373 1  0 00:59 ?00:00:00 /usr/libexec/couriertcpd
-address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=pop3d
-maxprocs=40 -maxperip=4 -pid=/var/run/pop3d.pid -nodnslookup -noidentlookup
110 /usr/sbin/pop3login /usr/libexec/authlib/authshadow /usr/bin/pop3d
Maildir
root  1376 1  0 00:59 ?00:00:00 /usr/sbin/courierlogger
pop3d
root  2152  1453  0 03:40 pts/000:00:00 grep pop
--- --- ---

I hope this information is useful, I hope you can help me with my big
problem...

With kind Regards,

Elger Postema

_