Re: [vchkpw] Log errors

2003-10-28 Thread Justin Heesemann
On Tuesday 28 October 2003 02:05, Ryan Burton wrote:
> Hey all, I was wondering if someone could help me out with this error
> in
 my log files.  Thanks!

looks like a qmail error, not a vpopmail one.
what's your .qmail-default file, and your /var/qmail/users/assign file 
showing? is blasted.602global.com in your virtual domain list?

> 
> Oct 27 19:51:47 blasted qmail: 1067302307.787823 starting delivery
> 16:
 msg 5496023 to local [EMAIL PROTECTED]
> Oct 27 19:51:47 blasted qmail: 1067302307.787871 status: local 1/10
> remote 0/20
> Oct 27 19:51:47 blasted qmail: 1067302307.789805 delivery 16:
> deferral:
 Temporary_error_on_maildir_delivery._(#4.3.0)/
> Oct 27 19:51:47 blasted qmail: 1067302307.789856 status: local 0/10
> remote 0/20


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



[vchkpw] squirrelmail installation with vpopmail

2003-10-28 Thread Tanmaya Anand



hi all,
 
I have a Redhat  Linux system running 
qmail+vpopmail+sqwebmail.
I also want to install squirrelmail on 
it.
Can anyone suggest me some quick install 
steps,
such that the existing system is not 
disturbed.
 
Regards,
Tanmaya Anand


Re: [vchkpw] squirrelmail installation with vpopmail

2003-10-28 Thread Davide Giunchi
Il 10:17, martedì 28 ottobre 2003, Tanmaya Anand ha scritto:
> hi all,
>
> I have a Redhat  Linux system running qmail+vpopmail+sqwebmail.
> I also want to install squirrelmail on it.
> Can anyone suggest me some quick install steps,
> such that the existing system is not disturbed.

There's no particular step, you need to install courier-imap (because squirrel 
use imap), then you need to follow the normal installation steps explained in 
the squirrel doc.

Regards.

-- 
Davide Giunchi




RE: [vchkpw] Log errors

2003-10-28 Thread Ryan Burton
I don't have a .qmail-default.  
I fixed it though, I just put a valid e-mail address in the .qmail-root
file, and it started sending out e-mails.  I guess they were errors
trying to be sent out, but had no where valid to go.  Thanks for the
help!

Ryan.

