Re: [vchkpw] Qmail rejection of overquota messages instead of bouncing

2007-12-12 Thread egoitz
 [EMAIL PROTECTED] wrote:
 Quey wrote:

 Rick Romero wrote:

 I went looking into this thinking chkuser would be a perfect place
 for the basic quota check.

 Of course that would be sort of vpopmail specific, but lo and behold,
 it's already in there.
 'chkuser.c' v.2.0.8
 if (vmaildir_readquota(tmp_path.s,format_maildirquota \
 (user_passwd-pw_shell)) \
 = maxmbxquota_limit) {
 retstat =
 CHKUSER_ERR_MBXFULL;
 }

 It's not as encompassing as Tom was envisioning, but it does do what
 the parent is looking for..

 Rick




 I thought this used to work back in the days when we used CDB, but
 does it still work today (using SQL at least?)
 on my production it still generates a new bounce, as it does on my
 test server...

 Connected to fox.
 Escape character is '^]'.
 220 fox ESMTP
 mail from: [EMAIL PROTECTED]
 250 ok
 rcpt to: [EMAIL PROTECTED]
 250 ok
 data
 354 go ahead
 blah
 ..
 250 ok 1197328261 qp 12808

 and yes david is well over quota :)

 Dec 11 09:11:06 fox qmail-send: delivery 65: failure:
 user_is_over_quota//
 Dec 11 09:11:06 fox qmail-send: status: local 0/200 remote 0/200
 Dec 11 09:11:06 fox qmail-send: bounce msg 131246 qp 12818

 Chkusr accepts it like any other user found message...
 Antonio   perhaps I missed a config option to force this?  (or has
 it been so long since i needed to install it, it never actually did it
 and I'm remembering wrong?

 no matter,  I found what I did wrong, I ommited the variable in
 tcp.smtp
 file :)
  it now works as stated.

 But I agree it would be nice to do by default without adding into that
 file if it is defined.











 Hi!

 well my current solution is to check all mailboxes with a perl script
 and
 add those email addresses to be removed from validrcptto.txt file...
 then
 rebuild validrcptto.cdb... and mail won't be accepted for them... but
 this
 is a permanent failure error.. should be better to be specified a 450 at
 smtp time for example as error code...

 have a nice day!





 Antonio's Chkusr works perfect maybe you could look at implementing it :)
 will save a lot of hassle



yes but it breaks auth... or unless some month ago










 




!DSPAM:475fb80632005951316819!



Re: [vchkpw] Qmail rejection of overquota messages instead of bouncing

2007-12-12 Thread egoitz
 [EMAIL PROTECTED] wrote:
 Quey wrote:

 Rick Romero wrote:

 I went looking into this thinking chkuser would be a perfect place
 for the basic quota check.

 Of course that would be sort of vpopmail specific, but lo and
 behold,
 it's already in there.
 'chkuser.c' v.2.0.8
 if (vmaildir_readquota(tmp_path.s,format_maildirquota \
 (user_passwd-pw_shell)) \
 = maxmbxquota_limit) {
 retstat =
 CHKUSER_ERR_MBXFULL;
 }

 It's not as encompassing as Tom was envisioning, but it does do what
 the parent is looking for..

 Rick




 I thought this used to work back in the days when we used CDB, but
 does it still work today (using SQL at least?)
 on my production it still generates a new bounce, as it does on my
 test server...

 Connected to fox.
 Escape character is '^]'.
 220 fox ESMTP
 mail from: [EMAIL PROTECTED]
 250 ok
 rcpt to: [EMAIL PROTECTED]
 250 ok
 data
 354 go ahead
 blah
 ..
 250 ok 1197328261 qp 12808

 and yes david is well over quota :)

 Dec 11 09:11:06 fox qmail-send: delivery 65: failure:
 user_is_over_quota//
 Dec 11 09:11:06 fox qmail-send: status: local 0/200 remote 0/200
 Dec 11 09:11:06 fox qmail-send: bounce msg 131246 qp 12818

 Chkusr accepts it like any other user found message...
 Antonio   perhaps I missed a config option to force this?  (or
 has
 it been so long since i needed to install it, it never actually did
 it
 and I'm remembering wrong?

 no matter,  I found what I did wrong, I ommited the variable in
 tcp.smtp
 file :)
  it now works as stated.

 But I agree it would be nice to do by default without adding into that
 file if it is defined.











 Hi!

 well my current solution is to check all mailboxes with a perl script
 and
 add those email addresses to be removed from validrcptto.txt file...
 then
 rebuild validrcptto.cdb... and mail won't be accepted for them... but
 this
 is a permanent failure error.. should be better to be specified a 450
 at
 smtp time for example as error code...

 have a nice day!





 Antonio's Chkusr works perfect maybe you could look at implementing it
 :)
 will save a lot of hassle



 yes but it breaks auth... or unless some month ago















 





