Courier vpopmail

2003-03-23 Thread Dieter Heiliger
Hi Gurus!

Recently I installed a combination of Courier IMAP/POP, Sqwebmail and 
vpopmail on a Debian Woody server. I downloaded inofficial vpopmail 
packages for woody. I also built the several Courier and Courier-SSL 
packages from source after having changed the rules file to include 
--with-authvchkpw. Everything seemed to work fine.

Unfortunately after having gone productive severe problems with 
POP3/IMAP authentification occured. Sometimes the login procedure 
worked, but very often it did not. At that time the authentification 
used courier-authdaemon.

I learnt from a posting on the vpopmail mailing list that Courier's 
authdaemon is not very stable and that authentification problems get 
solved when compiling Courier using --without-authdaemon.

I tried that - but it initiated several new problems. Courier's build 
configuration script told me that --without-authdaemon needs 
--without-ldap. So I tried that. Unfortunately everything got worse. 
My impression is that the Courier Debian package is not prepared for 
being built without LDAP or authdaemon. There are several dependencies 
between the several components of the Courier packages. I still try to 
figure them out.

My question is: Did anyone install Courier IMAP/POP, Sqwebmail and 
vpopmail on a Woody box? If yes: Do you use courier-authdaemon and if 
so, is vpopmail authentification working well? If you do not use 
courier-authdaemon, how did you get built Courier Debian packages without?

Any help is highly appreciated!

Thanks in advance.

Bye
Dieter
--
Dieter Heiliger | [EMAIL PROTECTED]  (private)
  [EMAIL PROTECTED] (business)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Controlling IP traffic (e.g. per month)

2002-10-28 Thread Dieter Heiliger
Hi Gurus!

I am doing the administration for a server located at an ISP. We have a 
certain amount of traffic per month included in the monthly fee. 
Additional traffic will be paid extra.

Now I want to get more control over the traffic that was already used 
since the beginning of each month. My ideal configuration would be to 
get an email when e.g. 80% of the traffic included in the monthly fee 
got used already. When a new month begins the counter has to be set to 
zero again.

Is there an easy way to implement this?

Any help is highly appreciated.

TIA

Dieter

--
Dieter Heiliger | [EMAIL PROTECTED]  (private)
  [EMAIL PROTECTED] (business)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Controlling IP traffic (e.g. per month)

2002-10-28 Thread Dieter Heiliger
Hi Gurus!
I am doing the administration for a server located at an ISP. We have a 
certain amount of traffic per month included in the monthly fee. 
Additional traffic will be paid extra.

Now I want to get more control over the traffic that was already used 
since the beginning of each month. My ideal configuration would be to 
get an email when e.g. 80% of the traffic included in the monthly fee 
got used already. When a new month begins the counter has to be set to 
zero again.

Is there an easy way to implement this?
Any help is highly appreciated.
TIA
Dieter
--
Dieter Heiliger | [EMAIL PROTECTED]  (private)
  [EMAIL PROTECTED] (business)



Re: Looking for qmail, vpopmail, webmail solution

2002-06-24 Thread Dieter Heiliger
Hi Theodor et al.!
First of all: Thanks for all the mails and hints!
I am trying to set up a mail toaster on a Debian Woody system.
Here are the requirements:
- qmail
- pop3
- pop3 authentification _not_ against /etc/passwd, /etc/shadow
- virtual pop3 users
- webmail access
Just what I use down here on the farm ;-)

qmail is installed and works fine. I tried to implement vpopmail and 
sqwebmail, but I was not able to get it to work. The sqwebmail debian 
package does not come with vpopmail authentification included. My 
attempts to build it from the source package with modified rules file 
all failed.
It (recompilation) works for me with just trivial changes to ./configure
line in debian/rules. What kind of problem do you have?
I built vpopmail and sqwebmail successfully now. I did not use the 
Debian source packages any longer but the more current versions from 
www.inter7.com - as some of you suggested. And now the combination of 
qmail, vpopmail and sqwebmail works.

Once again: Thanks to everyone who contributed.
Dieter
--
Dieter Heiliger | [EMAIL PROTECTED]  (private)
  [EMAIL PROTECTED] (business)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Looking for qmail, vpopmail, webmail solution

2002-06-21 Thread Dieter Heiliger

Hi Gurus!

I am trying to set up a mail toaster on a Debian Woody system.

