Re: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-05 Thread JB
Make sure the directory where libmysqlclient.so.12 is located in listed 
in ld.so.conf. Don't forget to run ldconfig if you add a new path to 
ld.so.conf

Kirti S. Bajwa wrote:
Rick:
I do have the file libmysqlclient.so.12 in /usr/local/mysql/lib/mysql 
/usr/local/mysql-4.0.20/libmysql/.lib. I have installed the mysql-client
package. I am going to install full mysql package  see if the problem goes
away.
Kirti
-Original Message-
From: Rick Widmer [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 8:01 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server
Kirti S. Bajwa wrote:
/home/vpopmail/bin/vadddomain: error while loading sharred libraries:
libmysqlclient.so.12: cannot open shared object file: no such file or
directory
What is this error  how to fix it?

The mysql-client and/or mysql-devel packages (what ever RedHat calls 
them) are not installed, or for some reason vpopmail can not find them. 
   If you already have a file libmysqlclient.so.12 on the slave server, 
let us know and we'll look at something different, but I bet you don't...

Make sure the client library and include files are installed on the 
slave machine.  I don't do Red Hat, so I can't help with specifics.

or
Just install all of the mysql packages on the slave and don't sweat the 
extra couple of MB disk space they require.  You don't have to actually 
start MySQL on the slave server.

or
If you have one box it works on, and another it does not and both are on 
the same version of RH, just find the files vpopmail complains about on 
the machine that has them, and copy them to the same directory on the 
other machine.  There may be several files and vpopmail only reports one 
at a time, so you may have to run - copy - run - copy several times.

Rick



Re: [vchkpw] vpopmail installation on a Client MySQL Server

2004-06-05 Thread JB
I'm clueless about this error but you can probably find clues to the 
answer by searching the list archives.

Best,
Kirti S. Bajwa wrote:
JB:
I think you performed the magic. After I run ldconfig, the old library
error is gone.
Now the error is MYSQL server has gone away. I can connect to the mysql
server data. So why is this error? Is it possible that I may have done some
mistake in installing mysql?
Thanks.
Kirti
-Original Message-
From: JB [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 05, 2004 11:00 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server
Make sure the directory where libmysqlclient.so.12 is located in listed 
in ld.so.conf. Don't forget to run ldconfig if you add a new path to 
ld.so.conf

Kirti S. Bajwa wrote:
Rick:
I do have the file libmysqlclient.so.12 in /usr/local/mysql/lib/mysql 
/usr/local/mysql-4.0.20/libmysql/.lib. I have installed the mysql-client
package. I am going to install full mysql package  see if the problem
goes
away.
Kirti
-Original Message-
From: Rick Widmer [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 8:01 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] vpopmail installation on a Client MySQL Server
Kirti S. Bajwa wrote:

/home/vpopmail/bin/vadddomain: error while loading sharred libraries:
libmysqlclient.so.12: cannot open shared object file: no such file or
directory
What is this error  how to fix it?

The mysql-client and/or mysql-devel packages (what ever RedHat calls 
them) are not installed, or for some reason vpopmail can not find them. 
  If you already have a file libmysqlclient.so.12 on the slave server, 
let us know and we'll look at something different, but I bet you don't...

Make sure the client library and include files are installed on the 
slave machine.  I don't do Red Hat, so I can't help with specifics.

or
Just install all of the mysql packages on the slave and don't sweat the 
extra couple of MB disk space they require.  You don't have to actually 
start MySQL on the slave server.

or
If you have one box it works on, and another it does not and both are on 
the same version of RH, just find the files vpopmail complains about on 
the machine that has them, and copy them to the same directory on the 
other machine.  There may be several files and vpopmail only reports one 
at a time, so you may have to run - copy - run - copy several times.

Rick




Re: [vchkpw] vpopmail + vsftpd + multiple domains

2004-06-02 Thread JB
Because I want to use the same virtual users handled by vpopmail for ftp 
usage. I dont want to manually create ftp accounts for users who already 
exsist virtually. I know that vpopmail is for mail purposes, but I 
should be able to access the vpopmail user database from within vsftpd? 
They mention PAM as authentication, but I am totally clueless on that...
RTFM,
There is an example of virtual users setup in the EXAMPLE directory.
You might take a look at purftpd also.



Re: [vchkpw] vpopmail + vsftpd + multiple domains

2004-06-02 Thread JB
You might want to concider reading the full thread before advising me 
doing something I already DID!
The example you are pointing to uses one fixed dir, while I want virtual 
users have their home dir pointed to their virtual domain home dir. Also 
I dont want to create system accounts for every virtual user
Then maybe you should go back and read it again or go ask on the vsftp list.



Re: [vchkpw] vpopmail + vsftpd + multiple domains

2004-06-02 Thread JB
Or maybe you could explain it to me because I am currently googling on 
the subject and there is a whole shitload of people asking the same 
question, but nobody seems to have the solution
I would setup pam to use the same ldap or mysql database as vpopmail. 
Unless you have the time and inclination to explore the subject and 
do-it-yourself, You might find it easier to use purftpd from 
http://purftpd.org/.





[vchkpw] [OFF TOPIC] LET IT GO PAUL [Fwd: Re: Feature request for vaddaliasdomain]

2003-09-25 Thread JB
Paul, quit emailing me offlist.  I don't give a crap what kind of 
drunken binge you are on.
Damm, I'll I did was offer a simple solution to a problem.

Just STFU and let it go.





Re: [vchkpw] Re: Feature request for vaddaliasdomain

2003-09-24 Thread JB

The worst one of our clients has managed so far is 13, added in dribs and
drabs of two or three at a time.  For one it makes no difference.  For
hundreds I'd go the perl script reading a text file route.  For twos and
threes the current argument order of vaddaliasdomain is annoying.
 

Write a shell script that takes the arguments in the order you want and 
pass them to vaddaliasdomain in the order expected,

i.e.

#!/bin/bash

`~vpopmail/bin/vaddaliasdomain $2 $1`

~jb





[vchkpw] Re: Feature request for vaddaliasdomain

2003-09-24 Thread JB
A one line bash script, which I provided will do the job for Millions of 
people.
You could have fixed the problem yourself in less then 10 seconds, 
instead, you flame me.

You are a fucking twit





Paul L. Allen wrote:

You don't read so good, do you?

JB writes:

 

Write a shell script that takes the arguments in the order you want and 
pass them to vaddaliasdomain in the order expected,
   

I already explained that while I am more than capable of coming up with
that idea and implementing it all by myself, that such a solution does not
help the many others who have this same problem.  Now you may think it 
sensible that hundreds or thousands of people each spend time writing
a script that overcomes an OBVIOUS DEFECT in a piece of software but I
do not.  I think it more sensible to fix the defect at source, thereby
minimizing the total amount of person-hours wasted.

But since you did not bother to read (or could not comprehend) my
previous message where I stated that, no doubt this too will pass
several miles over your head.
GOOD software design requires creating a user interface that is
optimized for the common case.  The common case is people who already
know about the order in which ln expects its arguments and who have to
add several alias domains at once.  I'm picking up some vibes here...
Apparently, you do not understand that either.  Me used to having
to do a lot of extra key-presses.  Me no want change.  Change bad.
Me hated vpopmail being ported from abacus to computer.
 





Re: [vchkpw] Erroar after deleting domain 421 unable to read controls (#4.3.0)

2003-09-23 Thread JB

/var/qmail/control/me, virtualdomains, rcpthosts, morercpthosts, and 
morercpthosts.cdb should be readable by all.

Why don't you post an ls -l of your /var/qmail/control directory and 
we can tell you what's wrong with it...

Also, what's inside each of the files I listed above?

I was using version 5.3.12. I've upgraded to vpopmail-5.3.27.   I  fixed 
the permissions on the mentioned
files, then I had to delete the cdb files in control and user 
directories. Then added and deleted the domain
again.

I didn't get a failure message after deleting the domain and did not 
realize anything was wrong until I tried
to check my email. I should have posted the perms but was in a panic. I 
think the perms on  morercphosts
were 600.

~jb





Re: [vchkpw] deleting domains

2003-09-23 Thread JB

bogus# bin/vdeldomain test.com
Failed while attempting to delete domain from dir_control
Failed vget_assign for test.com
I've just upgraded to 5.3.27 and I'm getting the same error.

/home/Vpopmail
drwxr-xr-x2 vpopmail vchkpw   4096 Sep 19 20:31 bin/
drwxr-xr-x4 vpopmail vchkpw   4096 Dec 28  2002 doc/
drwx--   69 vpopmail vchkpw   4096 Sep 23 07:46 domains/
drwxr-xr-x2 vpopmail vchkpw   4096 Sep 23 07:54 etc/
drwxr-xr-x2 vpopmail vchkpw   4096 Sep 19 20:31 include/
drwxr-xr-x2 vpopmail vchkpw   4096 Sep 19 20:31 lib/
/var/qmail/control
-rw-r--r--1 root qmail  71 Apr 21 10:10 badmailfrom
-rw-r--r--1 root qmail   3 Jun 30 15:45 concurrencyincoming
-rw-r--r--1 root qmail   4 Jun 30 15:32 concurrencylocal
-rw-r--r--1 root qmail   3 Aug  9 09:01 concurrencyremote
-rw-r--r--1 root qmail   8 Jul 31 20:34 databytes
-rw-r--r--1 root qmail  11 Aug  9  2002 defaultdelivery
-rw-r--r--1 root qmail  19 Dec 30  2002 defaultdomain
-rw-r--r--1 root qmail  10 Aug 10 09:57 doublebounceto
-rw-r--r--1 root root0 Sep 23 07:45 locals
-rw-r--r--1 root qmail   0 Sep 23 07:45 locals.lock
-rw-r--r--1 root qmail  24 Dec 30  2002 me
-rw-r--r--1 root root  594 Sep 23 07:18 morercpthosts
-rw-r--r--1 root root 3424 Sep 23 07:18 morercpthosts.cdb
-rw-rw-r--1 root qmail   0 Sep 23 07:18 morercpthosts.lock
-rw-r--r--1 root qmail  19 Dec 30  2002 plusdomain
-rw-r--r--1 root qmail   7 Jul  6 20:05 queuelifetime
-rw-r--r--1 root root  950 Sep 23 07:46 rcpthosts
-rw-rw-r--1 root qmail   0 Sep 23 07:46 rcpthosts.lock
-rw-r--r--1 root root 2994 Sep 23 07:46 virtualdomains
-rw-rw-r--1 root qmail   0 Sep 23 07:46 virtualdomains.lock






[vchkpw] Erroar after deleting domain 421 unable to read controls (#4.3.0)

2003-09-19 Thread JB
I'm getting the following error after deleting a domain using vdeldomain 
as root.

Can someone post the correct directory permission for /var/qmail/usr  etc..

thanks,

~jb





Re: [vchkpw] Re: Inter7, vpopmail, and open source standards

2003-09-10 Thread JB
Lets keep to the topic and leave the conspiracy theories for anther 
forum. Politics and religion are better discussed else where.

~jb

Dubya has done more to drive up al-Qaeda recruitment than bin Laden
ever did.  Which is only fair because bin Laden has always been a puppet
of the same people that control Dubya.  The attacks of 9-11 benefited
Bush and his cronies immensely, which is why the ample warnings were
ignored, why the US Air Force did not follow Standard Operating 
Procedures that day, and why there continues to be a massive cover-up
over events.  For a European you are almost as misinformed as most people
in the US yet you do not have their excuse of media willing to cover up 
Bush's lies and incompetence.  This recent article by a UK Member of 
Parliament covers only a small portion of the damning evidence against
Bush but should be enough to let you use google to find the rest.
http://politics.guardian.co.uk/iraq/comment/0,12956,1036687,00.html

 





Re: [vchkpw] RE: [ ABU1063202463386 ] RE: [vchkpw] Re: Inter7, vpopmail, and open source standards

2003-09-10 Thread JB
Don't hold your breath. SBC has been flooding us for weeks. We finally 
resorted to blocking IP addresses because we could not get a response 
from their black-hole abuse address.



Shane Chrisp wrote:

I hope that this time the address is unsub'd now. I sent an
unsub request for it.
 

-Original Message-
From: Prodigy Abuse Department [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 10 September 2003 10:01 PM
To: [EMAIL PROTECTED]
Subject: [ ABU1063202463386 ] RE: [vchkpw] Re: Inter7, 
vpopmail, and open source standards



   Thank you for writing to SBC Internet Services Policy Group. 
We apologize for the inconvenience you have experienced. This 
   



 





Re: [vchkpw] Inter7, vpopmail, and open source standards

2003-09-09 Thread JB

Inter7 remains supportive of all efforts to enhance the development 
process. However, we cannot publicly back the development efforts of 
Tom Collins' work without administrative privileges on SourceForge. It 
is a time to call together everyone on this list to insist that Tom 
Collins add Ken Jones or another representative from Inter7. We are 
all a part of the community development process. Without cohesion, 
Tom's efforts may be in vain. Tom has great ideas. Tom is putting the 
efforts into managing the SourceForge development. And if these 
efforts can enhance and support our open source community, we will 
show our support.

Tom, give us something we can support. Give our community the name 
backing it needs to feel confident using the SourceForge new versions.

I agree with Catherine. I appreciate the hard work by Tom and others but 
have not heard a good reason why Ken should not have a leading role to 
play. This means Ken should have an admin account on sourceforge. Tom 
brings a lot of good ideas and cooperation will benefit everyone.

~jb






Re: [vchkpw] auth smtp

2003-03-31 Thread JB
Why are you reqeusting a read confirmation on every email?



Kenneth Ling wrote:

hi,
   how authenticated relay control on my qmail smtp server
tq



 





Re: [vchkpw] vpopmail enable-roaming with courier

2003-03-29 Thread JB
You have build courier with  DHAVE_OPEN_SMTP_RELAY

Type: export CFLAGS=-DHAVE_OPEN_SMTP_RELAY  before ./configure

~jb

Ian Forsyth wrote:

Hi,

I am sure I have missed something. I am using vpopmail 5.3.16 and 
courier-imap 1.7.1. I am using courier for pop and imap services. I am 
able to login via imap and pop no problem. After doing so the file 
size nor modification time on the smtp file in the vpopmail etc 
directory change. I check vuserinfo and I have 'all services enabled' 
for the user.  I configured vpopmail --enable-roaming-users=y and 
enable-clear-passwd=n and --tcp.smtp file in /home/vpopmail/etc/tcp.smtp

These are my permissions for /home/vpopmail/etc

-rw-r--r--1 vpopmail vchkpw  0 Mar 29 03:40 open-smtp
-rw-r--r--1 vpopmail vchkpw 26 Mar 28 23:39 tcp.smtp
-rw-r--r--1 root root 2090 Mar 29 03:40 tcp.smtp.cdb
I created these files. I am not sure if the permissions are correct.

Before configuring courier I set chmod -R 755 ~vpopmail/lib

After configuring courier without authdaemon, etc.. I edited 
courier-src/authlib/config.h to edit this in
#define HAVE_OPEN_SMTP_RELAY 1

I did the make and install..

I am using this style of courier install
http://jonaspasche.de/courier-imap-daemontools.txt
this is my /service/qmail-smtpd/run

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z 
$LOCAL ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
if [ ! -f /var/qmail/control/rcpthosts ]; then
echo No /var/qmail/control/rcpthosts!
echo Refusing to start SMTP listener because it'll create an open 
relay
exit 1
fi
exec /usr/local/bin/softlimit -m 300 \
/usr/local/bin/tcpserver -v -R -l $LOCAL -x 
/home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID 0 smtp 
/var/qmail/bin/qmail-smtpd 21

After connecting via pop, and listing mesages, the tcp.smtp related 
files are unaltered, when I try to send via smtp I get a host not in 
rcpthost.. The courier log shows succesfull login. I configure 
vpopmail with the default logging, I don't see anything related to 
vchkpw or vpopmail in the logs.

Kind regards,
Ian






Re: [vchkpw] vpopmail enable-roaming with courier

2003-03-29 Thread JB
I did'nt.  You might be better off with smtp authentication if you have 
a large number of domains/users.

Best,

Ian Forsyth wrote:

Hi,

On Saturday, March 29, 2003, at 07:14 AM, JB wrote:

You have build courier with  DHAVE_OPEN_SMTP_RELAY

Type: export CFLAGS=-DHAVE_OPEN_SMTP_RELAY  before ./configure


So if I follow the about enviromental varaible export, do I need to 
edit the authlib/config.h or authlib/preauthvchkpw.c file?

Ian



I am sure I have missed something. I am using vpopmail 5.3.16 and 
courier-imap 1.7.1. I am using courier for pop and imap services. I 
am able to login via imap and pop no problem. After doing so the 
file size nor modification time on the smtp file in the vpopmail etc 
directory change. I check vuserinfo and I have 'all services 
enabled' for the user.  I configured vpopmail 
--enable-roaming-users=y and enable-clear-passwd=n and --tcp.smtp 
file in /home/vpopmail/etc/tcp.smtp

These are my permissions for /home/vpopmail/etc

-rw-r--r--1 vpopmail vchkpw  0 Mar 29 03:40 open-smtp
-rw-r--r--1 vpopmail vchkpw 26 Mar 28 23:39 tcp.smtp
-rw-r--r--1 root root 2090 Mar 29 03:40 tcp.smtp.cdb
I created these files. I am not sure if the permissions are correct.

Before configuring courier I set chmod -R 755 ~vpopmail/lib

After configuring courier without authdaemon, etc.. I edited 
courier-src/authlib/config.h to edit this in
#define HAVE_OPEN_SMTP_RELAY 1

I did the make and install..

I am using this style of courier install
http://jonaspasche.de/courier-imap-daemontools.txt
this is my /service/qmail-smtpd/run

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z 
$LOCAL ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
if [ ! -f /var/qmail/control/rcpthosts ]; then
echo No /var/qmail/control/rcpthosts!
echo Refusing to start SMTP listener because it'll create an 
open relay
exit 1
fi
exec /usr/local/bin/softlimit -m 300 \
/usr/local/bin/tcpserver -v -R -l $LOCAL -x 
/home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID 0 smtp 
/var/qmail/bin/qmail-smtpd 21

After connecting via pop, and listing mesages, the tcp.smtp related 
files are unaltered, when I try to send via smtp I get a host not in 
rcpthost.. The courier log shows succesfull login. I configure 
vpopmail with the default logging, I don't see anything related to 
vchkpw or vpopmail in the logs.

Kind regards,
Ian











Re: [vchkpw] Inter7 mail server doesn't have reverse DNS!

2003-03-27 Thread JB
Question...

Would 208.32.76.233 pass the test?

It has a revers ptr, but some mail servers block it claiming it does not 
have one.

~jb