Thanks to all for you're answers mates :) :) :)


!DSPAM:475fb96332001850478308!



Re: [vchkpw] Qmail rejection of overquota messages instead of bouncing

2007-12-10 Thread egoitz


 Rick Romero wrote:
 I went looking into this thinking chkuser would be a perfect place for
 the basic quota check.

 snip

 Of course that would be sort of vpopmail specific, but lo and behold,
 it's already in there.

 snip

 It's not as encompassing as Tom was envisioning, but it does do what the
 parent is looking for..

 It should be improving soon.  Antonio Nati has requested three new bits
 in gid_flags, and I plan to add them for the next release...




One of the finest thing in vpopmail IMHO would be to set a list with wich
each vpopmail is compatible with each courier-imap this is a bit difficult
to see... and you have to do lots of tests... and if you set one vpopmail
version with one courier-imap and with time one of them become buggy it's
a problem to change one of them version... another thing would be nice too
to correct would be that vpopmail not to let permanent connections against
mysql because else if no one has poped in courier-imap for some time...
courier-imap hangs because the connection he opened to mysql trough
vpopmail is being closed because inactivity...

congrats for so nice software :)






 as soon as
 I can find time.  As I recall, two of them were quota related.


 Rick

 








!DSPAM:475e387b32002078760001!



[vchkpw] Qmail rejection of overquota messages instead of bouncing

2007-12-09 Thread egoitz
Hi mates!


I'm using John Simpsons last combined patch... I'm trying to know if I
could any way... cause qmail to reject messages at smtp dialogue if users
we're trying to deliver is overquota instead of bouncing it... black lists
are nowadays becoming quite crazy IMHO but they're know blacklisting this
servers who bounce overquota... well infact now all servers that bounce
directly... it would be a nice idea to reject messages for overquoted
mailboxes...

I have think doing an script that inserts and recreates validrcptto.cdb
this way no mail will enter from outside... but authenticated users are
able to bypass validrcptto... so will always be able to get that bounce...
anyway IMHO this is not the most worring thing... the problem is mainly
with outside servers and users... (not mine users...)

as a little idea... does qmail-local do anything in wich I could enter a
bash script any place wich does a remove the mail address from
validrcptto.txt and latter rebuild validrcptto.cbd file for not accepting
mail for overquota users? don't know exactly how to manage for this...


any ideas??




!DSPAM:475bef3d32008762613590!



Re: [vchkpw] warning messages in mail.err and mail.warn on qmail scanning box

2007-12-08 Thread egoitz


 [EMAIL PROTECTED] wrote:
 Hi!

 I have all days messages as this in mail.err and mail.warn... this
 messsages appear sometimes with pdf files, other times with messages
 sent
 by outlook others times with html content why this messages are
 caused? are saying is something wrong?

 I run qmail-scanner with clamav and spamassassin.

 Nov 14 20:36:09 localhost qmail-scanner[22514]:
 :RC:0(78.36.67.83):SA:0(1.9/3.4): 69.50245 35708 [EMAIL PROTECTED]
 [EMAIL PROTECTED] To:_egoitz [EMAIL PROTECTED]
 correo119506890077522514-unpacked:35708

 Why do you say warning?  I see no indication of error or warning.  Are
 you losing mail?

 I am not a qmail-scanner user, but my guess is that it is just logging
 every message to record the results of scanning.

 



no I'm not loosing any mail but it set's that in mail.err and mail.warn
and it does not do always... only with some messages perhaps 10 or 15 per
day of perhaps 500 per day more or less...

and worries me that are only some of them... that are sent often from
outlook clients or with docs or pdf simetimes too... what could be
happening with this messages?

thanks a lot :) !!



!DSPAM:475aabd132001704937020!



Re: [vchkpw] warning messages in mail.err and mail.warn on qmail scanning box

2007-12-08 Thread egoitz


 [EMAIL PROTECTED] wrote:
 Hi!

 I have all days messages as this in mail.err and mail.warn... this
 messsages appear sometimes with pdf files, other times with messages
 sent
 by outlook others times with html content why this messages are
 caused? are saying is something wrong?

 I run qmail-scanner with clamav and spamassassin.

 Nov 14 20:36:09 localhost qmail-scanner[22514]:
 :RC:0(78.36.67.83):SA:0(1.9/3.4): 69.50245 35708 [EMAIL PROTECTED]
 [EMAIL PROTECTED] To:_egoitz [EMAIL PROTECTED]
 correo119506890077522514-unpacked:35708

 Why do you say warning?  I see no indication of error or warning.  Are
 you losing mail?

 I am not a qmail-scanner user, but my guess is that it is just logging
 every message to record the results of scanning.





 no I'm not loosing any mail but it set's that in mail.err and mail.warn
 and it does not do always... only with some messages perhaps 10 or 15 per
 day of perhaps 500 per day more or less...

 and worries me that are only some of them... that are sent often from
 outlook clients or with docs or pdf simetimes too... what could be
 happening with this messages?

 thanks a lot :) !!



 