Here are the requirements:
  - qmail
  - pop3
  - pop3 authentification _not_ against /etc/passwd, /etc/shadow
  - virtual pop3 users
  - webmail access

qmail is installed and works fine. I tried to implement vpopmail and 
sqwebmail, but I was not able to get it to work. The sqwebmail debian 
package does not come with vpopmail authentification included. My 
attempts to build it from the source package with modified rules file 
all failed.

vpopmail as such works in combination with the pop3 server. sqwebmail 
works with authentification against /etc/passwd, /etc/shadow.

Did anyone out there already implement qmail/vpopmail/sqwebmail 
successfully and can give me some hints?

Are there any other combinations of applications that meet the 
requirements (Debian packaged preferred)?

Any help is highly appreciated!

TIA

Dieter

-- 
Dieter Heiliger | [EMAIL PROTECTED]  (private)
   [EMAIL PROTECTED] (business)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Looking for qmail, vpopmail, webmail solution

2002-06-21 Thread Dieter Heiliger

Hi Theodor!

I am trying to set up a mail toaster on a Debian Woody system.

Here are the requirements:
 - qmail
 - pop3
 - pop3 authentification _not_ against /etc/passwd, /etc/shadow
 - virtual pop3 users
 - webmail access
 
 Just what I use down here on the farm ;-)

Good to hear!

qmail is installed and works fine. I tried to implement vpopmail and 
sqwebmail, but I was not able to get it to work. The sqwebmail debian 
package does not come with vpopmail authentification included. My 
attempts to build it from the source package with modified rules file 
all failed.
 
 It (recompilation) works for me with just trivial changes to ./configure
 line in debian/rules. What kind of problem do you have?

I installed vpopmail binary package from unstable (it is not included in 
woody).


dpkg --list *vpopmail*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
un  libvpopmail-ba none (no description available)
ii  libvpopmail-de 4.9.9-1vpopmail development files
ii  libvpopmail-fr 4.9.9-1vpopmail mysql plugin
un  libvpopmail0   none (no description available)
ii  libvpopmail1   4.9.9-1vpopmail libraries
un  vpopmail   none (no description available)
ii  vpopmail-bin   4.9.9-1vpopmail binaries
ii  vpopmail-doc   4.9.9-1vpopmail documentation
 

Afterwards I tried to build sqwebmail from the debian source package. I 
changed the rules file:

--with-authvchkpw
--without-authdaemon

This leads to the following error during build:


echo '#include /var/lib/vpopmail/include/config.h' vpopmail_config.h
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/var/lib/vpopmail/include -lcrypt 
-Wall -I.. -I./.. -c authvchkpw.c
authvchkpw.c: In function `auth_vchkpw_changepass':
authvchkpw.c:142: warning: assignment from incompatible pointer type
authvchkpw.c:151: dereferencing pointer to incomplete type
authvchkpw.c:151: dereferencing pointer to incomplete type
make[2]: *** [authvchkpw.o] Error 1
make[2]: Leaving directory `/tmp/courier-0.37.3/authlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/courier-0.37.3'
make: *** [build] Error 2
 

