[vchkpw] postgresql

2002-12-14 Thread Caffeinate The World
i would like to compile vpopmail with postgresql backend. i didn't
notice any configure options for postgresql. any recommendations?

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




[vchkpw] Testers Wanted for SpamAssassin/Vpopmail control panel

2002-12-14 Thread Dave Weiner
I'm looking for a few select ALPHA testers for a web based control panel I
have written specifically for use with vpopmail and Spam Assassin.  It
features:

* Authenticates using the vpopmail.pm api

* Can be turned on or off be individual users

* uses .qmail files in the users virtual home directory

* User can change their password and setup forwards in a manner similar to
qmailadmin

* User can setup a out-of-office/vacation autoresponder in a manner similar
to qmailadmin

Contact me OFF-LIST if you would be interested in participating in the ALPHA
test.


Dave





[vchkpw] courier-imap userdb VS vpopmail

2002-12-14 Thread Caffeinate The World
I'm using qmail and courier-imap. Currently exploring options for
virtual domains. I've read the FAQ's and INSTALL docs. Still new to all
this, even qmail.

How is doing virtual domains under qmail, courier-imap + userdb as
illustrated by:

Courier-IMAP + Maildrop + QMail + Userdb + Virtual Domains HOWTO
http://howtos.eoutfitters.net/email/

different than using vpopmail? Which is the preferred method. I only
want to use IMAP not POP.

>From the INSTALl doc in courier-imap:

---
VCHKPW AUTHENTICATION MODULE

This  authentication  module  is  provided  for  legacy support.  New
installs  should  use the authuserdb module. It is possible to convert
vpopmail/vchkpw   single   userid   authentication   passwd  files  to
/etc/userdb  using  the vchkpw2userdb script. See vchkpw2userdb(8) for
more information.
---

That seems to imply that using userdb method is better. if that's the
case, what are the advantages of using vpopmail?

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




RE: [vchkpw] Vpopmail w/ MySQL, courier-imap issue

2002-12-14 Thread Andre Fortin
Heya,

For the archives, the reason for this is that vpopmail was not built with
the --enable-incdir and --enable-libdir options.  Vpopmail itself was able
to find the necessary MySQL files, however this information was not
available to Courier via vpopmail.a - for this reason, courier could not
find the mysql header files.

Andre

