[vchkpw] Qmail-scanner and vpopmail
I have qmail-scanner installed but it doesn't seem to be called on when processing email. When I run qmail-scanner test script it picks it up but all other email is bpassed. Does anyone have any insight to this ?
Re: [vchkpw] make issues
yes still doesn't compilei'm at a loss On Thu, 2004-05-20 at 13:11, Patrick Donker wrote: > did you try already? > > Mark Matrafajlo wrote: > > Do i need the authvchkpwd enabled on the courier ./configure to work > > with vpopmail and mysql > > > > On Thu, 2004-05-20 at 09:14, Mark Matrafajlo wrote: > > > > > do you think it has something todo with the fact that its not in the > > > standard directory /home/vpopmail...on this machine it defaults to > > > /var/qmail/vpopmail ? > > > On Wed, 2004-05-19 at 18:12, Ken Jones wrote: > > > > > > > On Wednesday 19 May 2004 04:51 pm, Mark Matrafajlo wrote: > > > > > > > > > when i look in the vpopmail/include directory i have just 2 files > > > > > vpopmail_config.h and vpopmail.h...no config.h so i cp vpopmail_config.h > > > > > to config.h...no dice > > > > > > > > > Don't do that. when you run configure ; make ; make install for vpopmail > > > > it will install the files for you. > > > > > > > > Ken Jones > > > > > > > > > > > > > On Wed, 2004-05-19 at 17:39, Patrick Donker wrote: > > > > > > > > > > > Mark Matrafajlo wrote: > > > > > > > > > > > > > yes...could that be it ? > > > > > > > > > > > > > > On Wed, 2004-05-19 at 17:14, Patrick Donker wrote: > > > > > > > > > > > > > > > Mark Matrafajlo wrote: > > > > > > > > > > > > > > > > > I just can't seem to compile courier with vpopmail and mysql as a > > > > > > > > > backend. Hopefully someone has some insight for me: > > > > > > > > > > > > > > > > > > ./configure --prefix=/usr/local/courier-imap --disable-root-check > > > > > > > > > --without-authpam --without-authldap --without-authpwd > > > > > > > > > --without-authmysql --without-authpgsql --without-authshadow > > > > > > > > > --without-authuserdb --without-authcustom --without-authcram > > > > > > > > > --without-authdaemon --with-authvchkpw --with-ssl > > > > > > > > > > > > > > > > > > > > > > > > > > > > In file included from authvchkpw.c:21: > > > > > > > > > > vpopmail_config.h:1:48: /var/qmail/vpopmail/include/config.h: No > > > > > > > > > > such file or directory authvchkpw.c:23:26: vauth.h: No such file > > > > > > > > > > or directory > > > > > > > > > > authvchkpw.c: In function `auth_vchkpw_changepass': > > > > > > > > > > authvchkpw.c:174: warning: passing arg 1 of `parse_email' > > > > > > > > > > discards qualifiers from pointer target type authvchkpw.c:190: > > > > > > > > > > warning: implicit declaration of function `vauth_getpw' > > > > > > > > > > authvchkpw.c:190: warning: assignment makes pointer from integer > > > > > > > > > > without a cast authvchkpw.c:200: error: dereferencing pointer to > > > > > > > > > > incomplete type authvchkpw.c:200: error: dereferencing pointer to > > > > > > > > > > incomplete type authvchkpw.c:206: warning: passing arg 3 of > > > > > > > > > > `vpasswd' discards qualifiers from pointer target type make[2]: > > > > > > > > > > *** [authvchkpw.o] Error 1 > > > > > > > > > > make[2]: Leaving directory > > > > > > > > > > `/usr/local/source/courier-imap-3.0.4/authlib' make[1]: *** [all] > > > > > > > > > > Error 2 > > > > > > > > > > make[1]: Leaving directory > > > > > > > > > > `/usr/local/source/courier-imap-3.0.4/authlib' make: *** > > > > > > > > > > [all-recursive] Error 1 > > > > > > > > > > > > > > > > > > Maybe a stupid question, but did you install vpopmail before courier? > > > > > > > > > > > > > > Ahm, no, but the error 'vpopmail_config.h:1:48: > > > > > > /var/qmail/vpopmail/include/config.h: No such file or directory' > > > > > > pointed in that direction > > > > > > > > > > > > > >
Re: [vchkpw] make issues
Do i need the authvchkpwd enabled on the courier ./configure to work with vpopmail and mysql On Thu, 2004-05-20 at 09:14, Mark Matrafajlo wrote: > do you think it has something todo with the fact that its not in the > standard directory /home/vpopmail...on this machine it defaults to > /var/qmail/vpopmail ? > On Wed, 2004-05-19 at 18:12, Ken Jones wrote: > > On Wednesday 19 May 2004 04:51 pm, Mark Matrafajlo wrote: > > > when i look in the vpopmail/include directory i have just 2 files > > > vpopmail_config.h and vpopmail.h...no config.h so i cp vpopmail_config.h > > > to config.h...no dice > > > > Don't do that. when you run configure ; make ; make install for vpopmail > > it will install the files for you. > > > > Ken Jones > > > > > > > > On Wed, 2004-05-19 at 17:39, Patrick Donker wrote: > > > > Mark Matrafajlo wrote: > > > > > yes...could that be it ? > > > > > > > > > > On Wed, 2004-05-19 at 17:14, Patrick Donker wrote: > > > > > > Mark Matrafajlo wrote: > > > > > > > I just can't seem to compile courier with vpopmail and mysql as a > > > > > > > backend. Hopefully someone has some insight for me: > > > > > > > > > > > > > > ./configure --prefix=/usr/local/courier-imap --disable-root-check > > > > > > > --without-authpam --without-authldap --without-authpwd > > > > > > > --without-authmysql --without-authpgsql --without-authshadow > > > > > > > --without-authuserdb --without-authcustom --without-authcram > > > > > > > --without-authdaemon --with-authvchkpw --with-ssl > > > > > > > > > > > > > > > In file included from authvchkpw.c:21: > > > > > > > > vpopmail_config.h:1:48: /var/qmail/vpopmail/include/config.h: No > > > > > > > > such file or directory authvchkpw.c:23:26: vauth.h: No such file > > > > > > > > or directory > > > > > > > > authvchkpw.c: In function `auth_vchkpw_changepass': > > > > > > > > authvchkpw.c:174: warning: passing arg 1 of `parse_email' > > > > > > > > discards qualifiers from pointer target type authvchkpw.c:190: > > > > > > > > warning: implicit declaration of function `vauth_getpw' > > > > > > > > authvchkpw.c:190: warning: assignment makes pointer from integer > > > > > > > > without a cast authvchkpw.c:200: error: dereferencing pointer to > > > > > > > > incomplete type authvchkpw.c:200: error: dereferencing pointer to > > > > > > > > incomplete type authvchkpw.c:206: warning: passing arg 3 of > > > > > > > > `vpasswd' discards qualifiers from pointer target type make[2]: > > > > > > > > *** [authvchkpw.o] Error 1 > > > > > > > > make[2]: Leaving directory > > > > > > > > `/usr/local/source/courier-imap-3.0.4/authlib' make[1]: *** [all] > > > > > > > > Error 2 > > > > > > > > make[1]: Leaving directory > > > > > > > > `/usr/local/source/courier-imap-3.0.4/authlib' make: *** > > > > > > > > [all-recursive] Error 1 > > > > > > > > > > > > Maybe a stupid question, but did you install vpopmail before courier? > > > > > > > > Ahm, no, but the error 'vpopmail_config.h:1:48: > > > > /var/qmail/vpopmail/include/config.h: No such file or directory' > > > > pointed in that direction > > > >
Re: [vchkpw] make issues
do you think it has something todo with the fact that its not in the standard directory /home/vpopmail...on this machine it defaults to /var/qmail/vpopmail ? On Wed, 2004-05-19 at 18:12, Ken Jones wrote: > On Wednesday 19 May 2004 04:51 pm, Mark Matrafajlo wrote: > > when i look in the vpopmail/include directory i have just 2 files > > vpopmail_config.h and vpopmail.h...no config.h so i cp vpopmail_config.h > > to config.h...no dice > > Don't do that. when you run configure ; make ; make install for vpopmail > it will install the files for you. > > Ken Jones > > > > > On Wed, 2004-05-19 at 17:39, Patrick Donker wrote: > > > Mark Matrafajlo wrote: > > > > yes...could that be it ? > > > > > > > > On Wed, 2004-05-19 at 17:14, Patrick Donker wrote: > > > > > Mark Matrafajlo wrote: > > > > > > I just can't seem to compile courier with vpopmail and mysql as a > > > > > > backend. Hopefully someone has some insight for me: > > > > > > > > > > > > ./configure --prefix=/usr/local/courier-imap --disable-root-check > > > > > > --without-authpam --without-authldap --without-authpwd > > > > > > --without-authmysql --without-authpgsql --without-authshadow > > > > > > --without-authuserdb --without-authcustom --without-authcram > > > > > > --without-authdaemon --with-authvchkpw --with-ssl > > > > > > > > > > > > > In file included from authvchkpw.c:21: > > > > > > > vpopmail_config.h:1:48: /var/qmail/vpopmail/include/config.h: No > > > > > > > such file or directory authvchkpw.c:23:26: vauth.h: No such file > > > > > > > or directory > > > > > > > authvchkpw.c: In function `auth_vchkpw_changepass': > > > > > > > authvchkpw.c:174: warning: passing arg 1 of `parse_email' > > > > > > > discards qualifiers from pointer target type authvchkpw.c:190: > > > > > > > warning: implicit declaration of function `vauth_getpw' > > > > > > > authvchkpw.c:190: warning: assignment makes pointer from integer > > > > > > > without a cast authvchkpw.c:200: error: dereferencing pointer to > > > > > > > incomplete type authvchkpw.c:200: error: dereferencing pointer to > > > > > > > incomplete type authvchkpw.c:206: warning: passing arg 3 of > > > > > > > `vpasswd' discards qualifiers from pointer target type make[2]: > > > > > > > *** [authvchkpw.o] Error 1 > > > > > > > make[2]: Leaving directory > > > > > > > `/usr/local/source/courier-imap-3.0.4/authlib' make[1]: *** [all] > > > > > > > Error 2 > > > > > > > make[1]: Leaving directory > > > > > > > `/usr/local/source/courier-imap-3.0.4/authlib' make: *** > > > > > > > [all-recursive] Error 1 > > > > > > > > > > Maybe a stupid question, but did you install vpopmail before courier? > > > > > > Ahm, no, but the error 'vpopmail_config.h:1:48: > > > /var/qmail/vpopmail/include/config.h: No such file or directory' > > > pointed in that direction >
Re: [vchkpw] make issues
when i look in the vpopmail/include directory i have just 2 files vpopmail_config.h and vpopmail.h...no config.h so i cp vpopmail_config.h to config.h...no dice On Wed, 2004-05-19 at 17:39, Patrick Donker wrote: > Mark Matrafajlo wrote: > > yes...could that be it ? > > On Wed, 2004-05-19 at 17:14, Patrick Donker wrote: > > > > > Mark Matrafajlo wrote: > > > > > > > I just can't seem to compile courier with vpopmail and mysql as a > > > > backend. Hopefully someone has some insight for me: > > > > > > > > ./configure --prefix=/usr/local/courier-imap --disable-root-check > > > > --without-authpam --without-authldap --without-authpwd > > > > --without-authmysql --without-authpgsql --without-authshadow > > > > --without-authuserdb --without-authcustom --without-authcram > > > > --without-authdaemon --with-authvchkpw --with-ssl > > > > > > > > > > > > > > > > > > > > > In file included from authvchkpw.c:21: > > > > > vpopmail_config.h:1:48: /var/qmail/vpopmail/include/config.h: No such file > > > > > or directory > > > > > authvchkpw.c:23:26: vauth.h: No such file or directory > > > > > authvchkpw.c: In function `auth_vchkpw_changepass': > > > > > authvchkpw.c:174: warning: passing arg 1 of `parse_email' discards > > > > > qualifiers from pointer target type > > > > > authvchkpw.c:190: warning: implicit declaration of function `vauth_getpw' > > > > > authvchkpw.c:190: warning: assignment makes pointer from integer without a > > > > > cast > > > > > authvchkpw.c:200: error: dereferencing pointer to incomplete type > > > > > authvchkpw.c:200: error: dereferencing pointer to incomplete type > > > > > authvchkpw.c:206: warning: passing arg 3 of `vpasswd' discards qualifiers > > > > > from pointer target type > > > > > make[2]: *** [authvchkpw.o] Error 1 > > > > > make[2]: Leaving directory `/usr/local/source/courier-imap-3.0.4/authlib' > > > > > make[1]: *** [all] Error 2 > > > > > make[1]: Leaving directory `/usr/local/source/courier-imap-3.0.4/authlib' > > > > > make: *** [all-recursive] Error 1 > > > > > > > > > > > > > > > > > > > > > Maybe a stupid question, but did you install vpopmail before courier? > > > > > > > > Ahm, no, but the error 'vpopmail_config.h:1:48: > /var/qmail/vpopmail/include/config.h: No such file or directory' > pointed in that direction
Re: [vchkpw] make issues
yes...could that be it ? On Wed, 2004-05-19 at 17:14, Patrick Donker wrote: > Mark Matrafajlo wrote: > > I just can't seem to compile courier with vpopmail and mysql as a > > backend. Hopefully someone has some insight for me: > > > > ./configure --prefix=/usr/local/courier-imap --disable-root-check > > --without-authpam --without-authldap --without-authpwd > > --without-authmysql --without-authpgsql --without-authshadow > > --without-authuserdb --without-authcustom --without-authcram > > --without-authdaemon --with-authvchkpw --with-ssl > > > > > > > > > In file included from authvchkpw.c:21: > > > vpopmail_config.h:1:48: /var/qmail/vpopmail/include/config.h: No such file or > > > directory > > > authvchkpw.c:23:26: vauth.h: No such file or directory > > > authvchkpw.c: In function `auth_vchkpw_changepass': > > > authvchkpw.c:174: warning: passing arg 1 of `parse_email' discards qualifiers > > > from pointer target type > > > authvchkpw.c:190: warning: implicit declaration of function `vauth_getpw' > > > authvchkpw.c:190: warning: assignment makes pointer from integer without a cast > > > authvchkpw.c:200: error: dereferencing pointer to incomplete type > > > authvchkpw.c:200: error: dereferencing pointer to incomplete type > > > authvchkpw.c:206: warning: passing arg 3 of `vpasswd' discards qualifiers from > > > pointer target type > > > make[2]: *** [authvchkpw.o] Error 1 > > > make[2]: Leaving directory `/usr/local/source/courier-imap-3.0.4/authlib' > > > make[1]: *** [all] Error 2 > > > make[1]: Leaving directory `/usr/local/source/courier-imap-3.0.4/authlib' > > > make: *** [all-recursive] Error 1 > > > > > > > > > > Maybe a stupid question, but did you install vpopmail before courier?
Re: [vchkpw] mysql help
i reverted to the mysql 3.25 version and problem fixed, now onto courier thx, Mark On Wed, 2004-05-19 at 12:58, Jeremy Kitchen wrote: > On Wednesday 19 May 2004 08:39 am, Mark Matrafajlo wrote: > > > vmysql: sql error[c]: Can't create/write to file > > > './vpopmail/dir_control.frm' (Errcode: 13) vmysql: sql error[c]: Can't > > > create/write to file './vpopmail/dir_control.frm' (Errcode: 13) vmysql: > > > sql error[b]: Can't find file: './vpopmail/dir_control.frm' (errno: 13) > > > Error. Failed while attempting to add domain to auth backend > > > vmysql: sql error[c]: Can't create/write to file > > > './vpopmail/dir_control.frm' (Errcode: 13) vmysql: sql error[c]: Can't > > > create/write to file './vpopmail/dir_control.frm' (Errcode: 13) vmysql: > > > sql error[b]: Can't find file: './vpopmail/dir_control.frm' (errno: 13) > > > vmysql: sql error[c]: Can't create/write to file > > > './vpopmail/dir_control.frm' (Errcode: 13) vmysql: sql error[e]: Can't > > > find file: './vpopmail/dir_control.frm' (errno: 13) > > > > I took a look the vpopmail dir and noticed those files weren't even there > > does anyone have any idea on whats going on ? > > .frm files are generally mysql database files, therefore you're looking in the > wrong place. That error is being returned by your mysql server, which is > actually being returned from a system call that errored out. > > More than likely it's a permissions problem, however, you'll want to ask the > mysql support community if you can't figure it out. > > -Jeremy
[vchkpw] make issues
I just can't seem to compile courier with vpopmail and mysql as a backend. Hopefully someone has some insight for me: ./configure --prefix=/usr/local/courier-imap --disable-root-check --without-authpam --without-authldap --without-authpwd --without-authmysql --without-authpgsql --without-authshadow --without-authuserdb --without-authcustom --without-authcram --without-authdaemon --with-authvchkpw --with-ssl > In file included from authvchkpw.c:21: > vpopmail_config.h:1:48: /var/qmail/vpopmail/include/config.h: No such file or > directory > authvchkpw.c:23:26: vauth.h: No such file or directory > authvchkpw.c: In function `auth_vchkpw_changepass': > authvchkpw.c:174: warning: passing arg 1 of `parse_email' discards qualifiers from > pointer target type > authvchkpw.c:190: warning: implicit declaration of function `vauth_getpw' > authvchkpw.c:190: warning: assignment makes pointer from integer without a cast > authvchkpw.c:200: error: dereferencing pointer to incomplete type > authvchkpw.c:200: error: dereferencing pointer to incomplete type > authvchkpw.c:206: warning: passing arg 3 of `vpasswd' discards qualifiers from > pointer target type > make[2]: *** [authvchkpw.o] Error 1 > make[2]: Leaving directory `/usr/local/source/courier-imap-3.0.4/authlib' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/local/source/courier-imap-3.0.4/authlib' > make: *** [all-recursive] Error 1
[vchkpw] mysql help
> vmysql: sql error[c]: Can't create/write to file './vpopmail/dir_control.frm' > (Errcode: 13) > vmysql: sql error[c]: Can't create/write to file './vpopmail/dir_control.frm' > (Errcode: 13) > vmysql: sql error[b]: Can't find file: './vpopmail/dir_control.frm' (errno: 13) > Error. Failed while attempting to add domain to auth backend > vmysql: sql error[c]: Can't create/write to file './vpopmail/dir_control.frm' > (Errcode: 13) > vmysql: sql error[c]: Can't create/write to file './vpopmail/dir_control.frm' > (Errcode: 13) > vmysql: sql error[b]: Can't find file: './vpopmail/dir_control.frm' (errno: 13) > vmysql: sql error[c]: Can't create/write to file './vpopmail/dir_control.frm' > (Errcode: 13) > vmysql: sql error[e]: Can't find file: './vpopmail/dir_control.frm' (errno: 13) I took a look the vpopmail dir and noticed those files weren't even there does anyone have any idea on whats going on ? thx Mark
RE: [vchkpw] Any ideas
> > user me@.com > > +OK > > pass > > ld.so.1: /var/qmail/vpopmail/bin/vchkpw: fatal: /usr/lib/libc.so.1: > mmap failed: Not enough space > > -ERR unable to write pipe > > Connection to localhost closed by foreign host. > > > > is there a problem with my virtual memory ? > On Mon, 2004-05-17 at 14:17, Chris Odell wrote: > Check your password for sql. > > > -Original Message- > > From: Mark Matrafajlo [mailto:[EMAIL PROTECTED] > > Sent: Monday, May 17, 2004 11:08 AM > > To: vpop > > Subject: [vchkpw] Any ideas > > > > > > > Please enter password for me@.com: > > > enter password again: > > > vmysql: sql error[c]: MySQL server has gone away > > > vmysql: sql error[c]: MySQL server has gone away > > > vmysql: sql error[b]: MySQL server has gone away > > > vmysql: sql error[3]: MySQL server has gone away > > > vmysql: sql error[2]: MySQL server has gone away Failed while > > > attempting to add user to auth backend > > > Error: no auth connection > > > > I had set it up to use mysql as the backend and now it just > > doesn't work anyone have any ideas of whats goin on > > > > Thx > > Mark > > > >
RE: [vchkpw] Any ideas
how do i set it for vpop...i set it using the grant statement but how does vpop know which to use ? probably a dumb question On Mon, 2004-05-17 at 14:17, Chris Odell wrote: > Check your password for sql. > > > -Original Message- > > From: Mark Matrafajlo [mailto:[EMAIL PROTECTED] > > Sent: Monday, May 17, 2004 11:08 AM > > To: vpop > > Subject: [vchkpw] Any ideas > > > > > > > Please enter password for [EMAIL PROTECTED]: > > > enter password again: > > > vmysql: sql error[c]: MySQL server has gone away > > > vmysql: sql error[c]: MySQL server has gone away > > > vmysql: sql error[b]: MySQL server has gone away > > > vmysql: sql error[3]: MySQL server has gone away > > > vmysql: sql error[2]: MySQL server has gone away Failed while > > > attempting to add user to auth backend > > > Error: no auth connection > > > > I had set it up to use mysql as the backend and now it just > > doesn't work anyone have any ideas of whats goin on > > > > Thx > > Mark > > > >
[vchkpw] Any ideas
> Please enter password for [EMAIL PROTECTED]: > enter password again: > vmysql: sql error[c]: MySQL server has gone away > vmysql: sql error[c]: MySQL server has gone away > vmysql: sql error[b]: MySQL server has gone away > vmysql: sql error[3]: MySQL server has gone away > vmysql: sql error[2]: MySQL server has gone away > Failed while attempting to add user to auth backend > Error: no auth connection I had set it up to use mysql as the backend and now it just doesn't work anyone have any ideas of whats goin on Thx Mark
Re: [vchkpw] please help
Thx Micheal your tutorial is excellant On Thu, 2004-05-13 at 21:22, Michael Bowe wrote: > - Original Message - > From: "Mark Matrafajlo" <[EMAIL PROTECTED]> > > > > hey List, > > I'm trying to compile courier imap and keep receiving an error : > > Compiling authvchkpw.c > > In file included from authvchkpw.c:21: > > vpopmail_config.h:1:48: /var/qmail/vpopmail/include/config.h: No such > > file or directory > > This can happen if you are compiling courier-imap not as root > > This is because courier-imap recommends you dont compile as root, but if you > try that, you cant access the vpopmail.h etc files, because they are often > owned by vchkpw and dont have permissions for other users to access > > So better off to compile courier-imap as root, and use the configure > option --disable-root-check > > I have some example steps online here : > http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#COURIER_IMAP > > Michael. > >
[vchkpw] please help
hey List, I'm trying to compile courier imap and keep receiving an error : Compiling authvchkpw.c In file included from authvchkpw.c:21: vpopmail_config.h:1:48: /var/qmail/vpopmail/include/config.h: No such file or directory authvchkpw.c:23:26: vauth.h: No such file or directory authvchkpw.c: In function `auth_vchkpw_changepass': authvchkpw.c:174: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type authvchkpw.c:190: warning: implicit declaration of function `vauth_getpw' authvchkpw.c:190: warning: assignment makes pointer from integer without a cast authvchkpw.c:200: error: dereferencing pointer to incomplete type authvchkpw.c:200: error: dereferencing pointer to incomplete type authvchkpw.c:206: warning: passing arg 3 of `vpasswd' discards qualifiers from pointer target type make[2]: *** [authvchkpw.o] Error 1 make[2]: Leaving directory `/home/mtm/courier-imap-3.0.3.20040509/authlib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/mtm/courier-imap-3.0.3.20040509/authlib' make: *** [all-recursive] Error 1 does anyone why its happening ? Thanks, Mark