sorry have forgotten, what id does with all messages appears in syslog and
mail.log but some of them are copied as well in mail.err and mail.warn and
this copied messages are that scary me... I know what I post is normal
working mode of qmail-scanner but then why this are logged in mail.err and
mail.warn too instead of only in syslog and mail.log???


thanks a lot again



!DSPAM:475aae5a32003439746637!



[vchkpw] vpopmail and courier-imap

2007-12-08 Thread egoitz
Hi!


In the two years more or less I'm using qmail have seen one little trouble
with courier and vpopmail... not all versions of courier work well with
every vpopmail... till now I have used qmailrocks courier-imap and
vpopmail versions but... imagine that one of this versions become buggy
how could we know wich version of vpopmail will work with wich one of
courier?? only by compiling and benchmarking seeing if it supports
reasonable loads? is there any board wich this information is specified?


Thanks a lot!!


!DSPAM:475aad1a32001531160745!



[vchkpw] warning messages in mail.err and mail.warn on qmail scanning box

2007-12-07 Thread egoitz
Hi!

I have all days messages as this in mail.err and mail.warn... this
messsages appear sometimes with pdf files, other times with messages sent
by outlook others times with html content why this messages are
caused? are saying is something wrong?

I run qmail-scanner with clamav and spamassassin.

Nov 14 20:36:09 localhost qmail-scanner[22514]:
:RC:0(78.36.67.83):SA:0(1.9/3.4): 69.50245 35708 [EMAIL PROTECTED]
[EMAIL PROTECTED] To:_egoitz [EMAIL PROTECTED]
correo119506890077522514-unpacked:35708



thanks a lot!!!


!DSPAM:4759090332009985216594!



[vchkpw] smtproutes and auth

2007-11-15 Thread egoitz
Hi!!

I have two qmails, one local and I use a remote one (with spamassassin)
for relaying with it... and I can't set in tcp.smtp relay allowed to local
ip because RELAYCLIENT disables me the spamassassin scans (in remote
server)... as I'm using Johns patch 7 I have think I could set in local
smtproutes control file :ip user pass for being authenticated and then the
relay allowed but because authentication not by relayclient... and this
way spamassassin should be passed... but although it auths succesfull as
far as log sais... it later gives me a MAILER-DAEMON bounce saying that
domain is not rcpthosts... so it's not allowing me to relay...why this? if
I have authenticated on remote smtp server and and that server allows smtp
authentication.. .why I'm not able to relay through him?


Thanks a lot


!DSPAM:473c067032002517558481!



[vchkpw] mail.err and mail.warn messages

2007-11-15 Thread egoitz
Hi!!

I have this messages in mail.err and mail.warn in the box I scan mail:


Nov 14 20:36:09 localhost qmail-scanner[22514]:
:RC:0(78.36.67.83):SA:0(1.9/3.4): 69.50245 35708 [EMAIL PROTECTED]
[EMAIL PROTECTED] To:_egoitz [EMAIL PROTECTED]
correo119506890077522514-unpacked:35708


or like this :

Nov 15 09:08:13 localhost qmail-scanner[25191]: :RC:0(88.11.210.111):
47.05507 1471859 [EMAIL PROTECTED] [EMAIL PROTECTED] Muy_bueno_ja_ja_ja_ja_
[EMAIL PROTECTED]
aleabanr.gif fondo_de_hojas.jpg mujeresdeotromundo.pps

and it happens too with some .doc and think (but not very sure sometimes
with pdf too)

what does this logs mean? is something wrong? I mean this because they're
in mail.err or mail.warn...

I'm a bit worried with this, could this become in a trouble?


Thanks a lot mates!!!


!DSPAM:473c56bd32001429834734!



[vchkpw] relaying with smtproutes

2007-11-13 Thread egoitz
Hi!!

I have two qmails, one local and I use a remote one (with spamassassin)
for relaying with it... and I can't set in tcp.smtp relay allowed to local
ip because RELAYCLIENT disables me the spamassassin scans (in remote
server)... as I'm using Johns patch 7 I have think I could set in local
smtproutes control file :ip user pass for being authenticated and then the
relay allowed but because authentication not by relayclient... and this
way spamassassin should be passed... but although it auths succesfull as
far as log sais... it later gives me a MAILER-DAEMON bounce saying that
domain is not rcpthosts... so it's not allowing me to relay...why this? if
I have authenticated on remote smtp server and and that server allows smtp
authentication.. .why I'm not able to relay through him?


