[vchkpw] Re: courier-imap and vpopmail on x86_64

2005-05-10 Thread Martin Kos
hi david
what does pre-authlib-versions do?
is it instead of courier-authlib?
will it make courier-imap to work with vpopmail?
sorry i meant that i use the older versions of courier-imap and 
sqwebmail that DON'T use the courier-authlib at all. (courier-imap 
4.0.0 and sqwebmail 5.0.0). i use here courier-imap 3.0.8 and 
sqwebmail 4.0.7.

greets
 KoS
--
Martin Kos   +41-76-384-93-33
http://kos.liSay NO to HTML in mail ICQ# 13556143
Proudly running Debian GNU/Linux


[vchkpw] Re: courier-imap and vpopmail on x86_64

2005-05-10 Thread Martin Kos
hi ken
I compiled vpopmail, qmail and courier-imap version 3.0.7 on an AMD 
64 bit system last week with no problems at all. The only thing I had to tweak 
was when configuring qmailadmin, it needed an updated config.sub file.
we are talking about the newer versions of courier that use the 
courier-authlib library! the old versions of courier that don't have a 
common auth library work without a problem, but the newer 
courier-authlib isn't possible to compile and i don't know if the 
problem is with the library itself or vpopmail :-(

greets
 KoS
--
Martin Kos   +41-76-384-93-33
http://kos.liSay NO to HTML in mail ICQ# 13556143
Proudly running Debian GNU/Linux


[vchkpw] undefined entry in smtpd-log - vmysql: error creating table 'valias'

2005-05-10 Thread Dirk Tanneberger
hello,
i'm using a server for incoming mail only, with the following software:
- netqmail-1.05
- vpopmail-5.4.10 with mysql-server on other host
- chkuser-2.0.8b-release
- qmail-scanner-1.25
vpopmail-configure-options:
./configure --enable-roaming-users=y --enable-auth-module=mysql 
--enable-mysql-replication=y \
--enable-incdir=/space/software/mailserver/mysql-standard-4.0.24-pc-linux-gnu-i686/include
 \
--enable-libdir=/space/software/mailserver/mysql-standard-4.0.24-pc-linux-gnu-i686/lib
 \
--enable-relay-clear-minutes=60 --enable-logging=v --enable-clear-passwd=y \
--enable-valias=y --enable-auth-logging=y --disable-passwd 
--disable-md5-passwords
in my smtpd-log i see sometimes a entry like this:
+
@400042804ea611514bd4 vmysql: error creating table 'valias': create command 
denied to user: '[EMAIL PROTECTED]' for table 'valias'
+
user vpopmail has no rights to create the valias-table on remote mysql-db, 
that's right, but
on remote mysql-db valias-tables already exists.
What is the reason that vmysql will create this table and where can i shut up 
this action?
Thanks for any answer.
regards
Dirk Tanneberger


[vchkpw] courier-imap and vpopmail on x86_64 -SOLVED

2005-05-10 Thread David Brohall
Ohh... Thank You all very much!
It all worked when I used courier-imap-3.0.8
Thanks again!
Best Regards,
David Brohall
- Original Message - 
From: Martin Kos [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Tuesday, May 10, 2005 8:20 AM
Subject: [vchkpw] Re: courier-imap and vpopmail on x86_64


hi ken
I compiled vpopmail, qmail and courier-imap version 3.0.7 on an AMD 64 
bit system last week with no problems at all. The only thing I had to 
tweak was when configuring qmailadmin, it needed an updated config.sub 
file.
we are talking about the newer versions of courier that use the 
courier-authlib library! the old versions of courier that don't have a 
common auth library work without a problem, but the newer courier-authlib 
isn't possible to compile and i don't know if the problem is with the 
library itself or vpopmail :-(

greets
 KoS
--
Martin Kos   +41-76-384-93-33
http://kos.liSay NO to HTML in mail ICQ# 13556143
Proudly running Debian GNU/Linux




Re: [vchkpw] vipmap

2005-05-10 Thread Chris Godwin
Awww c'mon. None of you have ever had any problems with vipmap?
- Original Message - 
From: Chris Godwin
To: vchkpw@inter7.com
Sent: Monday, May 09, 2005 3:31 PM
Subject: Re: [vchkpw] vipmap


one more tidbit. I'm using courier-imap(s) and courier-pop3d(s) as my
listening daemons.

- Original Message - 
From: Chris Godwin
To: vchkpw@inter7.com
Sent: Monday, May 09, 2005 3:29 PM
Subject: [vchkpw] vipmap


I've just trouble shot for hours on why this doesn't work. I've discovered
on my own that courier reports all ips in ipv6 format. I thought this was
the root of my problem. I found a patch for an old vpopmail version that
patches vipmap.c. I nanoed into vpopmail.c and realized that the patch had
already been added to the stable version. Now i'm running vpopmail version
5.4.7 and I cannot get ip-alias-domains to work. I'm not asking what the
problem could be I just need a place to start troubleshooting. We will be
micrating 4000 accounts from a box users qmail install to a virtual users
install and need this info as soon as possible.

Thank you for you attention to this matter.
Chris Godwin.




Re: [vchkpw] undefined entry in smtpd-log - vmysql: error creating table 'valias'

2005-05-10 Thread Dirk Tanneberger
 Well it is clear what the problem is. Have you granted privilages to the
 user vpopmail in your mysql database? Have you edited
 /home/vpopmail/etc/vpopmail.mysql?
/home/vpopmail/etc/vpopmail.mysql is edited correctly and
user vpopmail in my mysql database has not enough privileges to do this.
He has only the rights for read and write in the table.
This should be enough for an incoming only server, or?
I'm wondering what is the reason that vmysql will create this table?
The only tool that works during the smtp-session is chkuser, or?
regards
Dirk Tanneberger
Am 10.05.2005 14:24 schrieb Chris Godwin:
Well it is clear what the problem is. Have you granted privilages to the
user vpopmail in your mysql database? Have you edited
/home/vpopmail/etc/vpopmail.mysql?
- Original Message - 
From: Dirk Tanneberger [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Tuesday, May 10, 2005 2:32 AM
Subject: [vchkpw] undefined entry in smtpd-log - vmysql: error creating
table 'valias'


hello,
i'm using a server for incoming mail only, with the following software:
- netqmail-1.05
- vpopmail-5.4.10 with mysql-server on other host
- chkuser-2.0.8b-release
- qmail-scanner-1.25
vpopmail-configure-options:
./configure --enable-roaming-users=y --enable-auth-module=mysql --enable-mys
ql-replication=y \
--enable-incdir=/space/software/mailserver/mysql-standard-4.0.24-pc-linux-
gnu-i686/include \
--enable-libdir=/space/software/mailserver/mysql-standard-4.0.24-pc-linux-
gnu-i686/lib \
--enable-relay-clear-minutes=60 --enable-logging=v --enable-clear-passwd=y
\
--enable-valias=y --enable-auth-logging=y --disable-passwd --disable-md5-p
asswords
in my smtpd-log i see sometimes a entry like this:
+
@400042804ea611514bd4 vmysql: error creating table 'valias': create
command denied to user: '[EMAIL PROTECTED]' for table 'valias'
+
user vpopmail has no rights to create the valias-table on remote mysql-db,
that's right, but
on remote mysql-db valias-tables already exists.
What is the reason that vmysql will create this table and where can i shut
up this action?
Thanks for any answer.
regards
Dirk Tanneberger




Re: [vchkpw] undefined entry in smtpd-log - vmysql: error creating table 'valias'

2005-05-10 Thread Chris Godwin
My first action would be to login to the mysql server from the box that
vpopmail is on. See if you can run this query SELECT * FROM valias;.
Sometimes if your mysql server is on another box host permissions can get
fowled up.
- Original Message - 
From: Dirk Tanneberger [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Tuesday, May 10, 2005 10:05 AM
Subject: Re: [vchkpw] undefined entry in smtpd-log - vmysql: error creating
table 'valias'


  Well it is clear what the problem is. Have you granted privilages to the
   user vpopmail in your mysql database? Have you edited
   /home/vpopmail/etc/vpopmail.mysql?

 /home/vpopmail/etc/vpopmail.mysql is edited correctly and
 user vpopmail in my mysql database has not enough privileges to do this.
 He has only the rights for read and write in the table.
 This should be enough for an incoming only server, or?
 I'm wondering what is the reason that vmysql will create this table?
 The only tool that works during the smtp-session is chkuser, or?

 regards
 Dirk Tanneberger

 Am 10.05.2005 14:24 schrieb Chris Godwin:
  Well it is clear what the problem is. Have you granted privilages to the
  user vpopmail in your mysql database? Have you edited
  /home/vpopmail/etc/vpopmail.mysql?
 
  - Original Message - 
  From: Dirk Tanneberger [EMAIL PROTECTED]
  To: vchkpw@inter7.com
  Sent: Tuesday, May 10, 2005 2:32 AM
  Subject: [vchkpw] undefined entry in smtpd-log - vmysql: error creating
  table 'valias'
 
 
 
 hello,
 
 i'm using a server for incoming mail only, with the following software:
 - netqmail-1.05
 - vpopmail-5.4.10 with mysql-server on other host
 - chkuser-2.0.8b-release
 - qmail-scanner-1.25
 
 vpopmail-configure-options:
 
 
 
./configure --enable-roaming-users=y --enable-auth-module=mysql --enable-mys
  ql-replication=y \
 

--enable-incdir=/space/software/mailserver/mysql-standard-4.0.24-pc-linux-
 
  gnu-i686/include \
 

--enable-libdir=/space/software/mailserver/mysql-standard-4.0.24-pc-linux-
 
  gnu-i686/lib \
 

--enable-relay-clear-minutes=60 --enable-logging=v --enable-clear-passwd=y
 
  \
 

--enable-valias=y --enable-auth-logging=y --disable-passwd --disable-md5-p
 
  asswords
 
 
 in my smtpd-log i see sometimes a entry like this:
 +
 @400042804ea611514bd4 vmysql: error creating table 'valias': create
 
  command denied to user: '[EMAIL PROTECTED]' for table 'valias'
 
 +
 user vpopmail has no rights to create the valias-table on remote
mysql-db,
 
  that's right, but
 
 on remote mysql-db valias-tables already exists.
 
 What is the reason that vmysql will create this table and where can i
shut
 
  up this action?
 
 Thanks for any answer.
 
 
 regards
 
 Dirk Tanneberger
 
 
 




[vchkpw] Vpopmail + courier-authlib-0.55

2005-05-10 Thread Chris Akins
Having a hard time getting courier authlib to compile with vpopmail installed.
Used the following config options:
./configure --prefix=/usr/local/courier-authlib --without-authpam 
--without-authldap --without-authpwd --without-authmysql 
--without-authpgsql --without-authshadow --without-authuserdb 
--without-authcustom --without-authcram --without-authdaemon 
--with-authvchkpw --with-mailuser=vpopmail --with-mailgroup=vchkpw

Configure works without error.  However the make breaks in the middle with 
the following:

fgets   0x170e 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x172c 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x17a2 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x1812 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x1882 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x18f2 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x1924 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x1cc3 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
fgets   0x60c 
/home/vpopmail/lib/libvpopmail.a(vlimits.o)
rewind  0x4cd 
/home/vpopmail/lib/libvpopmail.a(vauth.o)
usleep  0x1274 
/home/vpopmail/lib/libvpopmail.a(maildirquota.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libauthvchkpw.la'
Current working directory /root/software/courier-authlib-0.55
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /root/software/courier-authlib-0.55
*** Error code 1
make: Fatal error: Command failed for target `all'

Anyone know how I can get courier-auth to work with vpopmail?
Chris Akins
System Admin
Alpha Internet
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 5/10/2005



Re: [vchkpw] vpopmail-mysql problem

2005-05-10 Thread DAve
Andrea Benedetto wrote:
We have a big mail server which authenticate users against mysql (mysql
server 4.1.10 and mysql client 4.1.10).
Some times we can see in /var/log/qmail/smtpd/current this line:
2005-04-04 11:43:50.962470500 vmysql: sql error[3]: MySQL server has gone
away
and after this qmail-server says that the mail box doesn't exists.
We have read that it could be a timeout error, because vpopmail keep alive
conections with mysql server but mysql doesn't (wait_timeout = 28800). But
probably this isn't the case, because in the log file we can see that the
error above doesn't occur every 8 hours but it appears at every time.
Here an example:
2005-04-04 01:30:47.096746500 vmysql: sql error[3]: MySQL server has gone
away
2005-04-04 08:25:35.172402500 vmysql: sql error[3]: MySQL server has gone
away
2005-04-04 08:25:38.270531500 vmysql: sql error[3]: MySQL server has gone
away
2005-04-04 11:45:26.640551500 vmysql: sql error[3]: MySQL server has gone
away
2005-04-04 17:24:29.706105500 vmysql: sql error[3]: MySQL server has gone
away
2005-04-04 19:30:11.903721500 vmysql: sql error[3]: MySQL server has gone
away
In other days we haven't any errors.
Some suggestions from prior experience,
Make sure your MySQL server can see DNS for your client (add your 
clients IP and host name to the /etc/hosts file to avoid DNS issues)

When your mail server says the mySQL server has gone away,
1) check your Aborted_clients and Aborted_connects values in MYSQL. 
2) issue a flush status command on the MySQL server and see if 
connections begin again.
3) check your uptime in mysqladmin, is the SQL server crashing and 
restarting?

It could be your connection between the MySQL server and the vpopmail 
server is faulty, bad cat5, bad switch, bad NIC. I've seen these happen 
before. MySQL doesn't like it's connections being interupted.

DAve



[vchkpw] Vpopmail + courier-authlib-0.55

2005-05-10 Thread Chris Akins


I am getting compile errors in courier-authlib-0.55 when I compile with
the --with-authvchkpw 
option. I can compile it with vpopmail integration turned off
just fine. Is there a minimum verision of vpopmail needed to
successfully compile courier-authlib-0.55 with it? I am currently
running vpopmail version 5.4.3 Any help would be
appreciated.


Chris Akins
System Admin
Alpha Internet




No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 5/10/2005