[vchkpw] Re: SOLUTION, Deny the option Roaming-User the a specific Pool of IP

2002-08-27 Thread Juan Enciso - DNSQ

Hello Bill,

Thank you very much by your suggestion with respect to my problem.

Now I have modified the code of the file vpopmail.c and in addition I have
added a new file pop3.cdb. Perhaps it is good for implementing this option
in the next versions of the vpopmail package. I think that the option of
ALLOWROAMING seems a good option to have a better control of roaming.

Again, Thank you very much.

These were my modification:

file vpopmail.c

#ifdef POP_AUTH_OPEN_RELAY
int open_smtp_relay()
{
char *allowroaming;
allowroaming = getenv("ALLOWROAMING");

if(allowroaming == NULL){
return(0);
}

create the new file : /usr/vpopmail/etc/tcp.pop3
192.168.:allow,ALLOWROAMING=""

this is my file /var/qmail/supervise/qmail-pop3d/run

#!/bin/sh
VPOPMAILUID=`id -u vpopmail`
VPOPMAILGID=`id -g vpopmail`
exec /usr/local/bin/tcpserver -l 0 -R -H -v \
-x /usr/vpopmail/etc/tcp.pop3.cdb \
-u"$VPOPMAILUID" -g"$VPOPMAILGID" 0 110   \
/var/qmail/bin/qmail-popup kerberos.qnet.com.pe \
/usr/vpopmail/bin/vchkpw   \
/var/qmail/bin/qmail-pop3d Maildir 2>&1

Before, execute this command.
 tcprules /usr/vpopmail/etc/tcp.pop3.cdb /usr/vpopmail/etc/tcp.pop3.tmp <
/us
r/vpopmail/etc/tcp.pop3

Do you have another idea for this topic?


- Original Message -
From: "Bill Shupp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: [vchkpw] Deny the option Roaming-User the a specific Pool of IP
Ok, upon rereading your post, I see that I answered a different
question..  ; )

What you are asking for could be done pretty easily, I think.  Just
setup another rules file, like tcp.pop, and add a rule like so:

1.2.3.:allow,ALLOWROAMING='""

This says that only addresses in 1.2.3.0/24 are allowed to roam
(assuming that the the NO_RELAY bit is not set for the user).

Then, in apply this patch to vpopmail.c:

*** vpopmail.c.orig Tue Aug 20 21:34:34 2002
--- vpopmail.c  Tue Aug 20 21:37:39 2002
***
*** 2040,2045 
--- 2040,2050 
   #ifdef POP_AUTH_OPEN_RELAY
   int open_smtp_relay()
   {
+  allowroaming = env_get("ALLOWROAMING");
+  if(!allowroaming) {
+ return(0);
+  }
+
   #ifdef USE_SQL
 vopen_smtp_relay();
 update_rules();


That should prevent roaming users for any ip's that don't have
ALLOWROAMING set.  *Note that this hack forces you to specify which
ranges can roam, and prevents roaming by default.  Also, I haven't
tested this, but it does compile.  So your mileage may vary... ; )

Regards,

Bill Shupp






Re: [vchkpw] Quotas and "upgrades"

2002-08-27 Thread Phil Dibowitz

Rick Macdougall wrote:

> Hi,
> 
> Funky,
> 
> I get Segementation fault myself with 5.3.8.  What version are you using?
> 
> I know it used to work because I used to use it.
> 
> Developers?  Anyone?
> 

5.2.1.

But I just did this to solve my problem:


#!/bin/sh

cd /home/vpopmail/domains
for i in *; do
  cd $i;
  for n in *; do
   /home/vpopmail/bin/vmoduser -q 5000S ${n}@${i}
  done
  cd ..
done


You'll get errors for email domain saying there is no user [EMAIL PROTECTED] 
and [EMAIL PROTECTED], but no biggie.

Thanks for your help though.

-- 
Phil Dibowitz [EMAIL PROTECTED]
Freeware and Technical Pages  Insanity Palace of Metallica
http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
  - Benjamin Franklin, 1759




Re: [vchkpw] Quotas and "upgrades"

2002-08-27 Thread Rick Macdougall

Hi,

Funky,

I get Segementation fault myself with 5.3.8.  What version are you using?

I know it used to work because I used to use it.

Developers?  Anyone?

Regards,

Rick

- Original Message -
From: "Phil Dibowitz" <[EMAIL PROTECTED]>
To: "Rick Macdougall" <[EMAIL PROTECTED]>
Cc: "vchkpw" <[EMAIL PROTECTED]>
Sent: Tuesday, August 27, 2002 8:20 PM
Subject: Re: [vchkpw] Quotas and "upgrades"


> Rick Macdougall wrote:
>
> > Hi,
> >
> > vmoduser -q 1000S @somedomain.com
> >
>
> Rick,
>
> This doesn't seem to work.
>
> If I do:
> vmoduser -q 5000S @somedomain.com
>
> I get the error:
> no such user @somedomain.com
>
> If I do:
> vmoduser -q 5000S somedomain.com
>
> I get the error:
> Error: null pointer
>
> I've recompiled and isntalled vpopmail with the
'--default-quota=5000S' set.




Re: [vchkpw] Quotas and "upgrades"

2002-08-27 Thread Phil Dibowitz

Phil Dibowitz wrote:

> I've recompiled and isntalled vpopmail with the 
> '--default-quota=5000S' set.
> 

Errr I meant to say:

--enable-defaultquota=5000S

My bad.


-- 
Phil Dibowitz [EMAIL PROTECTED]
Freeware and Technical Pages  Insanity Palace of Metallica
http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
  - Benjamin Franklin, 1759




Re: [vchkpw] Quotas and "upgrades"

2002-08-27 Thread Phil Dibowitz

Rick Macdougall wrote:

> Hi,
> 
> vmoduser -q 1000S @somedomain.com
> 

Rick,

This doesn't seem to work.

If I do:
vmoduser -q 5000S @somedomain.com

I get the error:
no such user @somedomain.com

If I do:
vmoduser -q 5000S somedomain.com

I get the error:
Error: null pointer

I've recompiled and isntalled vpopmail with the '--default-quota=5000S' set.

-- 
Phil Dibowitz [EMAIL PROTECTED]
Freeware and Technical Pages  Insanity Palace of Metallica
http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
  - Benjamin Franklin, 1759




Re: [vchkpw] Re: error adding Simerson patch

2002-08-27 Thread rm

Apparently so.

