Re: [vchkpw] vpopmail+courier-authdaemon problem on openbsd4.1
hi, > >- courier-imap (4.1.2) with autentification via courier-authdaemon > > (0.59.1) against vpopmails vchkpw > > Sam has released courier-authlib-0.60.1. You may want to try that. I tried this, but with exactly the same results. no module for authentication against vpopmail's vchkpw was built.
Re: [vchkpw] vpopmail+courier-authdaemon problem on openbsd4.1
hi len > > [..] > > > > *** Warning: linker path does not have real file for library -lvpopmail. > > *** I have the capability to make that library automatically link in when > > *** you link to this library. But I can only do this if you have a > > *** shared version of the library, which you do not appear to have > > *** because I did check the linker path looking for a file starting > > *** with libvpopmail and none of the candidates passed a file format test > > *** using a regex pattern. Last file checked: > > /home/vpopmail/lib/libvpopmail.a > > > > *** Warning: libtool could not satisfy all declared inter-library > > *** dependencies of module libauthvchkpw. Therefore, libtool will create > > *** a static module, that should work as long as the dlopening > > *** application is linked with the -dlopen flag. > > .. > > --- snip --- > > I ran into a problem very similar to this building authdaemon against > vpopmail-5.20 under NetBSD-3.1-i386. After a lot of twists and turns > I modified the vpopmail source to build libvpopmail as a shared lib as > well as static. I am not especially tallented with automake, autoconf > and libtool, in fact I had never modified a build to create shared > libs. I found an excellent resource on how to do this at: > > http://sourceware.org/autobook/autobook/autobook_toc.html > > I successfully built libvpopmail.so, and placed it in a location where my > build of courier-authdaemon would link against it. The build was > successful, and authdaemon is working flawlessly using the authvchkpw > module. It was a good learning experience; glad I know how to do this > if I find myself in this situation again. HTH ok, it's not doing - for me - in a short time. i read this howto last view hours and realy: i learned. but - until know - i was not able to build libvpopmail.so . so i will try it later when i have more time. thank you - Christoph
Re: [vchkpw] vpopmail+courier-authdaemon problem on openbsd4.1
hi, > > [..] > > > > until now, qmail in conjunction with vpopmail works fine. the problem > > appears when building the courier-authdaemon. the module for > > authentication against vchkpw is not build. i miss some file like > > libauthvchkpw.so > > the gmake output looks like: > > Perhaps consider Dovecot in place of courier, current courier authlib > needs patching for some OS's, Sam has known about this since May, but > has not done a thing about it, we got sick of it breaking and use > Dovecot which works beautifully with Vpomail > You could even use Dovecot to handle your POP3 if you wanted to. thanks for that tip. i installed dovecot and it seems to work ( i tried it with one imap and imap-ssl connection). it's not my first solution, but good to known, that i can fall back in this server environment.
Re: [vchkpw] vpopmail+courier-authdaemon problem on openbsd4.1
Good day christoph, On Thu, 11 Oct 2007, ckubu wrote: ... until now, qmail in conjunction with vpopmail works fine. the problem appears when building the courier-authdaemon. the module for authentication against vchkpw is not build. i miss some file like libauthvchkpw.so the gmake output looks like: --- snip --- ... Compiling authvchkpw.c authvchkpw.c: In function `auth_vchkpw_changepass': authvchkpw.c:186: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type Compiling authvchkpwlib.c Compiling preauthvchkpw.c preauthvchkpw.c: In function `auth_vchkpw_pre': preauthvchkpw.c:67: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type preauthvchkpw.c:141: warning: passing arg 3 of `vset_lastauth' discards qualifiers from pointer target type Linking libauthvchkpw.la *** Warning: linker path does not have real file for library -lvpopmail. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libvpopmail and none of the candidates passed a file format test *** using a regex pattern. Last file checked: /home/vpopmail/lib/libvpopmail.a *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module libauthvchkpw. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag. .. --- snip --- I ran into a problem very similar to this building authdaemon against vpopmail-5.20 under NetBSD-3.1-i386. After a lot of twists and turns I modified the vpopmail source to build libvpopmail as a shared lib as well as static. I am not especially tallented with automake, autoconf and libtool, in fact I had never modified a build to create shared libs. I found an excellent resource on how to do this at: http://sourceware.org/autobook/autobook/autobook_toc.html I successfully built libvpopmail.so, and placed it in a location where my build of courier-authdaemon would link against it. The build was successful, and authdaemon is working flawlessly using the authvchkpw module. It was a good learning experience; glad I know how to do this if I find myself in this situation again. HTH -Len
Re: [vchkpw] vpopmail+courier-authdaemon problem on openbsd4.1
- courier-imap (4.1.2) with autentification via courier-authdaemon (0.59.1) against vpopmails vchkpw Sam has released courier-authlib-0.60.1. You may want to try that.
Re: [vchkpw] vpopmail+courier-authdaemon problem on openbsd4.1
ckubu wrote: hi, if this isn't the right place for questions help in such a propblem, please ignore and sorry. and also sorry for my bad english. I like to run a mailserver on my openbsd 4.1. system. the services should be: - qmail (netqmail 1.0.5) - vpopmail (5.4.18) - courier-imap (4.1.2) with autentification via courier-authdaemon (0.59.1) against vpopmails vchkpw - webmailer system staff: os.: i386 openbsd 4.1 cpu: amd 64 (pc-style) until now, qmail in conjunction with vpopmail works fine. the problem appears when building the courier-authdaemon. the module for authentication against vchkpw is not build. i miss some file like libauthvchkpw.so the gmake output looks like: Perhaps consider Dovecot in place of courier, current courier authlib needs patching for some OS's, Sam has known about this since May, but has not done a thing about it, we got sick of it breaking and use Dovecot which works beautifully with Vpomail You could even use Dovecot to handle your POP3 if you wanted to.
[vchkpw] vpopmail+courier-authdaemon problem on openbsd4.1
hi, if this isn't the right place for questions help in such a propblem, please ignore and sorry. and also sorry for my bad english. I like to run a mailserver on my openbsd 4.1. system. the services should be: - qmail (netqmail 1.0.5) - vpopmail (5.4.18) - courier-imap (4.1.2) with autentification via courier-authdaemon (0.59.1) against vpopmails vchkpw - webmailer system staff: os.: i386 openbsd 4.1 cpu: amd 64 (pc-style) until now, qmail in conjunction with vpopmail works fine. the problem appears when building the courier-authdaemon. the module for authentication against vchkpw is not build. i miss some file like libauthvchkpw.so the gmake output looks like: --- snip --- ... Compiling authvchkpw.c authvchkpw.c: In function `auth_vchkpw_changepass': authvchkpw.c:186: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type Compiling authvchkpwlib.c Compiling preauthvchkpw.c preauthvchkpw.c: In function `auth_vchkpw_pre': preauthvchkpw.c:67: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type preauthvchkpw.c:141: warning: passing arg 3 of `vset_lastauth' discards qualifiers from pointer target type Linking libauthvchkpw.la *** Warning: linker path does not have real file for library -lvpopmail. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libvpopmail and none of the candidates passed a file format test *** using a regex pattern. Last file checked: /home/vpopmail/lib/libvpopmail.a *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module libauthvchkpw. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag. .. --- snip --- after finish the authdaemon installation and start it, the log file looks like --- snip --- ... Oct 11 19:33:03 luna authdaemond: Installing libauthcustom Oct 11 19:33:03 luna authdaemond: Installation complete: authcustom Oct 11 19:33:03 luna authdaemond: Installing libauthvchkpw Oct 11 19:33:03 luna authdaemond: File not found ... --- snip --- authdaemon was configured with: ./configure \ --prefix=/usr/local/courier-authlib-0.59.1 \ --with-authvchkpw \ --with-mailuser=vpopmail \ --with-mailgroup=vchkpw vpopmail configure was: ./configure \ --enable-roaming-users \ --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \ --enable-tcprules-prog=/usr/local/bin/tcprules \ --enable-relay-clear-minutes=60 \ --enable-learn-passwords \ --enable-qmail-ext \ --enable-logging=v \ --enable-log-name=vpopmail I'm not very firm with compiler/linker staff, so i need help. can and like anyone here on this list help me ? it would be very great. Until now, i tried different versions of vpopmail and courier's authdaemon and combinations of them. i also installed the mailserver services on an x86_64 openbsd 4.1 with exactly the same results. I also tried to configure vpopmail with --enable-shared option - knowing that this flag isn't listed by configure --help -, in order to get a shared version of libvpopmail, but this doesn' work. I thought, this could also solve my problem. best wishes christoph