I found numerous occurences of this error message on Google and 
groups.google.com - unfortunately all without replies. :-(

What does your working rules file look like?

TIA

Dieter

-- 
Dieter Heiliger | [EMAIL PROTECTED]  (private)
   [EMAIL PROTECTED] (business)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Looking for qmail, vpopmail, webmail solution

2002-06-21 Thread Dieter Heiliger

Hi Theodor et al.!

I installed vpopmail binary package from unstable (it is not included in 
woody).


dpkg --list *vpopmail*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
un  libvpopmail-ba none (no description available)
ii  libvpopmail-de 4.9.9-1vpopmail development files
ii  libvpopmail-fr 4.9.9-1vpopmail mysql plugin
un  libvpopmail0   none (no description available)
ii  libvpopmail1   4.9.9-1vpopmail libraries
un  vpopmail   none (no description available)
ii  vpopmail-bin   4.9.9-1vpopmail binaries
ii  vpopmail-doc   4.9.9-1vpopmail documentation

 
 Unfortunately the vpopmail package provided in sid is too old.
 courier/sqwebmail included in woody requires newer version. I personaly
 used to download/compile vpopmail 5.2.1 from www.inter7.com. The
 downside is that I have not debianized version of this newer vpopmail -
 just copypaste ./configure lines from debian/rules and copy by hand
 init.d/vpopmail script from sid's debianized vpopmail.

I did that (download vpopmail source from inter7.com, copy configure 
line from the Debian source package's rules file, make, make install). 
Afterwards the build of sqwebmail from the Debian source package seemed 
to go fine, but failed not very far from the end:


c++ -I./.. -I.. -I./../afx -I./../rfc822 -I./libs -Wall -g -O2 -o 
courierd cddrvinfo.o cddlvrhost.o cddelinfo.o cdmsgq.o cdmsgq2.o 
cdmsgq3.o cdpendelinfo.o cdrcptinfo.o courierdb.o courierd.o 
libs/libmodule.a module.uucp/.libs/librewrite.a 
module.local/.libs/librewrite.a module.esmtp/.libs/librewrite.a 
module.dsn/.libs/librewrite.a libs/libcommon.a libs/libcourier.a 
../authlib/libauth.a ../rfc822/librfc822.a ../numlib/libnumlib.a 
../userdb/libuserdb.a ../gdbmobj/libgdbmobj.a ../libhmac/libhmac.a 
../md5/libmd5.a ../sha1/libsha1.a -lpam -lm -L/var/lib/vpopmail/lib 
/usr/lib/libvpopmail.so -lfreecdb -lfreecdbmake -ldl 
/usr/lib/libmysqlclient.so -lnsl -lgdbm -lcrypt ../afx/libafx.a 
../liblock/liblock.a ../tcpd/libspipe.a ../soxwrap/libsoxwrap.a -lgdbm
../authlib/libauth.a(preauthvchkpw.o): In function `auth_vchkpw_pre':
preauthvchkpw.o(.text+0x118): undefined reference to `vset_lastauth'
collect2: ld returned 1 exit status
make[4]: *** [courierd] Error 1
make[4]: Leaving directory `/tmp/courier-0.37.3/courier'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/courier-0.37.3/courier'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/tmp/courier-0.37.3/courier'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/courier-0.37.3'
make: *** [build] Error 2
 

Any idea?

TIA

Dieter

-- 
Dieter Heiliger | [EMAIL PROTECTED]  (private)
   [EMAIL PROTECTED] (business)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Looking for qmail, vpopmail, webmail solution

2002-06-21 Thread Dieter Heiliger
Hi Gurus!
I am trying to set up a mail toaster on a Debian Woody system.
Here are the requirements:
 - qmail
 - pop3
 - pop3 authentification _not_ against /etc/passwd, /etc/shadow
 - virtual pop3 users
 - webmail access
qmail is installed and works fine. I tried to implement vpopmail and 
sqwebmail, but I was not able to get it to work. The sqwebmail debian 
package does not come with vpopmail authentification included. My 
attempts to build it from the source package with modified rules file 
all failed.

vpopmail as such works in combination with the pop3 server. sqwebmail 
works with authentification against /etc/passwd, /etc/shadow.

Did anyone out there already implement qmail/vpopmail/sqwebmail 
successfully and can give me some hints?

Are there any other combinations of applications that meet the 
requirements (Debian packaged preferred)?

Any help is highly appreciated!
TIA
Dieter
--
Dieter Heiliger | [EMAIL PROTECTED]  (private)
  [EMAIL PROTECTED] (business)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Looking for qmail, vpopmail, webmail solution

2002-06-21 Thread Dieter Heiliger
Hi Theodor!
I am trying to set up a mail toaster on a Debian Woody system.
Here are the requirements:
- qmail
- pop3
- pop3 authentification _not_ against /etc/passwd, /etc/shadow
- virtual pop3 users
- webmail access
Just what I use down here on the farm ;-)
Good to hear!
qmail is installed and works fine. I tried to implement vpopmail and 
sqwebmail, but I was not able to get it to work. The sqwebmail debian 
package does not come with vpopmail authentification included. My 
attempts to build it from the source package with modified rules file 
all failed.
It (recompilation) works for me with just trivial changes to ./configure
line in debian/rules. What kind of problem do you have?
I installed vpopmail binary package from unstable (it is not included in 
woody).


dpkg --list *vpopmail*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
un  libvpopmail-ba none (no description available)
ii  libvpopmail-de 4.9.9-1vpopmail development files
ii  libvpopmail-fr 4.9.9-1vpopmail mysql plugin
un  libvpopmail0   none (no description available)
ii  libvpopmail1   4.9.9-1vpopmail libraries
un  vpopmail   none (no description available)
ii  vpopmail-bin   4.9.9-1vpopmail binaries
ii  vpopmail-doc   4.9.9-1vpopmail documentation


Afterwards I tried to build sqwebmail from the debian source package. I 
changed the rules file:

--with-authvchkpw
--without-authdaemon
This leads to the following error during build:

echo '#include /var/lib/vpopmail/include/config.h' vpopmail_config.h
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/var/lib/vpopmail/include -lcrypt 
-Wall -I.. -I./.. -c authvchkpw.c
authvchkpw.c: In function `auth_vchkpw_changepass':
authvchkpw.c:142: warning: assignment from incompatible pointer type
authvchkpw.c:151: dereferencing pointer to incomplete type
authvchkpw.c:151: dereferencing pointer to incomplete type
make[2]: *** [authvchkpw.o] Error 1
make[2]: Leaving directory `/tmp/courier-0.37.3/authlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/courier-0.37.3'
make: *** [build] Error 2


I found numerous occurences of this error message on Google and 
groups.google.com - unfortunately all without replies. :-(

What does your working rules file look like?
TIA
Dieter
--
Dieter Heiliger | [EMAIL PROTECTED]  (private)
  [EMAIL PROTECTED] (business)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Looking for qmail, vpopmail, webmail solution

2002-06-21 Thread Dieter Heiliger
Hi Theodor et al.!
I installed vpopmail binary package from unstable (it is not included in 
woody).


dpkg --list *vpopmail*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
un  libvpopmail-ba none (no description available)
ii  libvpopmail-de 4.9.9-1vpopmail development files
ii  libvpopmail-fr 4.9.9-1vpopmail mysql plugin
un  libvpopmail0   none (no description available)
ii  libvpopmail1   4.9.9-1vpopmail libraries
un  vpopmail   none (no description available)
ii  vpopmail-bin   4.9.9-1vpopmail binaries
ii  vpopmail-doc   4.9.9-1vpopmail documentation

Unfortunately the vpopmail package provided in sid is too old.
courier/sqwebmail included in woody requires newer version. I personaly
used to download/compile vpopmail 5.2.1 from www.inter7.com. The
downside is that I have not debianized version of this newer vpopmail -
just copypaste ./configure lines from debian/rules and copy by hand
init.d/vpopmail script from sid's debianized vpopmail.
I did that (download vpopmail source from inter7.com, copy configure 
line from the Debian source package's rules file, make, make install). 
Afterwards the build of sqwebmail from the Debian source package seemed 
to go fine, but failed not very far from the end:


c++ -I./.. -I.. -I./../afx -I./../rfc822 -I./libs -Wall -g -O2 -o 
courierd cddrvinfo.o cddlvrhost.o cddelinfo.o cdmsgq.o cdmsgq2.o 
cdmsgq3.o cdpendelinfo.o cdrcptinfo.o courierdb.o courierd.o 
libs/libmodule.a module.uucp/.libs/librewrite.a 
module.local/.libs/librewrite.a module.esmtp/.libs/librewrite.a 
module.dsn/.libs/librewrite.a libs/libcommon.a libs/libcourier.a 
../authlib/libauth.a ../rfc822/librfc822.a ../numlib/libnumlib.a 
../userdb/libuserdb.a ../gdbmobj/libgdbmobj.a ../libhmac/libhmac.a 
../md5/libmd5.a ../sha1/libsha1.a -lpam -lm -L/var/lib/vpopmail/lib 
/usr/lib/libvpopmail.so -lfreecdb -lfreecdbmake -ldl 
/usr/lib/libmysqlclient.so -lnsl -lgdbm -lcrypt ../afx/libafx.a 
../liblock/liblock.a ../tcpd/libspipe.a ../soxwrap/libsoxwrap.a -lgdbm
../authlib/libauth.a(preauthvchkpw.o): In function `auth_vchkpw_pre':
preauthvchkpw.o(.text+0x118): undefined reference to `vset_lastauth'
collect2: ld returned 1 exit status
make[4]: *** [courierd] Error 1
make[4]: Leaving directory `/tmp/courier-0.37.3/courier'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/courier-0.37.3/courier'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/tmp/courier-0.37.3/courier'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/courier-0.37.3'
make: *** [build] Error 2


Any idea?
TIA
Dieter
--
Dieter Heiliger | [EMAIL PROTECTED]  (private)
  [EMAIL PROTECTED] (business)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]