On Tue, 2002-08-27 at 16:00, chris wrote:
> Don't you Linux guys have to place a line in your ld.conf or something like
> that to point to shared libs?
> 
> Chris
> 
> - Original Message -
> From: "rm" <[EMAIL PROTECTED]>
> To: "vchkpw mailing list" <[EMAIL PROTECTED]>
> Sent: Tuesday, August 27, 2002 11:44 AM
> Subject: Re: [vchkpw] Re: error adding Simerson patch
> 
> 
> > Thanks for the suggestion Chris,
> >
> > I'm using Redhat7.1 (with all updates & patches)
> >
> > My conf-ld looks like this:
> >
> > gcc-s I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient
> > This will be used to link .o files into an executable
> >
> > By comparing your conf-ld file to mine, mine appears to be missing a -L
> > and missing a path to the -lmysqlclient so I tried editing the file to
> > add the "missing links" - but I got the same result.
> >
> > Any other thoughts?
> >
> > regis
> >
> >
> > On Mon, 2002-08-26 at 19:24, chris wrote:
> > > In Solaris, you have to use a -R to compile in the path to the linked
> lib...
> > > I didn't see what OS you were using but maybe this'll help you out:
> > >
> > > mail4:~/devel/ucspi-chris 8% cat conf-cc
> > > gcc -O2 -I/usr/local/mysql/include/mysql
> > >
> > > conf-ld
> > >
> gcc -s  -I/usr/local/mysql/include/mysql -R/usr/local/mysql/lib/mysql -L/usr
> > > /local/mysql/lib/mysql -lmysqlclient
> > >
> > > This will be used to link .o files into an executable.
> > >
> > > hope it helps.
> > >
> > > Chris Bunnell
> > > Senior Engineer - Network Implementation
> > > Avantac Technologies, Inc. - Formerly Sonic Internet Services
> > > 9719 Lincoln Village Drive #503
> > > Sacramento, CA. 95827
> > > (916) 854-5940
> > > www.avantac.com
> > > Powered by Sun.  My other OS is your Linux box.
> > > "While others are dot flopping, we're not stopping."
> > >
> > >
> > > - Original Message -
> > > From: "rm" <[EMAIL PROTECTED]>
> > > To: "vchkpw mailing list" <[EMAIL PROTECTED]>
> > > Sent: Monday, August 26, 2002 4:18 PM
> > > Subject: [vchkpw] Re: error adding Simerson patch
> > >
> > >
> > > > On Mon, 2002-08-26 at 07:44, rm wrote:
> > > > > I was attempting to add the simerson ucspi-tcp-0.88-mysql.patch as
> > > > > suggested in the vpopmail INSTALL file.
> > > > >
> > > > > I placed the patch in the ucspi-tcp source directory and entered:
> > > > > "patch -p1 < ./ucspi-tcp-0.88-mysql.patch"
> > > > >
> > > > > I get an error the reads:
> > > > >
> > > > > missing header for context diff at line 3 of patch
> > > > > can't find file to patch at input line 3"
> > > > > The text leading up to this was:
> > > > > ---
> > > > > |***tcpserver.c.origWed Mar 14 10:21:33 2001
> > > > > |---tcpserver.cFri Mar 16 13:53:52 2001
> > > > > -
> > > > > File to patch:
> > > > >
> > > > > So it seems I'm doing something wrong - any suggestions?
> > > > >
> > > > > regis
> > > >
> > > >
> > > > OK OK, I figured what I was doing wrong and the patch applied ok.
> > > > But...
> > > >
> > > >  When I try to "make" ucspi-tcp it starts to compile fine, then it
> > > > chokes
> > > >  at:
> > > >   ./makelib byte.a byte_chr.o byte_copy.o bytecr.o \
> > > >   byte_diff.o bytecr.o byte_zero.o case_diffb.o \
> > > >   case_diffs.o fmt_ulong.o ip4_fmt.o ip4_scan.o scan_ulong.o \
> > > >   str_chr.o str_diff.o str_len.o str_start.o uint16_pack.o \
> > > >   uint16_upack.o uint32_pack.o uint32_unpack.o
> > > >   ( ( ./compile trylsock.c && \
> > > >   ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \
> > > >   && echo -lsocket -lnsl || exit 0 ) > socket.lib
> > > >   rm -f trylsock.o trylsock
> > > >   ./load tcpserver rules.o db.o remoteinfo.o timeoutconn.o cdb.a \
> > > >   dns.a time.a unix.a byte.a 'cat socket.lib'
> > > >   db.o: IN function 'open_db':
> > > >   db.o(.text+0x14): undefined reference to 'mysql_close'
> > > >
> > > >  Then goes on to list 11 other "undfined references" to mysql common
> > > >  mysql functions mysql_init; _real_connenct; _error; _query; etc. and
> > > >  finally quits with:
> > > >
> > > >   collect2: ld returned 1 exit status
> > > >   make: *** [tcpserver] Error 1
> > > >
> > > >  Mysql is installed and working properly, I edited the conf-ld and
> > > >  conf-cc files to include the correct path to mysql.  I did notice
> that
> > > >  the compile command in conf-ld begins with gcc -s.  I don't know what
> > > >  the s indicates or if that could be a problem.
> > > >
> > > >  Anyone else have problems applying this patch?  Any ideas?
> > > >
> > > >  regis
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> >
> 





Re: [vchkpw] Re: error adding Simerson patch

2002-08-27 Thread chris

Don't you Linux guys have to place a line in your ld.conf or something like
that to point to shared libs?

Chris

- Original Message -
From: "rm" <[EMAIL PROTECTED]>
To: "vchkpw mailing list" <[EMAIL PROTECTED]>
Sent: Tuesday, August 27, 2002 11:44 AM
Subject: Re: [vchkpw] Re: error adding Simerson patch


> Thanks for the suggestion Chris,
>
> I'm using Redhat7.1 (with all updates & patches)
>
> My conf-ld looks like this:
>
> gcc-s I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient
> This will be used to link .o files into an executable
>
> By comparing your conf-ld file to mine, mine appears to be missing a -L
> and missing a path to the -lmysqlclient so I tried editing the file to
> add the "missing links" - but I got the same result.
>
> Any other thoughts?
>
> regis
>
>
> On Mon, 2002-08-26 at 19:24, chris wrote:
> > In Solaris, you have to use a -R to compile in the path to the linked
lib...
> > I didn't see what OS you were using but maybe this'll help you out:
> >
> > mail4:~/devel/ucspi-chris 8% cat conf-cc
> > gcc -O2 -I/usr/local/mysql/include/mysql
> >
> > conf-ld
> >
gcc -s  -I/usr/local/mysql/include/mysql -R/usr/local/mysql/lib/mysql -L/usr
> > /local/mysql/lib/mysql -lmysqlclient
> >
> > This will be used to link .o files into an executable.
> >
> > hope it helps.
> >
> > Chris Bunnell
> > Senior Engineer - Network Implementation
> > Avantac Technologies, Inc. - Formerly Sonic Internet Services
> > 9719 Lincoln Village Drive #503
> > Sacramento, CA. 95827
> > (916) 854-5940
> > www.avantac.com
> > Powered by Sun.  My other OS is your Linux box.
> > "While others are dot flopping, we're not stopping."
> >
> >
> > - Original Message -
> > From: "rm" <[EMAIL PROTECTED]>
> > To: "vchkpw mailing list" <[EMAIL PROTECTED]>
> > Sent: Monday, August 26, 2002 4:18 PM
> > Subject: [vchkpw] Re: error adding Simerson patch
> >
> >
> > > On Mon, 2002-08-26 at 07:44, rm wrote:
> > > > I was attempting to add the simerson ucspi-tcp-0.88-mysql.patch as
> > > > suggested in the vpopmail INSTALL file.
> > > >
> > > > I placed the patch in the ucspi-tcp source directory and entered:
> > > > "patch -p1 < ./ucspi-tcp-0.88-mysql.patch"
> > > >
> > > > I get an error the reads:
> > > >
> > > > missing header for context diff at line 3 of patch
> > > > can't find file to patch at input line 3"
> > > > The text leading up to this was:
> > > > ---
> > > > |***tcpserver.c.origWed Mar 14 10:21:33 2001
> > > > |---tcpserver.cFri Mar 16 13:53:52 2001
> > > > -
> > > > File to patch:
> > > >
> > > > So it seems I'm doing something wrong - any suggestions?
> > > >
> > > > regis
> > >
> > >
> > > OK OK, I figured what I was doing wrong and the patch applied ok.
> > > But...
> > >
> > >  When I try to "make" ucspi-tcp it starts to compile fine, then it
> > > chokes
> > >  at:
> > >   ./makelib byte.a byte_chr.o byte_copy.o bytecr.o \
> > >   byte_diff.o bytecr.o byte_zero.o case_diffb.o \
> > >   case_diffs.o fmt_ulong.o ip4_fmt.o ip4_scan.o scan_ulong.o \
> > >   str_chr.o str_diff.o str_len.o str_start.o uint16_pack.o \
> > >   uint16_upack.o uint32_pack.o uint32_unpack.o
> > >   ( ( ./compile trylsock.c && \
> > >   ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \
> > >   && echo -lsocket -lnsl || exit 0 ) > socket.lib
> > >   rm -f trylsock.o trylsock
> > >   ./load tcpserver rules.o db.o remoteinfo.o timeoutconn.o cdb.a \
> > >   dns.a time.a unix.a byte.a 'cat socket.lib'
> > >   db.o: IN function 'open_db':
> > >   db.o(.text+0x14): undefined reference to 'mysql_close'
> > >
> > >  Then goes on to list 11 other "undfined references" to mysql common
> > >  mysql functions mysql_init; _real_connenct; _error; _query; etc. and
> > >  finally quits with:
> > >
> > >   collect2: ld returned 1 exit status
> > >   make: *** [tcpserver] Error 1
> > >
> > >  Mysql is installed and working properly, I edited the conf-ld and
> > >  conf-cc files to include the correct path to mysql.  I did notice
that
> > >  the compile command in conf-ld begins with gcc -s.  I don't know what
> > >  the s indicates or if that could be a problem.
> > >
> > >  Anyone else have problems applying this patch?  Any ideas?
> > >
> > >  regis
> > >
> > >
> > >
> > >
> > >
> >
>
>
>




RE: [vchkpw] Where is vchkpw in this pic?

2002-08-27 Thread Clayton Weise

Well.. vchkpw wouldn't be used in this pic since it illustrates mail
delivery with qmail.  But vdelivermail does get used in mail delivery.

When the delivery reaches qmail-local, qmail-local searches in the home
directory of the user (as assigned in /home/of/qmail/users/assign, and in
actuality, qmail reads the cdb file and not the actual assign text file) for
any .qmail files.  In every ~vpopmail/domains/domain.dom directory exists a
.qmail-default file which pipes over to vdelivermail.  vdelivermail searches
for the Maildir of the user and drops the mail into their box, if it can't
find the user it then does the next step defined to it.  Which can be
bounce-no-mailbox, where is bounces the message back to the sender when it
can't find a mailbox, it can just quietly delete the message and not bounce
anything back to the sender but also not deliver it to a box, or it can send
it to the "catch all" account.

vchkpw is the password checking utility to authenticate a user.  It's used
in pop3d and imapd for authenticating users.

-Clayton

-Original Message-
From: Malcolm [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 26, 2002 4:22 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Where is vchkpw in this pic?


Hi,

Could someone explain to me where in this pic vpopmail intercepts?

http://www.nrg4u.com/qmail/the-big-qmail-picture-103-p1.gif

Thanks
Malcolm




[vchkpw] Where is vchkpw in this pic?

2002-08-27 Thread Malcolm

Hi,

Could someone explain to me where in this pic vpopmail intercepts?

http://www.nrg4u.com/qmail/the-big-qmail-picture-103-p1.gif

Thanks
Malcolm



[vchkpw] Another make error

2002-08-27 Thread Thiago Campos

now i'm getting the following error:

make  all-recursive
make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1'
Making all in cdb
make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb'
make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1'
gcc  -g -O2 -Wall  -o clearopensmtp  clearopensmtp.o
libvpopmail.a -L/usr/lib/mysql  -lmysqlclient -lz -lnsl -lcrypt -lm
clearopensmtp.o: In function `main':
/usr/local/src/vpopmail-5.2.1/clearopensmtp.c:53: undefined reference to
`vclear_open_smtp'
/usr/local/src/vpopmail-5.2.1/clearopensmtp.c:82: undefined reference to
`update_rules'
collect2: ld returned 1 exit status
make[2]: *** [clearopensmtp] Error 1
make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make: *** [all-recursive-am] Error 2

Thiago



FW: [vchkpw] Vacation Messages *and* redirect

2002-08-27 Thread Jon Coulter

'tmp file'... I meant to say 'tmp fail' ;p

Jon Coulter
[EMAIL PROTECTED] 

-Original Message-
From: Jon Coulter [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 27, 2002 2:47 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] Vacation Messages *and* redirect


Ah, touché. I knew that an empty file would cause qmail to consider it a
'tmp file', but I never figured that it would treat an comment-line'd
file any different. And my point about not using fileio is that
something like '/bin/cat > /dev/null' would actually have cat reading
from stdin, and print to stdout, where as '/bin/cat /dev/null' would
just tell cat to read /dev/null and print to stdio, and said file is
obviously empty, so very little cpu/fileio :)

Jon Coulter
[EMAIL PROTECTED] 

-Original Message-
From: Peter Palmreuther [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 27, 2002 11:57 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Vacation Messages *and* redirect


Hello Jon,

On Tuesday, August 27, 2002 at 7:40:18 AM you wrote:

> | /bin/cat /dev/null

> This will cause cat to cat /dev/null (which takes no fileio cpu, since

> its null and empty), and exits with a clean 0, telling vpopmail that
> everything went okay.

It will create a process and therefor use fileIO and CPU, as it has to
look for '/bin/cat', read the file and execute it; therefore reserve
memory, etc. etc. etc ...

Why not doing it the 'qmail-way'???

$>cat .qmail-emtpy
#

This will make qmail-local ignore the line as it is 'only' a comment,
but not take any further steps for delivering the mail, as one valid
instruction (the dot-qmail-file) was found. No need to spawn additional
processes or doing some really nifty stuff to make simple thing look
really complicated done by a simple instruction :-)
-- 
Best regards
Peter Palmreuthermailto:[EMAIL PROTECTED]




RE: [vchkpw] Vacation Messages *and* redirect

2002-08-27 Thread Jon Coulter

Ah, touché. I knew that an empty file would cause qmail to consider it a
'tmp file', but I never figured that it would treat an comment-line'd
file any different. And my point about not using fileio is that
something like '/bin/cat > /dev/null' would actually have cat reading
from stdin, and print to stdout, where as '/bin/cat /dev/null' would
just tell cat to read /dev/null and print to stdio, and said file is
obviously empty, so very little cpu/fileio :)

Jon Coulter
[EMAIL PROTECTED] 

-Original Message-
From: Peter Palmreuther [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 27, 2002 11:57 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Vacation Messages *and* redirect


Hello Jon,

On Tuesday, August 27, 2002 at 7:40:18 AM you wrote:

> | /bin/cat /dev/null

> This will cause cat to cat /dev/null (which takes no fileio cpu, since

> its null and empty), and exits with a clean 0, telling vpopmail that 
> everything went okay.

It will create a process and therefor use fileIO and CPU, as it has to
look for '/bin/cat', read the file and execute it; therefore reserve
memory, etc. etc. etc ...

Why not doing it the 'qmail-way'???

$>cat .qmail-emtpy
#

This will make qmail-local ignore the line as it is 'only' a comment,
but not take any further steps for delivering the mail, as one valid
instruction (the dot-qmail-file) was found. No need to spawn additional
processes or doing some really nifty stuff to make simple thing look
really complicated done by a simple instruction :-)
-- 
Best regards
Peter Palmreuthermailto:[EMAIL PROTECTED]




Re: [vchkpw] Re: error adding Simerson patch

2002-08-27 Thread rm

Thanks for the suggestion Chris,

I'm using Redhat7.1 (with all updates & patches)

My conf-ld looks like this:

gcc-s I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient
This will be used to link .o files into an executable

By comparing your conf-ld file to mine, mine appears to be missing a -L
and missing a path to the -lmysqlclient so I tried editing the file to
add the "missing links" - but I got the same result.

Any other thoughts?

regis


On Mon, 2002-08-26 at 19:24, chris wrote:
> In Solaris, you have to use a -R to compile in the path to the linked lib...
> I didn't see what OS you were using but maybe this'll help you out:
> 
> mail4:~/devel/ucspi-chris 8% cat conf-cc
> gcc -O2 -I/usr/local/mysql/include/mysql
> 
> conf-ld
> gcc -s  -I/usr/local/mysql/include/mysql -R/usr/local/mysql/lib/mysql -L/usr
> /local/mysql/lib/mysql -lmysqlclient
> 
> This will be used to link .o files into an executable.
> 
> hope it helps.
> 
> Chris Bunnell
> Senior Engineer - Network Implementation
> Avantac Technologies, Inc. - Formerly Sonic Internet Services
> 9719 Lincoln Village Drive #503
> Sacramento, CA. 95827
> (916) 854-5940
> www.avantac.com
> Powered by Sun.  My other OS is your Linux box.
> "While others are dot flopping, we're not stopping."
> 
> 
> - Original Message -
> From: "rm" <[EMAIL PROTECTED]>
> To: "vchkpw mailing list" <[EMAIL PROTECTED]>
> Sent: Monday, August 26, 2002 4:18 PM
> Subject: [vchkpw] Re: error adding Simerson patch
> 
> 
> > On Mon, 2002-08-26 at 07:44, rm wrote:
> > > I was attempting to add the simerson ucspi-tcp-0.88-mysql.patch as
> > > suggested in the vpopmail INSTALL file.
> > >
> > > I placed the patch in the ucspi-tcp source directory and entered:
> > > "patch -p1 < ./ucspi-tcp-0.88-mysql.patch"
> > >
> > > I get an error the reads:
> > >
> > > missing header for context diff at line 3 of patch
> > > can't find file to patch at input line 3"
> > > The text leading up to this was:
> > > ---
> > > |***tcpserver.c.origWed Mar 14 10:21:33 2001
> > > |---tcpserver.cFri Mar 16 13:53:52 2001
> > > -
> > > File to patch:
> > >
> > > So it seems I'm doing something wrong - any suggestions?
> > >
> > > regis
> >
> >
> > OK OK, I figured what I was doing wrong and the patch applied ok.
> > But...
> >
> >  When I try to "make" ucspi-tcp it starts to compile fine, then it
> > chokes
> >  at:
> >   ./makelib byte.a byte_chr.o byte_copy.o bytecr.o \
> >   byte_diff.o bytecr.o byte_zero.o case_diffb.o \
> >   case_diffs.o fmt_ulong.o ip4_fmt.o ip4_scan.o scan_ulong.o \
> >   str_chr.o str_diff.o str_len.o str_start.o uint16_pack.o \
> >   uint16_upack.o uint32_pack.o uint32_unpack.o
> >   ( ( ./compile trylsock.c && \
> >   ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \
> >   && echo -lsocket -lnsl || exit 0 ) > socket.lib
> >   rm -f trylsock.o trylsock
> >   ./load tcpserver rules.o db.o remoteinfo.o timeoutconn.o cdb.a \
> >   dns.a time.a unix.a byte.a 'cat socket.lib'
> >   db.o: IN function 'open_db':
> >   db.o(.text+0x14): undefined reference to 'mysql_close'
> >
> >  Then goes on to list 11 other "undfined references" to mysql common
> >  mysql functions mysql_init; _real_connenct; _error; _query; etc. and
> >  finally quits with:
> >
> >   collect2: ld returned 1 exit status
> >   make: *** [tcpserver] Error 1
> >
> >  Mysql is installed and working properly, I edited the conf-ld and
> >  conf-cc files to include the correct path to mysql.  I did notice that
> >  the compile command in conf-ld begins with gcc -s.  I don't know what
> >  the s indicates or if that could be a problem.
> >
> >  Anyone else have problems applying this patch?  Any ideas?
> >
> >  regis
> >
> >
> >
> >
> >
> 





Re: [vchkpw] -lz instalation error

2002-08-27 Thread Thiago Campos

Thanks to everybody who helped me.
The problem was solved when i installed the zlib-devel

But now i'm getting the following error:

make  all-recursive
make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1'
Making all in cdb
make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb'
make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1'
gcc  -g -O2 -Wall  -o clearopensmtp  clearopensmtp.o
libvpopmail.a -L/usr/lib/mysql  -lmysqlclient -lz -lnsl -lcrypt -lm
clearopensmtp.o: In function `main':
/usr/local/src/vpopmail-5.2.1/clearopensmtp.c:53: undefined reference to
`vclear_open_smtp'
/usr/local/src/vpopmail-5.2.1/clearopensmtp.c:82: undefined reference to
`update_rules'
collect2: ld returned 1 exit status
make[2]: *** [clearopensmtp] Error 1
make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make: *** [all-recursive-am] Error 2

Thiago


- Original Message -
From: "Mike" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 27, 2002 11:49 AM
Subject: RE: [vchkpw] -lz instalation error


> Hi,
>
> You should install zlib and zlib-devel.
>
> -Original Message-
> From: Thiago Campos [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 27, 2002 9:42 AM
> To: [EMAIL PROTECTED]
> Subject: [vchkpw] -lz instalation error
>
>
> Hi,
>
> I'm getting the following error on my RH 7.3
>
> This is my ./configure output
>
> vpopmail directory = /home/vpopmail
>uid = 89
>gid = 89
>   ip alias = OFF --enable-ip-alias-domains=n (default) address
> extentions = OFF --enable-qmail-ext=n (default)
>  roaming users = OFF --enable-roaming-users=n default
> user quota = OFF --enable-defaultquota=NOQUOTA default
>auth module = mysql --enable-mysql=y
>  mysql replication = OFF --enable-mysql-replication=n default table
> optimization = many domains --enable-many-domains=y default
>   system passwords = OFF --enable-passwd=n default
>   file locking = ON  --enable-file-locking=y default
>  file sync = OFF --enable-file-sync=n default disable
> vdelivermail fsync
>   auth logging = ON  --enable-auth-logging=y default
>  mysql logging = OFF --enable-mysql-logging=n default
>   clear passwd = ON  --enable-clear-passwd=y (default)  valias
> processing = ON  --enable-valias=y
> pop syslog = show only failure attempts
>  --enable-logging=e default
> default domain =
> email.consult.eng.br --enable-default-domain=email.consult.eng.br
>   auth inc = -I/usr/include/mysql
>   auth lib = -L/usr/lib/mysql  -lmysqlclient -lz
>
>
> [root@email vpopmail-5.2.1]# make
> make  all-recursive
> make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1' Making all
> in cdb
> make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb'
> make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1'
> gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o
> ibvpopmail.a -L/usr/lib/mysql  -lmysqlclient -lz -lnsl -lcrypt -lm
> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status
> make[2]: *** [vchkpw] Error 1
> make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
> make: *** [all-recursive-am] Error 2
>
>
>
>




Re: [vchkpw]passwrod encrypted method

2002-08-27 Thread Peter Palmreuther

Hello zafar,

On Tuesday, August 27, 2002 at 7:07:57 AM you wrote:

> sir i do everything according to ur instruction.i found a error when i run
> vmkpasswd command of segmentation fault.

Assuming you're running a flavor of Linux:
Open a command line, chdir to domains directory
(~vpopmail/domains/) and run

strace -o /tmp/vmkpasswd.log -s 128 vmkpasswd 

mail the content of /tmp/vmkpasswd
-- 
Best regards
Peter Palmreuthermailto:[EMAIL PROTECTED]




Re: [vchkpw] qmail vs ms exchange???

2002-08-27 Thread Roger Walker

While everyone seems to be looking for Exchange's groupware
features in a *nix product, would there be any issues with using qmail for
the MTA and Exchange for the other groupware features? Outlook can
certainly be configured to pop mail from qmail, but can Exchange be
configured to send it's email via an MTA other than it's own (i.e. for
scheduling notifications)?

-- 
Roger Walker 
Voice/Fax 1-780-440-2685 
"HIS Pain; YOUR Gain"





Re: [vchkpw] Vacation Messages *and* redirect

2002-08-27 Thread Peter Palmreuther

Hello Jon,

On Tuesday, August 27, 2002 at 7:40:18 AM you wrote:

> | /bin/cat /dev/null

> This will cause cat to cat /dev/null (which takes no fileio cpu, since
> its null and empty), and exits with a clean 0, telling vpopmail that
> everything went okay.

It will create a process and therefor use fileIO and CPU, as it has to look
for '/bin/cat', read the file and execute it; therefore reserve memory,
etc. etc. etc ...

Why not doing it the 'qmail-way'???

$>cat .qmail-emtpy
#

This will make qmail-local ignore the line as it is 'only' a comment, but
not take any further steps for delivering the mail, as one valid
instruction (the dot-qmail-file) was found.
No need to spawn additional processes or doing some really nifty stuff to
make simple thing look really complicated done by a simple instruction :-)
-- 
Best regards
Peter Palmreuthermailto:[EMAIL PROTECTED]




Re: [vchkpw]passwrod encrypted method

2002-08-27 Thread Peter Palmreuther

Hello zafar,

On Tuesday, August 27, 2002 at 5:07:58 PM you wrote:

> plz also tell me in the response mail ,how can i fix the SALT with vpopmail
> SALT,to get same encrypted passwd value ,like vpopmail.

You don't want the same SALT every time. You don't want the same SALT as
already used in vpasswd.
SALT is intended to be different every time a password is created /
encrypted and only reused for _checking_ the password by password checking
routines as vchkpw.
The SALT the given PHP-functions use is build the same way vpopmail does:

'$1$' + 5 random characters + '0'

So syntactically and functionally password generated by example PHP
functions are equal to vpopmail-encrypted passwords.

> also tell me about " SEGMENTATION FAULT"

What to tell you about 'segmentation fault'???
Read yourself what a 'segmentation fault' is:

http://www.c-for-dummies.com/lessons/linux/01/

Why 'vmkpasswd' generates this segmentation fault? /I don't know/.
After you've read the document above you'll probably understand why there
ain't a 'Formular F()' answer.

You did not even wrote what version of vpopmail you're using, so maybe this
is already fixed in a newer version?!? Who knows.

Additionally I asked you to do a 'strace' call. I've seen no output yet,
hard to tell you what _might_ go wrong.

Next question is: you seem to change passwords from webserver. Are you sure
access permissions are correct and webserver user is allowed to
1.) change 'vpasswd' ?
2.) call vmkpasswd to generate vpasswd.cdb ?
   Remember: only 'root' and 'vpopmail' are allowed to write to
   'vpasswd.cdb', so if your webserver is e.g. running as 'nobody' you
   can't succeed without using 'sudo' mechanisms.

If all fails and you're unable to debug and break it down to a concrete
cause of error: don't generate passwords your self, don't write them to
vpasswd and don't run vmkpasswd manually.
Write a wrapper script that calls 'vpasswd' directly via 'sudo' mechanism.

Syntax for calling 'vpasswd' is

vpasswd  

So to change password for '[EMAIL PROTECTED]' to 'john_doe-foo_bar' the
syntax is:

vpasswd [EMAIL PROTECTED] john_doe-foo_bar
-- 
Best regards
Peter Palmreuthermailto:[EMAIL PROTECTED]




Re: [vchkpw] qmail vs ms exchange???

2002-08-27 Thread Dzuy Nguyen

qmail: 0$
MS Xchange: 


Yee Siew Chin wrote:

>Hi,
>
>Does anybody has any write-up of qmail vs ms exchange?
>
>Rgds,
>Yee
>
>__
>Do You Yahoo!?
>Yahoo! Finance - Get real-time stock quotes
>http://finance.yahoo.com
>
>





[vchkpw] qmail vs ms exchange???

2002-08-27 Thread Yee Siew Chin

Hi,

Does anybody has any write-up of qmail vs ms exchange?

Rgds,
Yee

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com



Re: [vchkpw] Re: error adding Simerson patch

2002-08-27 Thread chris

In Solaris, you have to use a -R to compile in the path to the linked lib...
I didn't see what OS you were using but maybe this'll help you out:

mail4:~/devel/ucspi-chris 8% cat conf-cc
gcc -O2 -I/usr/local/mysql/include/mysql

conf-ld
gcc -s  -I/usr/local/mysql/include/mysql -R/usr/local/mysql/lib/mysql -L/usr
/local/mysql/lib/mysql -lmysqlclient

This will be used to link .o files into an executable.

hope it helps.

Chris Bunnell
Senior Engineer - Network Implementation
Avantac Technologies, Inc. - Formerly Sonic Internet Services
9719 Lincoln Village Drive #503
Sacramento, CA. 95827
(916) 854-5940
www.avantac.com
Powered by Sun.  My other OS is your Linux box.
"While others are dot flopping, we're not stopping."


- Original Message -
From: "rm" <[EMAIL PROTECTED]>
To: "vchkpw mailing list" <[EMAIL PROTECTED]>
Sent: Monday, August 26, 2002 4:18 PM
Subject: [vchkpw] Re: error adding Simerson patch


> On Mon, 2002-08-26 at 07:44, rm wrote:
> > I was attempting to add the simerson ucspi-tcp-0.88-mysql.patch as
> > suggested in the vpopmail INSTALL file.
> >
> > I placed the patch in the ucspi-tcp source directory and entered:
> > "patch -p1 < ./ucspi-tcp-0.88-mysql.patch"
> >
> > I get an error the reads:
> >
> > missing header for context diff at line 3 of patch
> > can't find file to patch at input line 3"
> > The text leading up to this was:
> > ---
> > |***tcpserver.c.origWed Mar 14 10:21:33 2001
> > |---tcpserver.cFri Mar 16 13:53:52 2001
> > -
> > File to patch:
> >
> > So it seems I'm doing something wrong - any suggestions?
> >
> > regis
>
>
> OK OK, I figured what I was doing wrong and the patch applied ok.
> But...
>
>  When I try to "make" ucspi-tcp it starts to compile fine, then it
> chokes
>  at:
>   ./makelib byte.a byte_chr.o byte_copy.o bytecr.o \
>   byte_diff.o bytecr.o byte_zero.o case_diffb.o \
>   case_diffs.o fmt_ulong.o ip4_fmt.o ip4_scan.o scan_ulong.o \
>   str_chr.o str_diff.o str_len.o str_start.o uint16_pack.o \
>   uint16_upack.o uint32_pack.o uint32_unpack.o
>   ( ( ./compile trylsock.c && \
>   ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \
>   && echo -lsocket -lnsl || exit 0 ) > socket.lib
>   rm -f trylsock.o trylsock
>   ./load tcpserver rules.o db.o remoteinfo.o timeoutconn.o cdb.a \
>   dns.a time.a unix.a byte.a 'cat socket.lib'
>   db.o: IN function 'open_db':
>   db.o(.text+0x14): undefined reference to 'mysql_close'
>
>  Then goes on to list 11 other "undfined references" to mysql common
>  mysql functions mysql_init; _real_connenct; _error; _query; etc. and
>  finally quits with:
>
>   collect2: ld returned 1 exit status
>   make: *** [tcpserver] Error 1
>
>  Mysql is installed and working properly, I edited the conf-ld and
>  conf-cc files to include the correct path to mysql.  I did notice that
>  the compile command in conf-ld begins with gcc -s.  I don't know what
>  the s indicates or if that could be a problem.
>
>  Anyone else have problems applying this patch?  Any ideas?
>
>  regis
>
>
>
>
>




RE: [vchkpw] -lz instalation error

2002-08-27 Thread Mike

Hi,

You should install zlib and zlib-devel.

-Original Message-
From: Thiago Campos [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 27, 2002 9:42 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] -lz instalation error


Hi,

I'm getting the following error on my RH 7.3

This is my ./configure output

vpopmail directory = /home/vpopmail
   uid = 89
   gid = 89
  ip alias = OFF --enable-ip-alias-domains=n (default) address
extentions = OFF --enable-qmail-ext=n (default)
 roaming users = OFF --enable-roaming-users=n default
user quota = OFF --enable-defaultquota=NOQUOTA default
   auth module = mysql --enable-mysql=y
 mysql replication = OFF --enable-mysql-replication=n default table
optimization = many domains --enable-many-domains=y default
  system passwords = OFF --enable-passwd=n default
  file locking = ON  --enable-file-locking=y default
 file sync = OFF --enable-file-sync=n default disable
vdelivermail fsync
  auth logging = ON  --enable-auth-logging=y default
 mysql logging = OFF --enable-mysql-logging=n default
  clear passwd = ON  --enable-clear-passwd=y (default)  valias
processing = ON  --enable-valias=y
pop syslog = show only failure attempts
 --enable-logging=e default
default domain =
email.consult.eng.br --enable-default-domain=email.consult.eng.br
  auth inc = -I/usr/include/mysql
  auth lib = -L/usr/lib/mysql  -lmysqlclient -lz


[root@email vpopmail-5.2.1]# make
make  all-recursive
make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1' Making all
in cdb
make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb'
make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1'
gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o
ibvpopmail.a -L/usr/lib/mysql  -lmysqlclient -lz -lnsl -lcrypt -lm
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [vchkpw] Error 1
make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make: *** [all-recursive-am] Error 2







Re: [vchkpw] -lz instalation error

2002-08-27 Thread Thiago Campos

zlib is installed!

[root@email vpopmail-5.2.1]# rpm -q zlib
zlib-1.1.3-25.7

The libmysqlclient is in the /usr/lib/mysql


- Original Message -
From: "Dzuy Nguyen" <[EMAIL PROTECTED]>
To: "Thiago Campos" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, August 27, 2002 11:32 AM
Subject: Re: [vchkpw] -lz instalation error


> Install zlib!
>
> Thiago Campos wrote:
>
> >Hi,
> >
> >I'm getting the following error on my RH 7.3
> >
> >This is my ./configure output
> >
> >vpopmail directory = /home/vpopmail
> >   uid = 89
> >   gid = 89
> >  ip alias = OFF --enable-ip-alias-domains=n (default)
> >address extentions = OFF --enable-qmail-ext=n (default)
> > roaming users = OFF --enable-roaming-users=n default
> >user quota = OFF --enable-defaultquota=NOQUOTA default
> >   auth module = mysql --enable-mysql=y
> > mysql replication = OFF --enable-mysql-replication=n default
> >table optimization = many domains --enable-many-domains=y default
> >  system passwords = OFF --enable-passwd=n default
> >  file locking = ON  --enable-file-locking=y default
> > file sync = OFF --enable-file-sync=n default disable
vdelivermail
> >fsync
> >  auth logging = ON  --enable-auth-logging=y default
> > mysql logging = OFF --enable-mysql-logging=n default
> >  clear passwd = ON  --enable-clear-passwd=y (default)
> > valias processing = ON  --enable-valias=y
> >pop syslog = show only failure attempts
> > --enable-logging=e default
> >default domain =
> >email.consult.eng.br --enable-default-domain=email.consult.eng.br
> >  auth inc = -I/usr/include/mysql
> >  auth lib = -L/usr/lib/mysql  -lmysqlclient -lz
> >
> >
> >[root@email vpopmail-5.2.1]# make
> >make  all-recursive
> >make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1'
> >Making all in cdb
> >make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb'
> >make[2]: Nothing to be done for `all'.
> >make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb'
> >make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1'
> >gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o
> >ibvpopmail.a -L/usr/lib/mysql  -lmysqlclient -lz -lnsl -lcrypt -lm
> >/usr/bin/ld: cannot find -lz
> >collect2: ld returned 1 exit status
> >make[2]: *** [vchkpw] Error 1
> >make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
> >make[1]: *** [all-recursive] Error 1
> >make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
> >make: *** [all-recursive-am] Error 2
> >
> >
> >
>
>




RE: [vchkpw] Vacation Messages *and* redirect

2002-08-27 Thread Jon Coulter

Create a .qmail- file for that person with the auto-responder line
in it (I'm not sure off the top of my head what that syntax is). If
there is a .qmail- file in the domain's home directory, then
vpopmail (well qmail, really) ignores the 'real' user, and does whatever
the .qmail file says to do (so it will send the auto respond, and then
never save the message anywhere).

Alternately, you can put this in the
~vpopmail/domains/domain.ext/user/.qmail file:

| /bin/cat /dev/null

This will cause cat to cat /dev/null (which takes no fileio cpu, since
its null and empty), and exits with a clean 0, telling vpopmail that
everything went okay.

There are many ways to do many things, isn't qmail/vpopmail great? :)

Jon Coulter
[EMAIL PROTECTED] 

-Original Message-
From: Phil Dibowitz [mailto:[EMAIL PROTECTED]] 
Sent: Monday, August 26, 2002 6:57 PM
To: vchkpw
Subject: [vchkpw] Vacation Messages *and* redirect


Hey all,

I'd like to have a user whose email is redirected to /dev/null, and who
has an 
  auto-responder (vacation message).

I'm not quite sure how to go about this, can someone tell me if it's
possible, 
and maybe tell me how to do it, or point me to a link if it's documented

already...

Thanks,
-- 
Phil Dibowitz [EMAIL PROTECTED]
Freeware and Technical Pages  Insanity Palace of Metallica
http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
  - Benjamin Franklin, 1759




Re: [vchkpw] vpopmail integrate with windows 2000 active directory

2002-08-27 Thread Steve Fulton

At 20:12 26/08/2002 -0700, Yee Siew Chin wrote:

>how can i integrate vpopmail to authenticate with
>windows 2000 active directory?

Write your own module.  Or Inter7 could do it for a fee.

-- Steve




Re: [vchkpw] vpopmail integrate with windows 2000 active directory

2002-08-27 Thread Alfredo Perez

  Hi Yee,


 It could be possible if you develop your own PAM module to go and
authenticate against the active directory.  Everything depends directly
upom how "open" is the active directory authentication protocol.  But I
don't see it impossible.


 
  Good Luck !

On Mon, 2002-08-26 at 22:12, Yee Siew Chin wrote:
> how can i integrate vpopmail to authenticate with
> windows 2000 active directory?
> 
> rgds,
> yee
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com





Re: [vchkpw] Vacation Messages *and* redirect

2002-08-27 Thread Phil Dibowitz

Jon Coulter wrote:

> Alternately, you can put this in the
> ~vpopmail/domains/domain.ext/user/.qmail file:
> 
> | /bin/cat /dev/null
> 
> This will cause cat to cat /dev/null (which takes no fileio cpu, since
> its null and empty), and exits with a clean 0, telling vpopmail that
> everything went okay.
> 
> There are many ways to do many things, isn't qmail/vpopmail great? :)


OK, I will experiment. I was worried that if I did the above the autoresponder 
would not work.

Many thanks.
-- 
Phil Dibowitz [EMAIL PROTECTED]
Freeware and Technical Pages  Insanity Palace of Metallica
http://home.earthlink.net/~jaymzh666/ http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
  - Benjamin Franklin, 1759




Re: [vchkpw] -lz instalation error

2002-08-27 Thread Alfredo Perez

  Hi Thiago,


 I think you need the zlib package (also zlib-dev).  That might solve
your problem


 Regards !


On Tue, 2002-08-27 at 08:41, Thiago Campos wrote:
> Hi,
> 
> I'm getting the following error on my RH 7.3
> 
> This is my ./configure output
> 
> vpopmail directory = /home/vpopmail
>uid = 89
>gid = 89
>   ip alias = OFF --enable-ip-alias-domains=n (default)
> address extentions = OFF --enable-qmail-ext=n (default)
>  roaming users = OFF --enable-roaming-users=n default
> user quota = OFF --enable-defaultquota=NOQUOTA default
>auth module = mysql --enable-mysql=y
>  mysql replication = OFF --enable-mysql-replication=n default
> table optimization = many domains --enable-many-domains=y default
>   system passwords = OFF --enable-passwd=n default
>   file locking = ON  --enable-file-locking=y default
>  file sync = OFF --enable-file-sync=n default disable vdelivermail
> fsync
>   auth logging = ON  --enable-auth-logging=y default
>  mysql logging = OFF --enable-mysql-logging=n default
>   clear passwd = ON  --enable-clear-passwd=y (default)
>  valias processing = ON  --enable-valias=y
> pop syslog = show only failure attempts
>  --enable-logging=e default
> default domain =
> email.consult.eng.br --enable-default-domain=email.consult.eng.br
>   auth inc = -I/usr/include/mysql
>   auth lib = -L/usr/lib/mysql  -lmysqlclient -lz
> 
> 
> [root@email vpopmail-5.2.1]# make
> make  all-recursive
> make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1'
> Making all in cdb
> make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb'
> make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1'
> gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o
> ibvpopmail.a -L/usr/lib/mysql  -lmysqlclient -lz -lnsl -lcrypt -lm
> /usr/bin/ld: cannot find -lz
> collect2: ld returned 1 exit status
> make[2]: *** [vchkpw] Error 1
> make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
> make: *** [all-recursive-am] Error 2
> 





Re: [vchkpw] -lz instalation error

2002-08-27 Thread Peter Palmreuther

Hello Thiago,

On Tuesday, August 27, 2002 at 3:41:59 PM you wrote:

> /usr/bin/ld: cannot find -lz

make sure 'zlib' is installed (rpm -qi zlib) and if necessary add the path
of libz.so to /etc/ld.so.conf and run 'ldconfig'

The latter two steps shouldn't be necessary if you install the zlib RPMs
from RedHat.
-- 
Best regards
Peter Palmreuthermailto:[EMAIL PROTECTED]




[vchkpw]passwrod encrypted method

2002-08-27 Thread zafar



sirplz also tell me in the response mail ,how 
can i fix the SALT with vpopmailSALT,to get same encrypted passwd value 
,like vpopmail.also tell me about " SEGMENTATION FAULT"thankswait 
for ur reply.


Re: [vchkpw] vpopmail integrate with windows 2000 active directory

2002-08-27 Thread chris

E Gahhdh!!  Why WOULD you want to?  Leave Bill to his own world.
It's big enough.  If you want a mail server that runs on windoz, try Post
Office... or a myriad of other expensive PAY software.  I'm sure they'll
integrate just peachy with Active Directory (otherwise known as Bill's
attempted invasion of a classic Unix service - DNS)

:)

Chris Bunnell
Senior Engineer - Network Implementation
Avantac Technologies, Inc. - Formerly Sonic Internet Services
9719 Lincoln Village Drive #503
Sacramento, CA. 95827
(916) 854-5940
www.avantac.com
Powered by Sun.  My other OS is your Linux box.
"While others are dot flopping, we're not stopping."


- Original Message -
From: "Yee Siew Chin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 26, 2002 8:12 PM
Subject: [vchkpw] vpopmail integrate with windows 2000 active directory


> how can i integrate vpopmail to authenticate with
> windows 2000 active directory?
>
> rgds,
> yee
>
>
> __
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
>




Re: [vchkpw] -lz instalation error

2002-08-27 Thread Dzuy Nguyen

Install zlib!

Thiago Campos wrote:

>Hi,
>
>I'm getting the following error on my RH 7.3
>
>This is my ./configure output
>
>vpopmail directory = /home/vpopmail
>   uid = 89
>   gid = 89
>  ip alias = OFF --enable-ip-alias-domains=n (default)
>address extentions = OFF --enable-qmail-ext=n (default)
> roaming users = OFF --enable-roaming-users=n default
>user quota = OFF --enable-defaultquota=NOQUOTA default
>   auth module = mysql --enable-mysql=y
> mysql replication = OFF --enable-mysql-replication=n default
>table optimization = many domains --enable-many-domains=y default
>  system passwords = OFF --enable-passwd=n default
>  file locking = ON  --enable-file-locking=y default
> file sync = OFF --enable-file-sync=n default disable vdelivermail
>fsync
>  auth logging = ON  --enable-auth-logging=y default
> mysql logging = OFF --enable-mysql-logging=n default
>  clear passwd = ON  --enable-clear-passwd=y (default)
> valias processing = ON  --enable-valias=y
>pop syslog = show only failure attempts
> --enable-logging=e default
>default domain =
>email.consult.eng.br --enable-default-domain=email.consult.eng.br
>  auth inc = -I/usr/include/mysql
>  auth lib = -L/usr/lib/mysql  -lmysqlclient -lz
>
>
>[root@email vpopmail-5.2.1]# make
>make  all-recursive
>make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1'
>Making all in cdb
>make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb'
>make[2]: Nothing to be done for `all'.
>make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb'
>make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1'
>gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o
>ibvpopmail.a -L/usr/lib/mysql  -lmysqlclient -lz -lnsl -lcrypt -lm
>/usr/bin/ld: cannot find -lz
>collect2: ld returned 1 exit status
>make[2]: *** [vchkpw] Error 1
>make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
>make: *** [all-recursive-am] Error 2
>
>
>





Re: [vchkpw] -lz instalation error

2002-08-27 Thread Dzuy Nguyen



Make sure the LIBRARY_PATH includes the directory where zlib resides or include
it in /etc/ld.cache.conf

Thiago Campos wrote:
020e01c24dd8$84a3d7c0$0400a8c0@terra">
  zlib is installed![root@email vpopmail-5.2.1]# rpm -q zlibzlib-1.1.3-25.7The libmysqlclient is in the /usr/lib/mysql- Original Message -From: "Dzuy Nguyen" <[EMAIL PROTECTED]>To: "Thiago Campos" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>Sent: Tuesday, August 27, 2002 11:32 AMSubject: Re: [vchkpw] -lz instalation error
  
Install zlib!Thiago Campos wrote:

  Hi,I'm getting the following error on my RH 7.3This is my ./configure outputvpopmail directory = /home/vpopmail  uid = 89  gid = 89 ip alias = OFF --enable-ip-alias-domains=n (default)address extentions = OFF --enable-qmail-ext=n (default)roaming users = OFF --enable-roaming-users=n default   user quota = OFF --enable-defaultquota=NOQUOTA default  auth module = mysql --enable-mysql=ymysql replication = OFF --enable-mysql-replication=n defaulttable optimization = many domains --enable-many-domains=y default system passwords = OFF --enable-passwd=n default file locking = ON  --enable-file-locking=y defaultfile sync = OFF --enable-file-sync=n default disable
  
  
  vdelivermail
  

  fsync auth logging = ON  --enable-auth-logging=y defaultmysql logging = OFF --enable-mysql-logging=n default clear passwd = ON  --enable-clear-passwd=y (default)valias processing = ON  --enable-valias=y   pop syslog = show only failure attempts--enable-logging=e default   default domain =email.consult.eng.br --enable-default-domain=email.consult.eng.br auth inc = -I/usr/include/mysql auth lib = -L/usr/lib/mysql  -lmysqlclient -lz[root@email vpopmail-5.2.1]# makemake  all-recursivemake[1]: Entering directory `/usr/local/src/vpopmail-5.2.1'Making all in cdbmake[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb'make[2]: Nothing to be done for `all'.make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb'make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1'gcc  -g -O2 -Wall  -o vchkpw  vchkpw.oibvpop
mail.a -L/usr/lib/mysql  -lmysqlclient -lz -lnsl -lcrypt -lm/usr/bin/ld: cannot find -lzcollect2: ld returned 1 exit statusmake[2]: *** [vchkpw] Error 1make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'make: *** [all-recursive-am] Error 2
  
  
  
  
  
  
  
  


[vchkpw] -lz instalation error

2002-08-27 Thread Thiago Campos

Hi,

I'm getting the following error on my RH 7.3

This is my ./configure output

vpopmail directory = /home/vpopmail
   uid = 89
   gid = 89
  ip alias = OFF --enable-ip-alias-domains=n (default)
address extentions = OFF --enable-qmail-ext=n (default)
 roaming users = OFF --enable-roaming-users=n default
user quota = OFF --enable-defaultquota=NOQUOTA default
   auth module = mysql --enable-mysql=y
 mysql replication = OFF --enable-mysql-replication=n default
table optimization = many domains --enable-many-domains=y default
  system passwords = OFF --enable-passwd=n default
  file locking = ON  --enable-file-locking=y default
 file sync = OFF --enable-file-sync=n default disable vdelivermail
fsync
  auth logging = ON  --enable-auth-logging=y default
 mysql logging = OFF --enable-mysql-logging=n default
  clear passwd = ON  --enable-clear-passwd=y (default)
 valias processing = ON  --enable-valias=y
pop syslog = show only failure attempts
 --enable-logging=e default
default domain =
email.consult.eng.br --enable-default-domain=email.consult.eng.br
  auth inc = -I/usr/include/mysql
  auth lib = -L/usr/lib/mysql  -lmysqlclient -lz


[root@email vpopmail-5.2.1]# make
make  all-recursive
make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1'
Making all in cdb
make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb'
make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1'
gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o
ibvpopmail.a -L/usr/lib/mysql  -lmysqlclient -lz -lnsl -lcrypt -lm
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[2]: *** [vchkpw] Error 1
make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make: *** [all-recursive-am] Error 2