Thanks a lot


!DSPAM:47396a0132008405418210!



Re: [vchkpw] Two qmails in same machine

2007-11-09 Thread egoitz
OK then so I could have a box in wich I do...

take qmail sources and patch them with johns (great and nice) patch...

make setup check and ./config-fast fqdn
after this

after this

change /var/qmail for /var/qmail-scanning-server in conf-local... and again
./config-fast fqdn

after this setup proper supervise scripts and I could share between two
qmails vpopmail (and his ddbb), tcp.smtp.cdb file and all and only have to
be careful that when I add a domain with vpopmail or anything else to
rsync files modified by vpopmail in users for Internet qmail... and in
internet qmail to have smtproutes file throwing all mail passed rcpt to
check (that will be of course on Internet server) to localhost listening
qmail server that scans mail... then this is all? am I wrong?

and that's it??¿ there's no any known reason because this could crash... I
mean there's no specification by John Simpson or Dan Bernstein that this
shouldn't done then?

Thanks a lot thruthly
P.D. If this works great I'll share with you it, make some howto, or
scripts for syncing qmail control directories or... :)








 So I have think that I could compile qmail one time and copy to two
 different locations for example /var/qmail and
 /var/qmail-scanning-server... is this possible? and is this possible
 without having two different vpopmails? two different databases for smtp
 auth... (Internet qmail scanner will be relay too) two differents tcp
 rules file... so could I share everything between them?

 What do you think about this idea have just had?

 You cannot compile qmail one time and install in two locations. You need
 to change conf-qmail for the second installation.

 After make setup check of the first install, do 'echo
 /var/qmail-scanning-server  conf-qmail; make setup check'

 Nor do you need two different vpopmails. They can share the same
 databases...the problem really is keeping the configuration files in
 sync or just symlink /var/qmail-scanning-server/users/assign to
 /var/qmail/users/assign and other files that vpopmail touches.

 





!DSPAM:473428ac32007128935933!



Re: [vchkpw] Proper server backup