-Original Message-
From: Justin Heesemann [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 28, 2003 4:16 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Log errors

On Tuesday 28 October 2003 02:05, Ryan Burton wrote:
> Hey all, I was wondering if someone could help me out with this error
> in
 my log files.  Thanks!

looks like a qmail error, not a vpopmail one.
what's your .qmail-default file, and your /var/qmail/users/assign file 
showing? is blasted.602global.com in your virtual domain list?

> 
> Oct 27 19:51:47 blasted qmail: 1067302307.787823 starting delivery
> 16:
 msg 5496023 to local [EMAIL PROTECTED]
> Oct 27 19:51:47 blasted qmail: 1067302307.787871 status: local 1/10
> remote 0/20
> Oct 27 19:51:47 blasted qmail: 1067302307.789805 delivery 16:
> deferral:
 Temporary_error_on_maildir_delivery._(#4.3.0)/
> Oct 27 19:51:47 blasted qmail: 1067302307.789856 status: local 0/10
> remote 0/20


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





[vchkpw] Vconvert failure

2003-10-28 Thread Paolo Losi
Hi all,
	I'm trying to convert a 5.2 cdb installation to a 5.2.1 mysql installation. 
I've tried to use vconvert tools but it fails.

[root mail] ~/vpopmail-5.2.1# ./vconvert -c -m foo.it
converting foo.it
domain deleted
domain created
opening /usr/local/vpopmail/domains/foo.it/vpasswd
domain conversion failed
NOTE: I've added some debugging printf's.

It basically fails to open vpasswd file because that
file doesn't exist! The file is in:
/usr/local/vpopmail/domains/1/foo.it/vpasswd

I've seen that the do_all_domains scan the domains directory
but doesn't analyze all the tree (domains/1 dir for example).
I think that vconvert is badly out of date.
Do you have any suggestions (over fixing the code :-) )?
Ciao!
Paolo



[vchkpw] Re: password encryption

2003-10-28 Thread Peter Palmreuther
Hello Jacob,

On Tuesday, October 28, 2003 at 3:43:41 AM you wrote (at least in
part):

>> what style of encryption does vpopmail implement on the passwords that it
>> stores in the sql db?

> The same it uses for .cdb files. Read the archive [1].

> http://bluedot.net/mail/archive/list.php?f=2

>> ITS MD5 by default

What "ITS MD5"??? It's system crypt(3) function by default.
And this one uses a MD5-based algorithm instead of "simple" DES if
available and indicated by the chosen salt.

But all this /is written down in the lists archive/. Guess why I
advised to read it ...
-- 
Best regards
Peter Palmreuther

Virginity is curable if detected early.




Re: [vchkpw] Re: password encryption

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

you wrote, that passwords are stored by vpopmail in a sql database by
"..It's system crypt(3) function.."

 How can I generate it by a linux commandline?

Oliver




> Hello Jacob,
>
> On Tuesday, October 28, 2003 at 3:43:41 AM you wrote (at least in
> part):
>
> >> what style of encryption does vpopmail implement on the passwords
that it
> >> stores in the sql db?
>
> > The same it uses for .cdb files. Read the archive [1].
>
> > http://bluedot.net/mail/archive/list.php?f=2
>
> >> ITS MD5 by default
>
> What "ITS MD5"??? It's system crypt(3) function by default.
> And this one uses a MD5-based algorithm instead of "simple" DES if
> available and indicated by the chosen salt.
>
> But all this /is written down in the lists archive/. Guess why I
> advised to read it ...
> -- 
> Best regards
> Peter Palmreuther
>
> Virginity is curable if detected early.
>
>
>




Re: [vchkpw] Re: password encryption

2003-10-28 Thread Ken Jones
I don't remember exactly, but there is a function in mysql SQL
that allows you to create a unix compatible MD5 password
from the clear text. 

>From mysql documentation:
ENCRYPT(str[,salt]) 

Encrypt str using the Unix crypt() system call. The salt argument should be a 
string with two characters. (As of MySQL Version 3.22.16, salt may be longer 
than two characters.) 

mysql> SELECT ENCRYPT("hello");
-> 'VxuFAJXVARROc'

On Tuesday 28 October 2003 10:36 am, Oliver Etzel - GoodnGo.COM \(R\) wrote:
> Hello Peter, hello all,
>
> you wrote, that passwords are stored by vpopmail in a sql database by
> "..It's system crypt(3) function.."
>
>  How can I generate it by a linux commandline?
>
> Oliver
>
> > Hello Jacob,
> >
> > On Tuesday, October 28, 2003 at 3:43:41 AM you wrote (at least in
> >
> > part):
> > >> what style of encryption does vpopmail implement on the passwords
>
> that it
>
> > >> stores in the sql db?
> > >
> > > The same it uses for .cdb files. Read the archive [1].
> > >
> > > http://bluedot.net/mail/archive/list.php?f=2
> > >
> > >> ITS MD5 by default
> >
> > What "ITS MD5"??? It's system crypt(3) function by default.
> > And this one uses a MD5-based algorithm instead of "simple" DES if
> > available and indicated by the chosen salt.
> >
> > But all this /is written down in the lists archive/. Guess why I
> > advised to read it ...
> > --
> > Best regards
> > Peter Palmreuther
> >
> > Virginity is curable if detected early.




Re: [vchkpw] Re: password encryption

2003-10-28 Thread Oliver Etzel - GoodnGo.COM \(R\)
Hello,

anybody here who knows how to generate a password that  are stored by
vpopmail in a sql database by a Unix commandline?

Oliver





> I don't remember exactly, but there is a function in mysql SQL
> that allows you to create a unix compatible MD5 password
> from the clear text.
>
> From mysql documentation:
> ENCRYPT(str[,salt])
>
> Encrypt str using the Unix crypt() system call. The salt argument
should be a
> string with two characters. (As of MySQL Version 3.22.16, salt may
be longer
> than two characters.)
>
> mysql> SELECT ENCRYPT("hello");
> -> 'VxuFAJXVARROc'
>
> On Tuesday 28 October 2003 10:36 am, Oliver Etzel - GoodnGo.COM
\(R\) wrote:
> > Hello Peter, hello all,
> >
> > you wrote, that passwords are stored by vpopmail in a sql database
by
> > "..It's system crypt(3) function.."
> >
> >  How can I generate it by a linux commandline?
> >
> > Oliver
> >
> > > Hello Jacob,
> > >
> > > On Tuesday, October 28, 2003 at 3:43:41 AM you wrote (at least
in
> > >
> > > part):
> > > >> what style of encryption does vpopmail implement on the
passwords
> >
> > that it
> >
> > > >> stores in the sql db?
> > > >
> > > > The same it uses for .cdb files. Read the archive [1].
> > > >
> > > > http://bluedot.net/mail/archive/list.php?f=2
> > > >
> > > >> ITS MD5 by default
> > >
> > > What "ITS MD5"??? It's system crypt(3) function by default.
> > > And this one uses a MD5-based algorithm instead of "simple" DES
if
> > > available and indicated by the chosen salt.
> > >
> > > But all this /is written down in the lists archive/. Guess why I
> > > advised to read it ...
> > > --
> > > Best regards
> > > Peter Palmreuther
> > >
> > > Virginity is curable if detected early.
>
>
>
>




Re: [vchkpw] Re: password encryption

2003-10-28 Thread Nick Harring




There's no real interface to the crypt() syscall through Bash that I
know of, however if you've got either perl or mysql command line you
can do something like:
mysql -u  -h  -p  -e 'select
encrypt("passwd", "$1$salt")'  The $1$ specifies that it use MD5 if
available. Remove this if you compiled on a system that doesn't support
md5, since vpopmail won't use md5 either then. To find out if you're
using md5, simply look at the password string of one of the existing
accoutns, and if it begins with $1$ then you're using md5, otherwise
its DES.
You can also do 
perl -e 'print crypt("password", "$1$salt");'  The same rules apply to
the string being used as a salt.
For more info see the MySQL manual available at www.mysql.com, or for
the perl function see perldoc -f crypt.
Hope that helps,
Nick Harring
Webley Systems
Oliver Etzel - GoodnGo.COM (R) wrote:

  Hello,

anybody here who knows how to generate a password that  are stored by
vpopmail in a sql database by a Unix commandline?

Oliver





  
  
I don't remember exactly, but there is a function in mysql SQL
that allows you to create a unix compatible MD5 password
from the clear text.

>From mysql documentation:
ENCRYPT(str[,salt])

Encrypt str using the Unix crypt() system call. The salt argument

  
  should be a
  
  
string with two characters. (As of MySQL Version 3.22.16, salt may

  
  be longer
  
  
than two characters.)

mysql> SELECT ENCRYPT("hello");
-> 'VxuFAJXVARROc'

On Tuesday 28 October 2003 10:36 am, Oliver Etzel - GoodnGo.COM

  
  \(R\) wrote:
  
  

  Hello Peter, hello all,

you wrote, that passwords are stored by vpopmail in a sql database
  

  
  by
  
  

  "..It's system crypt(3) function.."

 How can I generate it by a linux commandline?

Oliver

  
  
Hello Jacob,

On Tuesday, October 28, 2003 at 3:43:41 AM you wrote (at least

  

  
  in
  
  

  
part):


  
what style of encryption does vpopmail implement on the

  

  

  
  passwords
  
  

  that it

  
  

  
stores in the sql db?

  
  The same it uses for .cdb files. Read the archive [1].

http://bluedot.net/mail/archive/list.php?f=2

  
  
ITS MD5 by default

  

What "ITS MD5"??? It's system crypt(3) function by default.
And this one uses a MD5-based algorithm instead of "simple" DES

  

  
  if
  
  

  
available and indicated by the chosen salt.

But all this /is written down in the lists archive/. Guess why I
advised to read it ...
--
Best regards
Peter Palmreuther

Virginity is curable if detected early.

  





  
  
  






Re: [vchkpw] Vconvert failure

2003-10-28 Thread Michael Bowe

> Hi all,
> I'm trying to convert a 5.2 cdb installation to a 5.2.1 mysql
installation.
> I've tried to use vconvert tools but it fails.

> I think that vconvert is badly out of date.
> Do you have any suggestions (over fixing the code :-) )?

vpopmail-5.2.2 contains a much newer version of the vconvert utility.

vpopmail-5.2.2 is now the recommended "stable" version to be using (not
vpopmail-5.2.1). The 5.2.2 build includes a number of important bug fixes.

You can get vpopmail-5.2.2 from http://sourceforge.net/projects/vpopmail

Michael.




[vchkpw] mysql and rdist

2003-10-28 Thread Paulo Fragoso
Hi,

We are trying to migrate from file user based (master.passwd on FreeBSD) 
to vpopmail 5.3.29 with mysql backend. We'll try to do a master.passwd 
using data stored by vpopmail in mysql and propagate to other servers 
with rdist.

Why are pw_uid and pw_guid set to zero for all users added with 
vadduser? Have anyone ever tryed this?

Thanks,
Paulo.