-Original Message-
From: Jesse Guardiani [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 14, 2002 12:57 PM
To: Andre Fortin; vpopmail
Subject: Re: [vchkpw] Vpopmail w/ MySQL, courier-imap issue


That's strange. Did you:

gmake install-strip

on vpopmail before compiling courier-imap?

I wonder why it's referencing your vpopmail src directory?


Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.


- Original Message -
From: "Andre Fortin" <[EMAIL PROTECTED]>
To: "vpopmail" <[EMAIL PROTECTED]>
Sent: Saturday, December 14, 2002 2:37 AM
Subject: [vchkpw] Vpopmail w/ MySQL, courier-imap issue


> Heya..
>
> Having some issues with courier-imap. I am using vpopmail w/ MySQL auth,
and
> all works well.. However, when trying to compile Courier (running 'make'
as
> normal user, and ~vpopmail/lib is readable), I get the error at the end of
> this email (it is long so I wont put it in the middle of my message).
>
> OS: FreeBSD 4.7
> Vpopmail configure line:
>
/configure  --enable-default-domain=personainternet.com --enable-clear-passw
>
d=y --enable-ip-alias-domains=y --enable-hard-quota --enable-defaultquota=50
> 00 --enable-mysql=y --enable-mysql-replication=y
>
> Courier configure line:
>
./configure --prefix=/usr/local/courier-imap --disable-root-check --without-
>
authpam --without-authldap --without-authpwd --without-authmysql --without-a
>
uthpgsql --without-authshadow --without-authuserdb --without-authcustom --wi
> thout-authcram --without-authdaemon --with-authvchkpw
>
> Any help is appreciated, thanks in advance.
>
>
> Andre
>
>
>
>
>
> -
>
> Error:
>
>
> Compiling modauthvchkpw.c
> gcc  -I/var/vpopmail/include -g -O2 -Wall -I.. -I./..   -o authvchkpw
> modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a
../md5/libmd5.a
> ../sha1/libsha1.a -L/var/vpopmail/lib -lvpopmail -lm -lcrypt
> /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open_update':
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0x30): undefined reference to
> `mysql_init'
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0x54): undefined reference to
> `mysql_real_connect'
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0x6f): undefined reference to
> `mysql_error'
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0xa3): undefined reference to
> `mysql_real_connect'
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0xba): undefined reference to
> `mysql_error'
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0x10b): undefined reference to
> `mysql_query'
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0x122): undefined reference to
> `mysql_error'
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0x141): undefined reference to
> `mysql_store_result'
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0x14f): undefined reference to
> `mysql_free_result'
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0x164): undefined reference to
> `mysql_select_db'
> /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open_read':
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0x1b6): undefined reference to
> `mysql_init'
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0x1da): undefined reference to
> `mysql_real_connect'
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0x205): undefined reference to
> `mysql_real_connect'
> /var/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vauth_open_read_getall':
> /usr/src/vpopmail-5.2.1/vauth.c:234: undefined reference to `mysql_init'
> /usr/src/vpopmail-5.2.1/vauth.c:239: undefined reference to
> `mysql_real_connect'
> /usr/src/vpopmail-5.2.1/vauth.c:243: undefined reference to
> `mysql_real_connect'
> /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adddomain':
> /usr/src/vpopmail-5.2.1/vauth.c:239: undefined reference to `mysql_query'
> /usr/src/vpopmail-5.2.1/vauth.c:240: undefined reference to
> `mysql_store_result'
> /usr/src/vpopmail-5.2.1/vauth.c:242: undefined reference to
> `mysql_free_result'
> /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adduser':
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0x4f5): undefined reference to
> `mysql_query'
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0x509): undefined reference to
> `mysql_store_result'
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0x517): undefined reference to
> `mysql_free_result'
> /usr/src/vpopmail-5.2.1/vauth.c(.text+0x52c): undefined reference to
> `mysql_error'
> /var/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getpw':
> /usr/src/vpopmail-5.2.1/vauth.c(.tex

[vchkpw] More ip alias woes

2002-12-14 Thread Andre Fortin
Hi,

I'm using vpopmail with MySQL backend, and courier-imap for SquirrelMail
webmail.  I am trying to use vipmap to authenticate different domains via
IP, and have applied Bill's patch for getting aroun IPv6, but when I log in
to a vipmap'd domain(other than the one in --enable-default-domain) it
returns the following:

---

Unknown error: Fatal error: Maildir: No such file or directory

Read data:

---


The default domain was a cdb domain before, so i made sure to move the
vpasswd files out of the way to make sure it wasnt just grabbing the correct
directory from the files rather than the MySQL database..

If I log in with the complete email address, it works; It only causes this
problem when I try to connect to the vipmap'd domain without using the
complete email address.  I am not much of a coder, but I'm assuming the
problem is that the authvchkpw module is looking at the user@default-domain
instead of looking at user@ip-aliased-domain for the users directory.. Not
finding the user in the default domain, it will not have a proper directory
to find its Maildir/ and exits with this error.  When logged into via the
complete email address, Courier of course does not use the default domain
and authenticates properly.. Am I right? Is there already a solution for
this issue? Let me know if any more information is needed.. Thanks,

Andre





[vchkpw] IP-based virtual hosting

2002-12-14 Thread Moshe Jacobson
Does vpopmail support virtual hosting by IP address? I would a user to
be able to connect to a particular IP address associated with their
domain, so they will not have to send a full "user@domain" string as
their username, but rather simply "user", and vpopmail will be able to
infer the domain from the IP address.

Thanks,
Moshe

-- 
Moshe Jacobson 
http://runslinux.net 
AIM: Jehsom