Jeremy Kitchen | 1 Oct 07:11 2004

vpopmail postfix devel mailing list / calling all experts

Howdy folks,

Due to recent displays of interest for vpopmail/postfix integration on this 
and other mailing lists, I have decided to take on the task of figuring out 
exactly how one might do it.  Unfortunately, I am not completely up to par on 
my postfix knowledge (read: noob), so I've decided to set up a mailing list 
for discussion of postfix/vpopmail integration.

The mailing list address is vchkpw-pf-dev <at> inter7.com, and you can subscribe by 
sending an email to vchkpw-pf-dev-subscribe <at> inter7.com

I have a few ideas of how it might be done, however they all seem rather 
'hackish' and I'd like to get input from people who are more knowledgable 
about the subect than I.  If you're interested in helping with the 
development of vpopmail postfix support, please join :)  I will probably wait 
until monday after I have read some more documentation and thrown some 
designs together before I post any of my own ideas  to the list, however, 
feel free to break the ice and start discussing how you think it should be 
done :)

In the end, I'm sure there will be a lot of new code written... certain things 
that will need to change (however, backward compatibility and MTA portability 
are my #1 concern) .. and a lot of time spent, however, I believe this will 
be very positive for the community and help to spread the use of vpopmail 
around the internet community.

Thanks, and I hope to see some people on the list :)

-Jeremy

(Continue reading)

Amit khatri | 1 Oct 07:23 2004

Re: [vchkpw] Problem using pw_gid, pw_uid


>> can anybody tell me that, is their exist any document which can tell 
>> me which digit in gid is used for what permission.
>
>Looking in the source code, you'll find the following in vpopmail.h
>
>/* gid flags */
>#define NO_PASSWD_CHNG 0x01
>#define NO_POP         0x02
>#define NO_WEBMAIL     0x04
>#define NO_IMAP        0x08
>#define BOUNCE_MAIL    0x10
>#define NO_RELAY       0x20
>#define NO_DIALUP      0x40
>#define V_USER0       0x080
>#define V_USER1       0x100
>#define V_USER2       0x200
>#define V_USER3       0x400
>#define NO_SMTP       0x800
>#define QA_ADMIN     0x1000
>#define V_OVERRIDE   0x2000
>
Thanks for this help. 
This is really useful info.

Can u tell me what is uid & how can we use it.
& why dir_control table is used.

Regards
Amit
(Continue reading)

manvendra bhangui | 1 Oct 09:01 2004
Picon

Re: vpopmail postfix devel mailing list / calling all experts

On Fri, 1 Oct 2004 00:11:21 -0500, Jeremy Kitchen <jeremy <at> inter7.com> 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
(Continue reading)

adam | 1 Oct 15:10 2004
Picon

HELP! Upgrading to Mysql 4.1 problem

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

Eduardo Cortés | 1 Oct 16:52 2004

migration from 4.9 to 5.4+mysql

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

Eduardo Cortés | 1 Oct 17:32 2004

Re: migration from 4.9 to 5.4+mysql

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

Eduardo Cortés | 1 Oct 17:36 2004

Re: migration from 4.9 to 5.4+mysql

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

Robin Bowes | 1 Oct 19:48 2004

Re: HELP! Upgrading to Mysql 4.1 problem


On Fri, October 1, 2004 14:10, adam <at> webbtech.net 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:

[root <at> dude 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/Databases        Source 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 <build <at> mysql.com>
URL         : http://www.mysql.com/
(Continue reading)

michele | 2 Oct 21:51 2004
Picon

Qmailadmin return "Error: Illegal username" when changing password

Hi, i've my server with Qmail+Vpopmail+Qmailadmin, all works fine, but when i try to change the password of a vpopmail user via Qmailadmin, i receive the error:
Error: Illegal username
 
Can you help me?
Thanks
Michele
 
Fernando Milovich | 2 Oct 23:52 2004
Picon

vpopmail qmail-smtpd-auth patch compiling error

I have this error compiling qmail-smtpd-auth that comes in /contrib of 
Vpopmail, i`ve patched netqmail-1.05 with netqmail-maildirpatch++ and 
qregex.

./compile qmail-smtpd.c
qmail-smtpd.c: In function `authenticate':
qmail-smtpd.c:585: `AUTHSLEEP' undeclared (first use in this function)
qmail-smtpd.c:585: (Each undeclared identifier is reported only once
qmail-smtpd.c:585: for each function it appears in.)
qmail-smtpd.c: In function `main':
qmail-smtpd.c:750: warning: return type of `main' is not `int'
*** Error code 1

Stop in /usr/local/src/netqmail-1.05/netqmail-1.05.

any ideas?

Thank you so much,

Fernando 


Gmane