Re: Corrections to QMail + VPopMail 4.10.30

2001-09-03 Thread Bill Shupp

on 9/3/01 8:48 PM, Vladimir Kabanov at [EMAIL PROTECTED] spake:

> Hi friends!
> 
> I guess Inter7 command being ignoring my corrections made to vpopmail and
> offered to them to be implemented in next releases. Ok, thats only their
> business.
> I will not be bothering them anymore.
> 
> All corrections tested and work as expected.
> 
> New features you will find here: (some of them based on someone patches found
> in Net)
> 
> 
> Implemented features:
> pop3 capa
> pop3 auth login & cram-md5
> smtp auth login & cram-md5
> pop3 APOP.
> possibilty to store password hashes in SHA-1 format (after import from other
> packets,   vadduser username "{SHA}hash" )
> 
> Universal vchkpw, capable to handle pop3, imap, smtp AUTH requests from qmail
> and courier-imap
> As requested by Nikolai Dahlem, today I add posibilty to block certain users
> from using smtp. (SMTP access denied, like POP3 & IMAP,  see vmoduser).
> 
> As for Courier -- there is no more need to use authvchkpw with all they
> strange schemas, u may use plain or cram-md5 for imap and pop3 too.
> 
> Unified logging to represent protocol and authentication schema.
> and guess something more, just dont remember.
> 
> So, if u wish to try these corrections, sources available at
> http://opti.vvsu.ru/qmail/qmail+vpopmail.tar.gz (if some problems with name,
> try 212.16.195.250).
> Corrections to vpopmail made on VPopMail 4.10.30.
> I dont support their new versions cause of their attitude.

Vladimir,

Thanks for your efforts.

I would try not to be discouraged that your changes have not been integrated
into vpopmail yet.  Ken mentioned to me off-list that he's very interested
in your additions.  Inter7 probably just have not had time to integrate/test
them.  One thing that's helpful is to submit a patch, rather than complete
source or even individual files, as it's easier to see what your changes are
and to migrate/merge them with newer source.

Regarding your attachments, I can compile qmail successfully, but not
vpopmail 4.10.30.  Here's the output:

[root@data vpop.4.10.30]# make
make  all-recursive
make[1]: Entering directory `/var/src/vlad/vpop.4.10.30'
Making all in cdb
make[2]: Entering directory `/var/src/vlad/vpop.4.10.30/cdb'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/src/vlad/vpop.4.10.30/cdb'
make[2]: Entering directory `/var/src/vlad/vpop.4.10.30'
gcc -I. -Icdb  -g -O2 -Wall -c vpopmail.c
In file included from /usr/include/sys/wait.h:79,
 from vpopmail.c:30:
/usr/include/bits/waitstatus.h:78: duplicate member `__w_retcode'
/usr/include/bits/waitstatus.h:79: duplicate member `__w_coredump'
/usr/include/bits/waitstatus.h:80: duplicate member `__w_termsig'
/usr/include/bits/waitstatus.h:92: duplicate member `__w_stopsig'
/usr/include/bits/waitstatus.h:93: duplicate member `__w_stopval'
In file included from functions.c:4,
 from vpopmail.c:42:
sha1.c: In function `SHA1_Transform':
sha1.c:290: `q' undeclared (first use in this function)
sha1.c:290: (Each undeclared identifier is reported only once
sha1.c:290: for each function it appears in.)
sha1.c:291: `i' undeclared (first use in this function)
make[2]: *** [vpopmail.o] Error 1
make[2]: Leaving directory `/var/src/vlad/vpop.4.10.30'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/src/vlad/vpop.4.10.30'
make: *** [all-recursive-am] Error 2


This is a RH Linux 7.1 system with gcc version 2.96 2731 (Red Hat Linux
7.1 2.96-81)

I've made diffs for your qmail and vpopmail changes.  Let me know if you (or
anyone) want them.  Looks like your qmail source already has several other
patches applied, so that diff has those changes too.  Perhaps you could
document them so that that we can figure out what changes are yours against
qmail-1.03?  Also, the vpopmail-4.10.30 diff doesn't apply cleanly to the
newer versions, and I don't have time right now to migrate them.  If someone
else does, that would be great.

Cheers,

Bill Shupp




Corrections to QMail + VPopMail 4.10.30

2001-09-03 Thread Vladimir Kabanov

Hi friends!

I guess Inter7 command being ignoring my corrections made to vpopmail and offered to 
them to be implemented in next releases. Ok, thats only their business.
I will not be bothering them anymore.

All corrections tested and work as expected.

New features you will find here: (some of them based on someone patches found in Net)


Implemented features:
pop3 capa
pop3 auth login & cram-md5
smtp auth login & cram-md5
pop3 APOP.
possibilty to store password hashes in SHA-1 format (after import from other packets,  
 vadduser username "{SHA}hash" )

Universal vchkpw, capable to handle pop3, imap, smtp AUTH requests from qmail and 
courier-imap
As requested by Nikolai Dahlem, today I add posibilty to block certain users from 
using smtp. (SMTP access denied, like POP3 & IMAP,  see vmoduser).

As for Courier -- there is no more need to use authvchkpw with all they strange 
schemas, u may use plain or cram-md5 for imap and pop3 too.

Unified logging to represent protocol and authentication schema.
and guess something more, just dont remember.

So, if u wish to try these corrections, sources available at 
http://opti.vvsu.ru/qmail/qmail+vpopmail.tar.gz (if some problems with name, try 
212.16.195.250). 
Corrections to vpopmail made on VPopMail 4.10.30.
I dont support their new versions cause of their attitude.

Of course u may use it or may not -- just your decision.
In any way, I wish you good luck!

_

Vladimir Kabanov,
Vladivostok, Russia.