2007-11-09 Thread egoitz
Thanks a lot John... you're work in qmail is excellent truthly...
congratulations mate truthly...

 [EMAIL PROTECTED] wrote:

 If I had a server hardware failure... and my hardware breaks... so I
 need
 to set up a new one qmail server... what should I have backed up in my
 actual qmail server and how could I recover all data?

 see http://qmail.jms1.net/backup.shtml ... explained in full.

 I suppose I should overwrite
 /home/vpopmail and /var/qmail fully with my backed up version?

 no. the web page explains exactly what needs to be backed up and
 restored. the backup scripts i run on my own server and my clients'
 servers use this list, and i've actually done several recoveries (from
 dead hard drives and dead servers) where nothing was lost except new
 mail which arrived after the most recent backup.

 but this
 couldn't cause later problems with courier-imap compiled binaries?
 because
 they're compiled with just have installed vpopmail libraries and not
 with
 backed ones?

 when courier-imap (or more specifically, courier-authlib) is compiled,
 it is STATICALLY linked with libvpopmail.a. this means that the
 libvpopmail.a file needs to be in place while courier-authlib is being
 compiled, but it doesn't need to be there (or it doesn't need to be the
 exact same version) when it's running.

 one of the design goals of vpopmail 6 is to have a dynamic library. when
 this happens, and if courier-authlib is changed so it uses the dynamic
 library, the libvpopmail.so file will need to be in place for
 courier-authlib's authdaemond process to run.

 however, minor updates to the libvpopmail.so file (re-compiles, minor
 upgrades to fix bugs, etc... things which don't change the API) will
 still allow authdaemond (and other programs which dynamically link
 against the library) to work correctly. the whole point of dynamic
 libraries is that the functions in the library are found by name at
 run-time, rather than having an explicit address or function number be
 hard-coded into the executable.

 --
 
 | John M. Simpson---   KG4ZOW   ---Programmer At Large |
 | http://www.jms1.net/ [EMAIL PROTECTED] |
 
 | http://video.google.com/videoplay?docid=-1656880303867390173 |
 

 



!DSPAM:4734293b32001891920651!



[vchkpw] relay server

2007-11-09 Thread egoitz
Hi I wanted to setup a scanning relay server.. I explain I'm using
vpopmail 5.4.13 and qmail-1.03 with john simpson 7 combined patch I add
the domains with ./vadddomain domain.com and later add an smtproutes line
(in this control file) as domain.com:mail.domain.com but the mail always
is treated as local...


should be /var/qmail/users/assign file be changed for this purpose? for
having users localy for smtp auth purposes but and users to use this
machine as relay but the mail incoming for this domains to be delivered as
smtproutes line sais?


!DSPAM:4734627032009246121266!



[vchkpw] Two qmails in same machine

2007-11-08 Thread egoitz
Hi,

I'm gonna setup a qmail mailserver for mailscanning for a huge site... I
have think that setting a qmail with qmail-scanner for real time scanning
could be too slow because perhaps could arrive there... don't know 300
simultaneos mails.. so I think that could be better to setup a
qmail-mail-server that only does rcpt checks and mfchecks in the Internet
site and another qmail server not listening in internet interface that
makes mail scanning in a reasonable time and in a reasonable number of
simultaneous scans... (don't know 50 simultaneous for example...). The
internet qmail server will pass from for example 50 to 50 mails to
scanning qmail server... and this last to pass to they're respective
mailservers... it's only going to be a scanning mailserver...

So I have think that I could compile qmail one time and copy to two
different locations for example /var/qmail and
/var/qmail-scanning-server... is this possible? and is this possible
without having two different vpopmails? two different databases for smtp
auth... (Internet qmail scanner will be relay too) two differents tcp
rules file... so could I share everything between them?

What do you think about this idea have just had?


Thanks a lot mates :)


!DSPAM:4733037d32001973881648!



[vchkpw] Qmail-scanner and manteinance

2007-11-08 Thread egoitz
Hi!

I have been reading about qmail-scanner manteinance (I didn't think it has
lol) I only upgraded clamav when freshclam (that is launched once per
hour) told old version upgrade engine... and that's the only thing I did
with qmail-scanner maintenance... but have read that should too launch
qmail-scanner-queue.pl -z... I don't never upgrade spamassassin and are
the two things I launch in my qmail-scanner ... clamav and
qmail-scanner...

why should be launched qmail-scanner-queue.pl -z? don't undertand quite
well that have read over there... that sais for upgrading perl-scanner
database... what refers concretely with perl-scanner-database? and is it
advised to do any other manteinante operation (other than
qmail-scanner-queue.pl -z) ?


Thanks a lot
have a nice day


!DSPAM:4733070e32004644915049!



Re: [vchkpw] Two qmails in same machine

2007-11-08 Thread egoitz
 On Thu, 8 Nov 2007 14:01:07 +0100 (CET)
 [EMAIL PROTECTED] wrote:

 I'm gonna setup a qmail mailserver for mailscanning for a huge
 site... I have think that setting a qmail with qmail-scanner for real
 time scanning could be too slow because perhaps could arrive there...
 don't know 300 simultaneos mails.. so I think that could be better to
 setup a qmail-mail-server that only does rcpt checks and mfchecks in
 the Internet site and another qmail server not listening in internet
 interface that makes mail scanning in a reasonable time and in a
 reasonable number of simultaneous scans... (don't know 50
 simultaneous for example...). The internet qmail server will pass
 from for example 50 to 50 mails to scanning qmail server... and this
 last to pass to they're respective mailservers... it's only going to
 be a scanning mailserver...

 So I have think that I could compile qmail one time and copy to two
 different locations for example /var/qmail and
 /var/qmail-scanning-server... is this possible? and is this possible
 without having two different vpopmails? two different databases for
 smtp auth... (Internet qmail scanner will be relay too) two
 differents tcp rules file... so could I share everything between them?

 What do you think about this idea have just had?

 I think you should off load the processing work. Look into running a
 remote clamd/spamassing, or setup multiple mail hubs jms has a guide on
 that at http://qmail.jms1.net

 --
 The 5 1/4 Floppy Drive to the gas station is smelling funky because of
 Brian Bird. OneMain.com is crank calling George W Bush.
 :: http://www.s5h.net/ :: http://www.s5h.net/gpg
 


Thanks a lot Ed! here it sais how to setup a mail system in wich you can
have one scanning machine and a mailbox server.. this is what I'm trying
to do... but this won't be very helpful for me in this time because the
mailbox server it's not qmail.. so there is no sense on passing him
rcptto.cdb or other control files...  and when I have a mail hub I have
this document does but other way... my problem is not... how to share info
between qmails to work... my main problem is how to handle the max
incomming traffic as possible and with minimum machine... and I have
thought that idea...

thanks a lot anyway mate :)



!DSPAM:47331c8032009427817746!



[vchkpw] mysql_ping and vpopmail patch

2007-10-26 Thread egoitz
Hi again mates :)

how are you? :) ok my question... is there any known patch for vpopmail to
do a mysql_ping to mysql server you know for avoiding hangs on courier
with vpopmail and mysql? or is not stable patch? or else is it included in
some vpopmail version from some version to newer?

Thanks a lot!!



[vchkpw] Proper server backup

2007-10-26 Thread egoitz
Hi,

