Re: [vchkpw] password generation - vpopmail table - pw_passwd

2003-10-24 Thread Oliver Etzel - GoodnGo.COM \(R\)
Hello Remo, hello all,

I know that vadduser will do that, but I want to generate just the
password so that I can insert it
solely into the vpopmail mysl-database.

I other words I don´t want to make ./vadduser ... first, I just want
generate thi user in my database.

Is taht working?

Regs,

Oliver



> Vadduser -r
> With the new version that will generate the passwd for the user.
>
> Remo



> Hello list,
>
> I have vpopmail -with-mysql installation.
>
> In which way passwords are storedin the vpopmail table under
> pw_passwd?
>
> How can I generate such passwords from commandline?
>
> Regs,
> Oliver Etzel





[vchkpw] Error on domain creation

2003-10-24 Thread Franck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hello all,

I have a problem with vqadmin 2.3.5 and vpopmail 5.3.28 on domain creation.
I have this error : Failure while attempting to remove_line() the locals file 
Error. Failed to add domain to assign file


 drwxr-xr-x2 root qmail 128 Oct 24 12:23 ./
drwxr-xr-x   13 root qmail 384 Oct 22 17:13 ../
- -rw-r--r--1 root root  265 Oct 24 12:23 assign
- -rw---1 root root0 Oct 24 12:23 assign.lock
- -rw-r--r--1 root root 2420 Oct 24 12:23 cdb

What's the solution please ???

- -- 
Franck

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

iD8DBQE/mP6S1zwfep5k9qERAhPfAJ9V/dbymUPy/ehumScnoCVtJzSNrQCggrOY
o4/4PEbIcA+vKuEkgZ9XuIU=
=FRNP
-END PGP SIGNATURE-




[vchkpw] [OT?] QmailAdmin and Ezmlm-idx

2003-10-24 Thread Jacob S.
Sorry if this is the wrong list... I couldn't find an appropriate list
for qmailadmin and the ezmlm list will only tell you that you shouldn't
be using a web interface. :-)

After successfully troubleshooting a couple of problems, I've now got
ezmlm-idx installed and delivering mail just fine, but it doesn't seem
to be recognizing the options for a moderated list and posting by
members only. If I do an ls-l on
~vpopmail/domains/domain_name/list_name/ before and after I change
options using qmailadmin, I can see the timestamp updated, but ezmlm-idx
still doesn't restrict posting or hold the message for moderator
approval.

When I applied the idx patches to ezmlm it didn't give me any errors or
anything indicating there was a problem. Is there something I'm missing?

TIA,
Jacob

- 
GnuPG Key: 1024D/16377135

I prefer an OS made by programmers that need marketing that an OS made
by marketing that need programmers... http://www.linux.org


pgp0.pgp
Description: PGP signature


Re: [vchkpw] Problems with 5.3.29

2003-10-24 Thread Martin Kos
hi tom!

already gone?

i have a problem with the pop auth... i get for every user a "pop
access denied".. it's not apop. i have compiled without the
roaming-user option.

greets
 Martin
-- 
Martin Kos Handy +41-76-384-93-33
http://kos.li/ICQ# 13556143Fax +49-89-244-323-681
  Say NO to HTML in mail
   Proudly running Debian GNU/Linux. See http://www.debian.org/



Re: [vchkpw] Problems with 5.3.29

2003-10-24 Thread Justin Heesemann
On Saturday 25 October 2003 01:45, Martin Kos wrote:
> hi tom!
> 
> already gone?
> 
> i have a problem with the pop auth... i get for every user a "pop
> access denied".. it's not apop. i have compiled without the
> roaming-user option.

even when you telnet to 110?
please give us the exact error message, and provide us with some more 
information about your setup (mysql/cdb/...?)
> 

-- 
Mit internetten Grüßen / Best Regards
---
Justin Heesemannionium Technologies
[EMAIL PROTECTED]www.ionium.org




Re: [vchkpw] Problems with 5.3.29

2003-10-24 Thread Martin Kos
On Sat, 25 Oct 2003, Justin Heesemann wrote:

>even when you telnet to 110?
yes

vchkpw-pop3: pop access denied [EMAIL PROTECTED]:10.1.0.13

>please give us the exact error message, and provide us with some
>more information about your setup (mysql/cdb/...?)
i'm using vpopmail with mysql.

i have compiled vpopmail with:

