Re: [vchkpw] Problems with 5.3.29

2003-10-26 Thread Michael Bowe

  Is anyone out there successfully making POP connections with 5.3.29?

POP works fine for me (5.3.29, mysql backend, no roaming user, no apop)

Michael.



Re: [vchkpw] Problems with 5.3.29

2003-10-26 Thread Martin Kos
On Sun, 26 Oct 2003, Tom Collins wrote:

If you use Courier-IMAP, did you recompile it after installing
the new vpopmail?
no i haven't had recompiled courier-IMAP after the installation
because i thought it has only to do with IMAP connections or am
i missing something ?
Courier-IMAP links to the libvpopmail code (unlike qmail's pop3
server which uses the vchkpw program).  Any time you recompile
vpopmail, you should really recompile QmailAdmin, Courier-IMAP,
vqAdmin, qmail-smtpd (if using the chkusr patch) and any other
program that statically links to the library.
i understand that i should recompile the other programs after
upgrading vpopmail, but the recompile of courier-imap has nothing
to do with my pop-problem?

any idea what could be the problem with the denied pop-logins ?

greets
 Martin
-- 
Martin Kos Handy +41-76-384-93-33
http://kos.li/ICQ# 13556143Fax +49-89-244-323-681
  Say NO to HTML in mail
   Proudly running Debian GNU/Linux. See http://www.debian.org/



Re: [vchkpw] Change UID and GID

2003-10-26 Thread Justin Heesemann
On Sunday 26 October 2003 00:43, Tom Tu wrote:
 Hi,
 
 My production box was using 89 as the UID and GID. I just migrated
 all the
 mail over and currently can not access the mailboxes through
 sqwebmail or qmailadmin.  I had previous on this test box used 189 as
 the UID and GID for vpopmail and vchkpw.  I deleted those accounts
 and re-created them with the ID of 89.
 
 PROBLEM: vpopmail still picks up 189.  Help!
 
 Thanks,
 Tom

still picks up 189 ?
have you recompiled vpopmail after recreating the vpopmail user ?
and which uid/gid does your /var/qmail/users/assign file show ?

-- 
Mit internetten Grüßen / Best Regards
---
Justin Heesemannionium Technologies
[EMAIL PROTECTED]www.ionium.org



Re: [vchkpw] password generation - vpopmail table - pw_passwd

2003-10-26 Thread Michael Bowe

 I want to generate just the
 password so that I can insert it
 solely into the vpopmail mysl-database.

 I other words I don´t want to make ./vadduser ... first, I just want
 generate thi user in my database.

If you are doing it via PHP you can follow these notes :
http://bluedot.net/mail/archive/read.php?f=2i=7411t=7409

I used those notes to write an ASP version which you can view here
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server-scripts/asp-vpopmail-passwd-entries.txt

Michael.





Re: [vchkpw] vpopmail mysql database

2003-10-26 Thread Michael Bowe
You need to make sure you granted the appropriate permissions in the
database
eg

GRANT select,insert,update,delete,create,drop ON vpopmail.*
TO [EMAIL PROTECTED] IDENTIFIED BY 'vpoppasswd';

Also make sure you dont have ipchains/iptables blocking the mysql port

Michael.


- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 25, 2003 9:46 PM
Subject: [vchkpw] vpopmail mysql database


Hi to all,
i have to use vpopmail on a machine and read database password (mysql) on
another machine. Please note that in the first machine there are not any
mailboxes. I only have to read password on mysql database on another machine
in which is installed vpopmail with mailboxes. I tryied to edit vmysql.h e
recompile but always it can't authenticate. Have i forgot anything?

Thankx for help

matmak




Re: [vchkpw] Problems with 5.3.29

2003-10-26 Thread Michael Bowe
 vchkpw-pop3: pop access denied [EMAIL PROTECTED]:10.1.0.13

What is the output of :
  vuserinfo [EMAIL PROTECTED]

(In particular I want to see whether vpopmail is saying whether this user
has got pop access disabled)

Also, please show us your qmail-pop3d supervise/run script

Michael





Re: [vchkpw] Compile Error With Mysql

2003-10-26 Thread Michael Bowe


 Hello All,
   I'm compiling vpopmail-5.3.29 with mysql 4.0.16, and I gor this
   error message during make:

 gcc -I. -I/usr/local/mysql/include  -I. -I. -I. -g -O2 -Wall -c
`test -f 'vauth.c' || echo './'`vauth.c
 vauth.c:33:19: mysql.h: No such file or directory
 vauth.c:40: error: parse error before mysql_update
 vauth.c:40: warning: type defaults to `int' in declaration of
`mysql_update'
 vauth.c:40: warning: data definition has no type or storage class
 vauth.c:41: error: parse error before mysql_read_getall

That means that vpopmail cant locate your mysql installation

You will need to help vpopmail by using the following configure switches

  --enable-incdir=the path to your mysql inc dir
  --enable-libdir=the path to your mysql lib dir

eg


  --enable-incdir=/usr/local/mysql/include
  --enable-libdir=/usr/local/mysql/lib

Michael.