If I had a server hardware failure... and my hardware breaks... so I need
to set up a new one qmail server... what should I have backed up in my
actual qmail server and how could I recover all data? I mean... I suppose
I should compile, install and use the same vpopmail and qmail version. I
suppose too I should have a backup of the mysql vpopmail database,
/var/qmail directory and /home/vpopmail directory too, is enough having
only this backed up? and later... I suppose I should overwrite
/home/vpopmail and /var/qmail fully with my backed up version? but this
couldn't cause later problems with courier-imap compiled binaries? because
they're compiled with just have installed vpopmail libraries and not with
backed ones?

Thanks a lot mates
Hope I have explained :)



Re: [vchkpw] Vpopmail mysql and aborted clients

2007-10-09 Thread egoitz
the warnings are daily... on sarge unless on etch yesterday in a testing
machine I had a hang of courier and had to restart it by hand, but today
have started mysqld_safe with --wait_timeout=345600 and haven't seen today
any warning and courier has logged properly... I'm gonna check the two
solutions... the wait_timeout increasing and the vmysql.patch... (that I
think it come from vpopmail 5.4.17 to more newer...)

thanks a lot mates :)
have a nice day



 [EMAIL PROTECTED] wrote:
 Yes it really goes ok... and now for example the server has a uptime of
 more or less 110 days... I have never had to restart courier-imap
 package
 (wich I use for pop and imap services) and seems to be running ok... so
 this is normal then? and I shouldn't change nothing then? or is it
 advisable to increase mysql timeout?? or I could stay as I'm now?


 I would suggest setting the mysql timeout to about twice the longest
 interval between pop/imap logins.  4 or 5 days is probably good.  One
 day wouldn't be bad if you don't mind seeing a few warnings on weekends.


 I don't use mysql though.


 Rick





Re: [vchkpw] Vpopmail mysql and aborted clients

2007-10-06 Thread egoitz
So then no matter for worrying about this? This can't break the database
or... don't know cause any type of problem... or should I do any conf in
authdaemon for this to be avoided? or is this normal and nothing happens
with it?

Thanks a lot!!!

 As told in other messages, the way of playing is different.

 Each vpopmail/qmail program usually executes brieftly and opens and
 closes MySQL, so there are no abnormal exits.

 When courier plays (both imap and pop), it asks auth data to
 courier's auth daemon.

 When this daemon is started, it opens MySQL and never closes it, as
 it supposes to reuse continuosly the same opened connection.

 But if none is going to use the connection for eigth hours, MySQL
 itself closes the connection.

 This will be opened again automatically by vpopmail library in
 courier's daemon, but you see an error in MySQL stats.

 Hope I've been clear.

 Tonino

 At 12.54 05/10/2007, [EMAIL PROTECTED] wrote:
sorry for insisting but this happens when courier enters, it's the same
for pop, or imap or... in the moment courier enters in the play for imap
only imagine because you use qmail-pop there in the way I told
yesterday... after some time of inactivity happens this...

sorry for insisting


  At 04.55 05/10/2007, you wrote:
 tonix (Antonio Nati) wrote:
 MysSQL has now an hardcoded  timeout of eight hours.
 Courier uses it's authentication daemon with persistent attach to
 vpopmail/MySQL, it could be that during the night there are no
 requests, so MySQL connections are droppped (by MySQL).
 
 I thought this was addressed in a recent version of vpopmail?
 
  Yes, but you see in the logs that some connections have been dropped.
 
  Tonino
 
 
  Yep but wait a minute! if you have a machine in wich you only run
 qmail
  for mail scanning or smtp relay, or even with qmail-pop3d you don't
 get
  those aborted clients... but if you run there pop and imap with
 couier, so
  the problem occurs when you use courier... if you don't use it... you
  don't see any error... and both use vpopmail equally aren't they
 (courier
  and qmail) ?
 
  if you have for example qmail-smtpd with smtp auth only and of course
  vpopmail you will never have that errors...
 
  and you go to ask to courier and they say is a vpopmail question...
 but
  vpopmail works fine with qmail-smtpd!!!
 
  this was an important detail I forgot to tell yesterday...
 
  could this give you any more clue???
 
 
 
 






Re: [vchkpw] Vpopmail mysql and aborted clients

2007-10-05 Thread egoitz
sorry for insisting but this happens when courier enters, it's the same
for pop, or imap or... in the moment courier enters in the play for imap
only imagine because you use qmail-pop there in the way I told
yesterday... after some time of inactivity happens this...

sorry for insisting


 At 04.55 05/10/2007, you wrote:
tonix (Antonio Nati) wrote:
MysSQL has now an hardcoded  timeout of eight hours.
Courier uses it's authentication daemon with persistent attach to
vpopmail/MySQL, it could be that during the night there are no
requests, so MySQL connections are droppped (by MySQL).