./configure --enable-apop=y --enable-mysql=y
--enable-learn-passwords=y --enable-logging=v
--enable-mysql-logging=y --enable-auth-logging=y
--enable-libdir=/usr/lib

i'll try to disable apop and see what happens.

greets
 Martin
-- 
Martin Kos Handy +41-76-384-93-33
http://kos.li/ICQ# 13556143Fax +49-89-244-323-681
  Say NO to HTML in mail
   Proudly running Debian GNU/Linux. See http://www.debian.org/



Re: [vchkpw] password generation - vpopmail table - pw_passwd

2003-10-24 Thread Justin Heesemann
On Friday 24 October 2003 10:57, Oliver Etzel - GoodnGo.COM (R) wrote:
> Hello Remo, hello all,
> 
> I know that vadduser will do that, but I want to generate just the
> password so that I can insert it
> solely into the vpopmail mysl-database.
> 
> I other words I don´t want to make ./vadduser ... first, I just want
> generate thi user in my database.


basically vpopmail uses your systems crypt function.
just have a look at the other passwords created by the vpasswd function.
do they start with "$1$" ? then they are probably md5 crypted passwords.
if they don't, then they are probably normal des crypted passwords. (you 
can check that with 
`grep MD5_PASSWORDS /path/to/vpopmail/source/config.h`)
i don't now if you are using php or anything like that, but most 
languages support some kind of crypt() call.


-- 
Mit internetten Grüßen / Best Regards
---
Justin Heesemannionium Technologies
[EMAIL PROTECTED]www.ionium.org




Re: [vchkpw] Problems with 5.3.29

2003-10-24 Thread Justin Heesemann
On Saturday 25 October 2003 02:04, Martin Kos wrote:
> On Sat, 25 Oct 2003, Justin Heesemann wrote:
> 
>
> >even when you telnet to 110?
>
> yes
> 
> vchkpw-pop3: pop access denied [EMAIL PROTECTED]:10.1.0.13
> 
>
> >please give us the exact error message, and provide us with some
> >more information about your setup (mysql/cdb/...?)
>
> i'm using vpopmail with mysql.
> 
> i have compiled vpopmail with:
> 
> ./configure --enable-apop=y --enable-mysql=y
> --enable-learn-passwords=y --enable-logging=v
> --enable-mysql-logging=y --enable-auth-logging=y
> --enable-libdir=/usr/lib
> 
> i'll try to disable apop and see what happens.

and which version did you update from?
are you still able to add new users/domains ?

-- 
Mit internetten Grüßen / Best Regards
---
Justin Heesemannionium Technologies
[EMAIL PROTECTED]www.ionium.org




Re: [vchkpw] Problems with 5.3.29

2003-10-24 Thread Martin Kos
On Sat, 25 Oct 2003, Justin Heesemann wrote:

> and which version did you update from?
.27 or .28, i'm not sure :-(

