[vchkpw] Re: compile "vpopmail" with -fPIC on x86_64

2005-04-04 Thread Peter Palmreuther
Hello Marco, On Tuesday, April 5, 2005 at 5:17:53 AM Marco wrote: > I did compile vpopmail the way you suggested ... and now i'm > getting another error - different but same nature. Have you done a 'make distclean' in vpopmail source tree before you run the new configure? -- Best regards Peter

Re: [vchkpw] compile "vpopmail" with -fPIC on x86_64

2005-04-04 Thread Marco Prechel
Jeremy, I did compile vpopmail the way you suggested ... and now i'm getting another error - different but same nature. -- Compiling authvchkpw.c authvchkpw.c: In function `auth_vchkpw_changepass': authvchkpw.c:142: warning: passing arg 1 of `parse_em

Re: [vchkpw] compile "vpopmail" with -fPIC on x86_64

2005-04-04 Thread Marco Prechel
Jeremy, this is a little off the main topic, but i was wondering .. what does the -fPIC do? what causes this "issue" ? good buddy of mine wrote & updates a QMAIL Install script ... does it all for you, including courier-IMAP or Bincc ... and he was wondering whether or not he shoudl include the

Re: [vchkpw] compile "vpopmail" with -fPIC on x86_64

2005-04-04 Thread Jeremy Kitchen
On Monday 04 April 2005 04:48 pm, Marco Prechel wrote: > Jeremy, > > are you saying that one will have to run > > CFLAGS=-fPIC BEFORE the ./configure > > like Nick stated? so in essence i would run my configure as followed: > > > #CFLAGS=-fPIC ./configure --enable-roaming-users=y --enable-logging=

Re: [vchkpw] compile "vpopmail" with -fPIC on x86_64

2005-04-04 Thread Marco Prechel
Jeremy, are you saying that one will have to run CFLAGS=-fPIC BEFORE the ./configure like Nick stated? so in essence i would run my configure as followed: #CFLAGS=-fPIC ./configure --enable-roaming-users=y --enable-logging=p --enable-qmaildir=/var/qmail I apologize in advance, I'm learning

Re: [vchkpw] compile "vpopmail" with -fPIC on x86_64

2005-04-04 Thread Jeremy Kitchen
On Monday 04 April 2005 04:08 pm, Marco Prechel wrote: > any idea how to use it then? > > if you run a > > #./configure --help > > it lists this on the bottom: > > --- > Some influential environment variables: [snip] > so would you not use i

Re: [vchkpw] compile "vpopmail" with -fPIC on x86_64

2005-04-04 Thread Marco Prechel
i will most def. try that tonight. however i can only test on the production machine, as all my other test machines are 32bit Intels. I will let you know most def. ... should be another 2 hours or so till i can take it down again. --marco ANYBODY ELSE HAVE ANY IDEAS/SOLUTIONS? On Apr 4, 2005, a

RE: [vchkpw] compile "vpopmail" with -fPIC on x86_64

2005-04-04 Thread Nick Harring
> > any idea how to use it then? > > > so would you not use it within the ./configure "flags" ? thats what i > was thinking ... however that was my best guess > > > --marco > > > Marco - Run it the way I showed. You put CFLAGS=-fPIC BEFORE the ./configure. This makes it an environme

Re: [vchkpw] compile "vpopmail" with -fPIC on x86_64

2005-04-04 Thread Marco Prechel
any idea how to use it then? if you run a #./configure --help it lists this on the bottom: --- Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you h

RE: [vchkpw] compile "vpopmail" with -fPIC on x86_64

2005-04-04 Thread Nick Harring
>I'm trying to bring up courier-imap, which requires courier-authlib, however i am unable to compile courier-authlib. >it complains about vpopmail. says i should recompile it with -fPIC. >my configure flags are as followed: >for vpopmail: >./configure CFLAGS=-fPIC --enable-roaming-users=y --ena

Re: [vchkpw] compile "vpopmail" with -fPIC on x86_64

2005-04-04 Thread Marco Prechel
Sorry if i forgot to mention ... this is a Dual Opteron (AMD64 - x86_64) w/ FC3 --marco Marco Prechel Storm Ready Builders, LLC www.StormReadyBuilders.com 12651 McGregor Blvd. Suite 1-101 Fort Myers, FL 33919 P. 239.481.0177 C. 239.410.2983 F. 239.481.4844

[vchkpw] compile "vpopmail" with -fPIC on x86_64

2005-04-04 Thread Marco Prechel
Hello all :) I'm trying to bring up courier-imap, which requires courier-authlib, however i am unable to compile courier-authlib. it complains about vpopmail. says i should recompile it with -fPIC. my configure flags are as followed: for vpopmail: ./configure CFLAGS=-fPIC --enable-roaming-

RE: [vchkpw] Max username length

2005-04-04 Thread Nick Harring
Nevermind, just noticed this is fixed in 5.4.7. Nick   From: Nick Harring [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 3:51 PM To: vchkpw@inter7.com Subject: [vchkpw] Max username length   In vpopmail.h MAX_PW_NAME is defined as 32, and the mysql column for pw_na

[vchkpw] Max username length

2005-04-04 Thread Nick Harring
In vpopmail.h MAX_PW_NAME is defined as 32, and the mysql column for pw_name is a varchar(32). This would lead me to believe it was intended to support up to 32 character usernames. However vadduser in vpopmail.c does: If( strlen(username) >= MAX_PW_NAME ) rather than if( strlen(username)

RE: [vchkpw] Switching from Mysql to Postgresql

2005-04-04 Thread Charles J. Boening
Also, don't forget to check permissions on sequences.  Had that bite me once.  :)     Charlie       From: Joshua Coucke [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 6:35 AMTo: vchkpw@inter7.comSubject: Re: [vchkpw] Switching from Mysql to Postgresql Charles J. Boen

Re: [vchkpw] Switching from Mysql to Postgresql

2005-04-04 Thread Joshua Coucke
Charles J. Boening wrote: Did you try using the postgres user for the database instead of the one you made? I believe I did, but I will try it again, just to make sure. One of the things that happens on login that wouldn't with vuserinfo would be an insertion or update to the vlog tab