I thought this was addressed in a recent version of vpopmail?

 Yes, but you see in the logs that some connections have been dropped.

 Tonino


 Yep but wait a minute! if you have a machine in wich you only run qmail
 for mail scanning or smtp relay, or even with qmail-pop3d you don't get
 those aborted clients... but if you run there pop and imap with couier, so
 the problem occurs when you use courier... if you don't use it... you
 don't see any error... and both use vpopmail equally aren't they (courier
 and qmail) ?

 if you have for example qmail-smtpd with smtp auth only and of course
 vpopmail you will never have that errors...

 and you go to ask to courier and they say is a vpopmail question... but
 vpopmail works fine with qmail-smtpd!!!

 this was an important detail I forgot to tell yesterday...

 could this give you any more clue???








Re: [vchkpw] Vpopmail mysql and aborted clients

2007-10-05 Thread egoitz
 At 04.55 05/10/2007, you wrote:
tonix (Antonio Nati) wrote:
MysSQL has now an hardcoded  timeout of eight hours.
Courier uses it's authentication daemon with persistent attach to
vpopmail/MySQL, it could be that during the night there are no
requests, so MySQL connections are droppped (by MySQL).

I thought this was addressed in a recent version of vpopmail?

 Yes, but you see in the logs that some connections have been dropped.

 Tonino


Yep but wait a minute! if you have a machine in wich you only run qmail
for mail scanning or smtp relay, or even with qmail-pop3d you don't get
those aborted clients... but if you run there pop and imap with couier, so
the problem occurs when you use courier... if you don't use it... you
don't see any error... and both use vpopmail equally aren't they (courier
and qmail) ?

if you have for example qmail-smtpd with smtp auth only and of course
vpopmail you will never have that errors...

and you go to ask to courier and they say is a vpopmail question... but
vpopmail works fine with qmail-smtpd!!!

this was an important detail I forgot to tell yesterday...

could this give you any more clue???





Re: [vchkpw] Vpopmail mysql and aborted clients

2007-10-05 Thread egoitz
thanks a lot mates for you're answers, and in where logs could you see
connections have been droped?? you doing an overview for all answers some
mysql versions have timeout for it's persistent connections (connections
as vpopmail connections) and this causes connection not to close properly
and the aborted client... so then is a mysql issue?? could this cause
problems?

 At 04.55 05/10/2007, you wrote:
tonix (Antonio Nati) wrote:
MysSQL has now an hardcoded  timeout of eight hours.
Courier uses it's authentication daemon with persistent attach to
vpopmail/MySQL, it could be that during the night there are no
requests, so MySQL connections are droppped (by MySQL).

I thought this was addressed in a recent version of vpopmail?

 Yes, but you see in the logs that some connections have been dropped.

 Tonino






[vchkpw] Vpopmail and courier

2007-04-08 Thread Egoitz Aurrekoetxea

Hi all,

I wanted to know if vpopmail auth module in courier-imap is a stable 
project now... some people have told me you can have problems on loaded 
servers with this... and to use qmail pop but anyway you should use it 
as imap server... and this (using it as pop too) don't have to patch 
more things on my qmail sources (you know for qmail pop quota support, 
so Maildir++). So definitely I'm nowadays running vpopmail 5.4.13 and 
courier-imap 4.0.2 and courier-authlib-0.55 this two last with of course 
authvchkpw module... so is this then stable?


Thanks a lot
Have a nice day


Re: [vchkpw] Vpopmail and courier

2007-04-08 Thread Egoitz Aurrekoetxea

Jianbin Xiao wrote:

It's stable.

On 4/8/07, *Egoitz Aurrekoetxea* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi all,

I wanted to know if vpopmail auth module in courier-imap is a stable
project now... some people have told me you can have problems on
loaded
servers with this... and to use qmail pop but anyway you should
use it
as imap server... and this (using it as pop too) don't have to patch
more things on my qmail sources (you know for qmail pop quota support,
so Maildir++). So definitely I'm nowadays running vpopmail 5.4.13 and
courier-imap 4.0.2 and courier-authlib-0.55 this two last with of
course
authvchkpw module... so is this then stable?

Thanks a lot
Have a nice day




--
===
Jianbin Xiao
http://www.xiaojb.com
=== 
Thanks a lot Jianbin and should apply any special patch for courier-imap 
and authvchkpw authdaemon of this to work properly with vpopmail?


Re: [vchkpw] Vpopmail and courier

2007-04-08 Thread Egoitz Aurrekoetxea

Egoitz Aurrekoetxea wrote:

Jianbin Xiao wrote:

It's stable.

On 4/8/07, *Egoitz Aurrekoetxea* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Hi all,