> are you still able to add new users/domains ?
yes, works just fine. but i can't login via POP with the new
created user :-(

i've tried to do a fresh compile withou apop, but that doesn't
make a difference.

 Martin
-- 
Martin Kos Handy +41-76-384-93-33
http://kos.li/ICQ# 13556143Fax +49-89-244-323-681
  Say NO to HTML in mail
   Proudly running Debian GNU/Linux. See http://www.debian.org/



[vchkpw] Re: password generation - vpopmail table - pw_passwd

2003-10-24 Thread Paul L. Allen

Justin Heesemann writes:

> i don't now if you are using php or anything like that, but most 
> languages support some kind of crypt() call.

It is debatable what level of entropy is required for the salt when
generating a password for vpopmail use.

If you want maximum security, and already require the use of only
the SSL forms of POP, IMAP and webmail access, and are completely
paranoid that some rogue system user might just somehow find a loophole
that allows access to the MySQL database, then you probably want 
high-entropy salt.  But don't forget to switch off the "plain text
password" feature.

If you have the "plain text password" feature enabled, then you
probably don't run a server belonging to the US military, the CIA
or the NSA.  You probably trust all your system users sufficiently
and/or you are not too worried about passwords being stolen because
you know your users will choose incredibly stupid passwords that
crack can find in a couple of minutes.  Basically, if you have plain
text passwords enabled the entropy of the salt is irrelevant and you
might as well use the same DES-style salt for each password.

Nevertheless, there is a simple way of generating crypted passwords
which just happens to have reasonably high-entropy salt (assuming the
people who wrote certain portions of your flavour of Unix were competent)
which is appropriate in either situation.  Create a system user without 
shell access.  Use passwd to set that user's password.  Copy the crypted
password in /etc/shadow into your MySQL table.  It's relatively painless
to do and guarantees good entropy on the salt if you happen to need it.
You could even automate it with a little perl if you're feeling lazy.

Which reminds me.  I haven't got around to playing with the newer
vpopmails with password generation (the release I'm using does everything
I must have while later releases have bugs in areas that affect the
must-have stuff).  Does it use /dev/random or /dev/urandom if available?
Does it use a sensible method of reducing the 0-255 range that
/dev/random or /dev/urandom or rand() (spit) return into the salt
range or does it do something silly that biases the results?  If Knuth's
descriptions of his algorithms for mapping random bytes to a reduced range
leave you with brain-ache (they do me) then simply discarding any byte
outside the range and getting another one is a reasonable approach with
/dev/random and /dev/urandom.

-- 
Paul Allen
Softflare Support




Re: [vchkpw] [OT?] QmailAdmin and Ezmlm-idx

2003-10-24 Thread Tom Collins
On Friday, October 24, 2003, at 11:29  AM, Jacob S. wrote:
After successfully troubleshooting a couple of problems, I've now got
ezmlm-idx installed and delivering mail just fine, but it doesn't seem
to be recognizing the options for a moderated list and posting by
members only. If I do an ls-l on
~vpopmail/domains/domain_name/list_name/ before and after I change
options using qmailadmin, I can see the timestamp updated, but 
ezmlm-idx
still doesn't restrict posting or hold the message for moderator
approval.
What version of qmailadmin?  1.0.12 (I think) is the first with an 
improved interface for setting mailing lists options, and definitely 
works for setting up moderated mailing lists.  1.0.6 required that you 
set a few options correctly for moderated lists to work right.

By the way, your message should have been posted to 
[EMAIL PROTECTED]

--
Tom Collins  -  [EMAIL PROTECTED]
Note: The Tom Logic offices will be closed October 23 to November 18.
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Re: [vchkpw] Problems with 5.3.29

2003-10-24 Thread Tom Collins
On Friday, October 24, 2003, at 04:45  PM, Martin Kos wrote:
already gone?
Yes, but my hotel has high-speed Internet, so I can spend a few minutes 
catching up on email (but not working on code).

i have a problem with the pop auth... i get for every user a "pop
access denied".. it's not apop. i have compiled without the
roaming-user option.
If you use Courier-IMAP, did you recompile it after installing the new 
vpopmail?

Is anyone out there successfully making POP connections with 5.3.29?

--
Tom Collins  -  [EMAIL PROTECTED]
Note: The Tom Logic offices will be closed October 23 to November 18.
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Re: [vchkpw] Error on domain creation

2003-10-24 Thread Tom Collins
On Friday, October 24, 2003, at 03:27  AM, Franck wrote:
I have a problem with vqadmin 2.3.5 and vpopmail 5.3.28 on domain 
creation.
I have this error : Failure while attempting to remove_line() the 
locals file
Error. Failed to add domain to assign file
Can the user vqadmin runs as make changes to the 
/var/qmail/control/locals and control/assign files?  Can that user 
create files in the control directory?

--
Tom Collins  -  [EMAIL PROTECTED]
Note: The Tom Logic offices will be closed October 23 to November 18.
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



[vchkpw] Compile Error With Mysql

2003-10-24 Thread kengheng
Hello All,
  I'm compiling vpopmail-5.3.29 with mysql 4.0.16, and I gor this
  error message during make:
  
gcc -I. -I/usr/local/mysql/include  -I. -I. -I. -g -O2 -Wall -c `test -f 'vauth.c' 
|| echo './'`vauth.c
vauth.c:33:19: mysql.h: No such file or directory
vauth.c:40: error: parse error before "mysql_update"
vauth.c:40: warning: type defaults to `int' in declaration of `mysql_update'
vauth.c:40: warning: data definition has no type or storage class
vauth.c:41: error: parse error before "mysql_read_getall"
..
..
..

Got Any Ideas?

-- 
Best regards,
kengheng
SQL DotCOM
http://www.mysql.cc
mailto:[EMAIL PROTECTED]