Re: [vchkpw] vpopmail postfix devel mailing list / calling all experts

2004-10-01 Thread manvendra bhangui
On Fri, 1 Oct 2004 00:11:21 -0500, Jeremy Kitchen [EMAIL PROTECTED] wrote:
 Due to recent displays of interest for vpopmail/postfix integration on this

I wrote a postfix wrapper for vdelivermail 1.5 years ago. With the
wrapper you can use either qmail or postfix with vpopmail. Also the
wrapper does not require qmail to be installed.

Some postfix error code from sys_exits.h could have changed. If any
one wants to hack the code below, they are free do do. Also like any
other free software, my code comes
without warranty or obligations. I also claim no copyrights, etc. You
are free to do anything with the code (except to involve me). If you
do something useful with the code, let me know :)

1. Edit main.cf and master.cf (assuming you have installed and
configured postfix)

Have the following in main.cf

local_transport = vdel
vdel_destination_recipient_limit = 1

Have the following line in master.cf (mind the line wrap)
vdel unix  -   n   n   -   100   pipe 
 flags=Fq. user=vpopmail argv=/var/vpopmail/bin/postdel -u $user -d
$recipient -r $sender

2. Compile postdel.c
   gcc postdel.c -s -O -o postdel
   cp postdel /var/vpopmail/bin

I used to use it on production before I switched back to qmail.


postdel.c.gz
Description: GNU Zip compressed data


[vchkpw] HELP! Upgrading to Mysql 4.1 problem

2004-10-01 Thread adam
I've just upgraded to mysql 4.1. Now vpopmail can't find the
libmysqlclient.so.12 library. When accessing the db I get the error:

error while loading shared libraries: libmysqlclient.so.12: cannot open
shared object file: No such file or directory

I reconfigured and re-compiled vpopmail with original config etc. with no
luck.

Please help!

ron



[vchkpw] migration from 4.9 to 5.4+mysql

2004-10-01 Thread Eduardo Cortés
Hi all,
I want to migrate some domains from vpopmail 4.9.10 (with cdb) to latest 5.4 
with mysql. On 5.2 versions, crypt passwords from 4.9 are valid on new 
installations with md5, but on mysql it seems to fail (I has replaced 
pw_passwd field with the encrypted password from vpasswd file and it fail to 
auth), how can I migrate passwords from 4.9 to mysql? All passwords are  
encrypted, any solution?
Regards,
Eduardo


Re: [vchkpw] migration from 4.9 to 5.4+mysql

2004-10-01 Thread Eduardo Cortés
vconvert is the solution, sorry
El Viernes, 1 de Octubre de 2004 16:52, Eduardo Cortés escribió:
 Hi all,
 I want to migrate some domains from vpopmail 4.9.10 (with cdb) to latest
 5.4 with mysql. On 5.2 versions, crypt passwords from 4.9 are valid on new
 installations with md5, but on mysql it seems to fail (I has replaced
 pw_passwd field with the encrypted password from vpasswd file and it fail
 to auth), how can I migrate passwords from 4.9 to mysql? All passwords are
 encrypted, any solution?
 Regards,
 Eduardo


Re: [vchkpw] migration from 4.9 to 5.4+mysql

2004-10-01 Thread Eduardo Cortés
but authentication fail, what's wrong?
El Viernes, 1 de Octubre de 2004 17:32, Eduardo Cortés escribió:
 vconvert is the solution, sorry

 El Viernes, 1 de Octubre de 2004 16:52, Eduardo Cortés escribió:
  Hi all,
  I want to migrate some domains from vpopmail 4.9.10 (with cdb) to latest
  5.4 with mysql. On 5.2 versions, crypt passwords from 4.9 are valid on
  new installations with md5, but on mysql it seems to fail (I has replaced
  pw_passwd field with the encrypted password from vpasswd file and it fail
  to auth), how can I migrate passwords from 4.9 to mysql? All passwords
  are encrypted, any solution?
  Regards,
  Eduardo


Re: [vchkpw] HELP! Upgrading to Mysql 4.1 problem

2004-10-01 Thread Robin Bowes

On Fri, October 1, 2004 14:10, [EMAIL PROTECTED] said:
 I've just upgraded to mysql 4.1. Now vpopmail can't find the
 libmysqlclient.so.12 library. When accessing the db I get the error:

 error while loading shared libraries: libmysqlclient.so.12: cannot open
 shared object file: No such file or directory

 I reconfigured and re-compiled vpopmail with original config etc. with no
  luck.

Ron,

You need to install the shared compatibility libraries.

For example, on my Fedora Core 2 box:

[EMAIL PROTECTED] opt]# rpm -qi MySQL-shared-compat
Name: MySQL-shared-compat  Relocations: (not relocatable)
Version : 4.1.4 Vendor: MySQL AB
Release : 0 Build Date: Tue 31 Aug 2004
11:38:37
BST
Install Date: Sun 05 Sep 2004 19:40:15 BST  Build Host: build.mysql.com
Group   : Applications/DatabasesSource RPM:
MySQL-shared-compat-4.1.4-0.nosrc.rpm
Size: 2697506  License: GPL
Signature   : DSA/SHA1, Tue 31 Aug 2004 11:39:18 BST, Key ID 8c718d3b5072e1f5
Packager: Lenz Grimmer [EMAIL PROTECTED]
URL : http://www.mysql.com/
Summary : MySQL shared libraries for MySQL 4.1.4 and 3.23.58
Description :
This package includes the shared libraries for both MySQL 3.23.58 and
MySQL 4.1.4. Install this package instead of MySQL-shared, if you
have applications installed that are dynamically linked against MySQL
3.23.xx but you want to upgrade to MySQL 4.0.xx without breaking the library
dependencies.

R.
--
http://robinbowes.com