I wanted to know if vpopmail auth module in courier-imap is a stable
project now... some people have told me you can have problems on
loaded
servers with this... and to use qmail pop but anyway you should
use it
as imap server... and this (using it as pop too) don't have to patch
more things on my qmail sources (you know for qmail pop quota 
support,
so Maildir++). So definitely I'm nowadays running vpopmail 5.4.13 
and

courier-imap 4.0.2 and courier-authlib-0.55 this two last with of
course
authvchkpw module... so is this then stable?

Thanks a lot
Have a nice day




--
===
Jianbin Xiao
http://www.xiaojb.com
=== 
Thanks a lot Jianbin and should apply any special patch for 
courier-imap and authvchkpw authdaemon of this to work properly with 
vpopmail?

or for vpopmail any special patch too for this to work?


Re: [vchkpw] Vpopmail and courier

2007-04-08 Thread Egoitz Aurrekoetxea

Jianbin Xiao wrote:
if you use maildrop as your MDA,you can patch this: 
http://www.xiaojb.com/archives/mailtech/maildrop-vpopmail-authlib.shtml




On 4/9/07, *Egoitz Aurrekoetxea* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Jianbin Xiao wrote:
 It's stable.

 On 4/8/07, *Egoitz Aurrekoetxea* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

 Hi all,

 I wanted to know if vpopmail auth module in courier-imap is
a stable
 project now... some people have told me you can have problems on
 loaded
 servers with this... and to use qmail pop but anyway you should
 use it
 as imap server... and this (using it as pop too) don't have
to patch
 more things on my qmail sources (you know for qmail pop
quota support,
 so Maildir++). So definitely I'm nowadays running vpopmail
5.4.13 and
 courier-imap 4.0.2 and courier-authlib-0.55 this two last
with of
 course
 authvchkpw module... so is this then stable?

 Thanks a lot
 Have a nice day




 --
 ===
 Jianbin Xiao
 http://www.xiaojb.com http://www.xiaojb.com
 ===
Thanks a lot Jianbin and should apply any special patch for
courier-imap
and authvchkpw authdaemon of this to work properly with vpopmail?




--
===
Jianbin Xiao
http://www.xiaojb.com
=== 
Thanks a lot Jianbin Xiao... but what exactly does this patch? have 
taking a look at code... but don't understand it well is this 
relevant for courier-pop and courier-imap to work properly with 
authvhkpw courier authmodule?


thanks a lot mate

Rick the only issue of that tutorial is that it doesn't use mysql and if 
you try to... it would crash you... I suppose because the damn chkuser 
patch works or without smtp auth patch or with this patch but 
authenticating with cdb files thanks a lot you too!


Re: [vchkpw] Vpopmail and courier

2007-04-08 Thread Egoitz Aurrekoetxea

Egoitz Aurrekoetxea wrote:

Jianbin Xiao wrote:
if you use maildrop as your MDA,you can patch this: 
http://www.xiaojb.com/archives/mailtech/maildrop-vpopmail-authlib.shtml




On 4/9/07, *Egoitz Aurrekoetxea* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Jianbin Xiao wrote:
 It's stable.

 On 4/8/07, *Egoitz Aurrekoetxea* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
wrote:


 Hi all,

 I wanted to know if vpopmail auth module in courier-imap is
a stable
 project now... some people have told me you can have 
problems on

 loaded
 servers with this... and to use qmail pop but anyway you 
should

 use it
 as imap server... and this (using it as pop too) don't have
to patch
 more things on my qmail sources (you know for qmail pop
quota support,
 so Maildir++). So definitely I'm nowadays running vpopmail
5.4.13 and
 courier-imap 4.0.2 and courier-authlib-0.55 this two last
with of
 course
 authvchkpw module... so is this then stable?

 Thanks a lot
 Have a nice day




 --
 ===
 Jianbin Xiao
 http://www.xiaojb.com http://www.xiaojb.com
 ===
Thanks a lot Jianbin and should apply any special patch for
courier-imap
and authvchkpw authdaemon of this to work properly with vpopmail?




--
===
Jianbin Xiao
http://www.xiaojb.com
=== 
Thanks a lot Jianbin Xiao... but what exactly does this patch? have 
taking a look at code... but don't understand it well is this 
relevant for courier-pop and courier-imap to work properly with 
authvhkpw courier authmodule?


thanks a lot mate

Rick the only issue of that tutorial is that it doesn't use mysql and 
if you try to... it would crash you... I suppose because the damn 
chkuser patch works or without smtp auth patch or with this patch but 
authenticating with cdb files thanks a lot you too!

ONLY PLESK KNOWS THE SECRET OF CHKUSER AND VPOPMAIL WITH MYSQL LOL