[vchkpw] Vpopmail and local users

2007-09-18 Thread shacky
Hi.
I'm using Qmail with Vpopmail to manage some e-mail virtual domains
and users with no problem.
I need to manage the local users too, with the Maildir support.
How I configure Vpopmail to use the local users too?

Thank you very much!
Bye.


Re: [vchkpw] Mysql table

2007-09-18 Thread Rick Widmer



mlist wrote:

Hello,

I'm upgrading vpopmail to version 5.4.21.  The documentation states that 
I need to alter some tables.



ALTER TABLE `dir_control` CHANGE `pw_domain` `pw_domain` CHAR(96) NOT NULL;
ALTER TABLE `ip_alias_map` CHANGE pw_domain pw_domain CHAR(96) NOT NULL;

...

I read on a previous post that I actually need to change the 'domain' 
columns (instead of 'pw_domain') - however, I'm running into one 
problem.  I compiled with --disable-many-domains and my domain tables do 
not have a 'pw_domain' nor a 'domain' column.  What am I missing here?  
Any help is appreciated.



If you were starting from scratch, I would recommend not using 
--disable-many-domains, as I believe it is more efficient to have a 
single table with all data, and don't really like the idea of vpopmail 
adding tables when domains are created or having to delete them when the 
domain is removed.  Its probably too late for that now...


Please try creating a domain with a long name, up around 80-90 
characters long.  Then try to add a user, delete that user then delete 
that domain.  If it all works, you are in good shape and I'll change the 
note in INSTALL to say you don't have to do anything special if you are 
using --disable-many-domains.  If you have problems, let me know what 
happens and I'll figure something out.  I expect it will probably work.


Rick


[vchkpw] shupp clamav hi cpu

2007-09-18 Thread Remo Mattei
Hello, I just wonder if someone had the same problem I had with 90.2
clamav on hi cpu also I had the problem that it same ERROR need a full
path after clamav started. I found a patch for that and I have applied
the shupp's patch to 90.3 and now the load is low.

Just my 2 cents.

Remo Mattei
Network Security


Re: [vchkpw] Vpopmail and local users

2007-09-18 Thread John Simpson

On 2007-09-18, at 1513, shacky wrote:


I'm using Qmail with Vpopmail to manage some e-mail virtual domains
and users with no problem.
I need to manage the local users too, with the Maildir support.
How I configure Vpopmail to use the local users too?


migrate the local users' mailboxes over to vpopmail.

make sure you remove the domain name from the locals file- and if  
that leaves you with an empty locals file, make sure you still HAVE  
a locals file, even if it's zero bytes. otherwise, the code in  
qmail-send which reads the locals file will read the me file  
instead, and use that name as a local domain, and vpopmail won't  
work for that domain name.



| John M. Simpson---   KG4ZOW   ---Programmer At Large |
| http://www.jms1.net/ [EMAIL PROTECTED] |

| http://video.google.com/videoplay?docid=-1656880303867390173 |





PGP.sig
Description: This is a digitally signed message part


Re: [vchkpw] vpopmail 5.4.22 breaks qmailadmin 1.2.X

2007-09-18 Thread John Simpson

On 2007-09-17, at 1751, Jeremy Kister wrote:

On 9/17/2007 5:28 PM, John Simpson wrote:


which reminds me... how about a patch to change the maximum  
password  length to a more realistic limit? i've been doing this  
for several  years, after applying patches but before running ./ 
configure...


Also, since only the first eight characters of a password matter on  
Solaris  10 (or any DES vs MD5), perhaps there should be a maximum  
limit of 8 when using --disable-md5-passwords.  This way, users who  
think [EMAIL PROTECTED]:: is a secure password are enlightened.


good idea. i just wrote a patch to do both items.

sourceforge has it as #1797464, or you can also download it from my  
web site.


http://qmail.jms1.net/vpopmail/#passlen

my one concern is this- i would rather see the decision of 128 or 8  
happen within vpopmail.h. my first thought was to just add an #ifdef  
around the #define MAX_PW_CLEAR_PASSWD line in vpopmail.h, but the  
MD5_PASSWORDS flag that i would use as a test, is defined within  
config.h, and i don't know if it would break anything to include  
config.h within vpopmail.h. i doubt it would affect anything within  
vpopmail, but how many other packages out there (qmailadmin, courier- 
authlib, etc.) use vpopmail.h as part of their compile process, and  
also have a config.h file in their source code?


so what i did is added the #ifdef block at the top of vpopmail.c,  
after both vpopmail.h and config.h have been included. this works,  
and for now it's safe because vpopmail.c is the only file which  
actually uses MAX_PW_CLEAR_PASSWD. however, if some future version of  
vpopmail uses this value in a different source file, that source file  
would need the same #ifdef block at the top. finding a way to  
safely add that #ifdef to vpopmail.h itself would solve this  
potential problem.



| John M. Simpson---   KG4ZOW   ---Programmer At Large |
| http://www.jms1.net/ [EMAIL PROTECTED] |

| http://video.google.com/videoplay?docid=-1656880303867390173 |





PGP.sig
Description: This is a digitally signed message part


Re: [vchkpw] vpopmail 5.4.22 breaks qmailadmin 1.2.X

2007-09-18 Thread Joshua Megerman

 On 2007-09-17, at 1751, Jeremy Kister wrote:
 good idea. i just wrote a patch to do both items.

 sourceforge has it as #1797464, or you can also download it from my
 web site.

   http://qmail.jms1.net/vpopmail/#passlen

I think you want it to be an #ifndef, not a #ifdef (I'm not looking at the
code right now, and I'm about to walk out the door to go home), a your
patch (I think) forces an 8-character limit if you _are_ using MD5, rather
than if you're not...

Other than that, looks reasonable (and appropriate).

Josh

Joshua Megerman
SJGames MIB #5273 - OGRE AI Testing Division
You can't win; You can't break even; You can't even quit the game.
  - Layman's translation of the Laws of Thermodynamics
[EMAIL PROTECTED]