Re: [qmailadmin] Re: problem with qmailadmin

2007-04-20 Thread Nevruz Mesut Sahin


[EMAIL PROTECTED] wrote:  I tried it  but didnot get success. Can you specify 
what permissions
 for do
 i need to change in the html and images folders  to get the icons

First of all check apache's error logs to see what is the path that the
qmailadmin expects to look for the image files.

After that recompile an build the script again until it works...

issue the command ./configure --help to see all available parameters that
you can configure.

Or you can take the easy way and move the files in the path that the
current build of qmailadmin you have expects to find them.


First  I wrote below command

./configure --enable-logging=p --enable-auth-module=mysql --disable-passwd 
--enable-clear-passwd --disable-many-domains --enable-auth-logging 
--enable-sql-logging --enable-valias --disable-mysql-limits 
--enable-incdir=/usr/lib/mysql 
--enable-qmail-newu=/usr/src/qmail/qmail-1.03/qmail-newu.c 
--enable-qmail-inject=/usr/src/qmail/qmail-1.03/qmail-inject.c 
--enable-qmail-newmrh=/usr/src/qmail/qmail-1.03/qmail-newmrh.c
checking for a BSD-compatible install... /usr/bin/install -c




checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking for crypt in -lcrypt... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for memory.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether closedir returns void... no
checking return type of signal handlers... void
checking whether utime accepts a null argument... yes
checking for bzero... yes
checking for dup2... yes
checking for fdatasync... yes
checking for getcwd... yes
checking for gethostname... yes
checking for getpass... yes
checking for getspnam... yes
checking for memset... yes
checking for mkdir... yes
checking for putenv... yes
checking for rmdir... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for utime... yes
checking vpopmail configure options... ok
checking whether we can locate the qmail directory... yes
checking whether we can locate the qmail-newu program... yes
checking whether we can locate the qmail-inject 

Re: [qmailadmin] Re: problem with qmailadmin

2007-04-20 Thread daniel


 [EMAIL PROTECTED] wrote:  I tried it  but didnot get success. Can you
 specify what permissions
 for do
 i need to change in the html and images folders  to get the icons

 First of all check apache's error logs to see what is the path that the
 qmailadmin expects to look for the image files.

 After that recompile an build the script again until it works...

 issue the command ./configure --help to see all available parameters that
 you can configure.

 Or you can take the easy way and move the files in the path that the
 current build of qmailadmin you have expects to find them.


 First  I wrote below command

 ./configure --enable-logging=p --enable-auth-module=mysql --disable-passwd
 --enable-clear-passwd --disable-many-domains --enable-auth-logging
 --enable-sql-logging --enable-valias --disable-mysql-limits
 --enable-incdir=/usr/lib/mysql
 --enable-qmail-newu=/usr/src/qmail/qmail-1.03/qmail-newu.c
 --enable-qmail-inject=/usr/src/qmail/qmail-1.03/qmail-inject.c
 --enable-qmail-newmrh=/usr/src/qmail/qmail-1.03/qmail-newmrh.c
 checking for a BSD-compatible install... /usr/bin/install -c




 checking whether build environment is sane... yes
 checking for gawk... gawk
 checking whether make sets ${MAKE}... yes
 checking build system type... i686-pc-linux-gnu
 checking host system type... i686-pc-linux-gnu
 checking for gawk... (cached) gawk
 checking for gcc... gcc
 checking for C compiler default output... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for style of include used by make... GNU
 checking dependency style of gcc... none
 checking for a BSD-compatible install... /usr/bin/install -c
 checking for ranlib... ranlib
 checking for strerror in -lcposix... no
 checking for crypt in -lcrypt... yes
 checking for dirent.h that defines DIR... yes
 checking for library containing opendir... none required
 checking how to run the C preprocessor... gcc -E
 checking for ANSI C header files... yes
 checking for sys/wait.h that is POSIX.1 compatible... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking arpa/inet.h usability... yes
 checking arpa/inet.h presence... yes
 checking for arpa/inet.h... yes
 checking fcntl.h usability... yes
 checking fcntl.h presence... yes
 checking for fcntl.h... yes
 checking for memory.h... (cached) yes
 checking netinet/in.h usability... yes
 checking netinet/in.h presence... yes
 checking for netinet/in.h... yes
 checking shadow.h usability... yes
 checking shadow.h presence... yes
 checking for shadow.h... yes
 checking for stdlib.h... (cached) yes
 checking for string.h... (cached) yes
 checking sys/file.h usability... yes
 checking sys/file.h presence... yes
 checking for sys/file.h... yes
 checking sys/param.h usability... yes
 checking sys/param.h presence... yes
 checking for sys/param.h... yes
 checking sys/socket.h usability... yes
 checking sys/socket.h presence... yes
 checking for sys/socket.h... yes
 checking sys/time.h usability... yes
 checking sys/time.h presence... yes
 checking for sys/time.h... yes
 checking syslog.h usability... yes
 checking syslog.h presence... yes
 checking for syslog.h... yes
 checking for unistd.h... (cached) yes
 checking utime.h usability... yes
 checking utime.h presence... yes
 checking for utime.h... yes
 checking crypt.h usability... yes
 checking crypt.h presence... yes
 checking for crypt.h... yes
 checking for gcc option to accept ANSI C... none needed
 checking for an ANSI C-conforming const... yes
 checking for uid_t in sys/types.h... yes
 checking for inline... inline
 checking for mode_t... yes
 checking for off_t... yes
 checking for pid_t... yes
 checking for size_t... yes
 checking whether struct tm is in sys/time.h or time.h... time.h
 checking whether closedir returns void... no
 checking return type of signal handlers... void
 checking whether utime accepts a null argument... yes
 checking for bzero... yes
 checking for dup2... yes
 checking for fdatasync... yes
 checking for getcwd... yes
 checking for gethostname... yes
 checking for getpass... yes
 checking for getspnam... yes
 checking for memset... yes
 checking for mkdir... yes
 checking for putenv... yes
 checking for rmdir... yes
 checking for socket... yes
 checking for strchr... yes
 checking for strdup... yes
 checking for strerror... yes
 checking for strncasecmp... yes
 checking for strrchr... yes
 checking for strspn... yes
 checking for strstr... yes
 checking for utime... yes
 checking vpopmail configure options... ok
 checking whether we can locate the qmail directory... 

Re: [qmailadmin] Re: problem with qmailadmin

2007-04-19 Thread daniel
 I tried it  but didnot get success. Can you specify what permissions
 for do
 i need to change in the html and images folders  to get the icons

First of all check apache's error logs to see what is the path that the
qmailadmin expects to look for the image files.

After that recompile an build the script again until it works...

issue the command ./configure --help to see all available parameters that
you can configure.

Or you can take the easy way and move the files in the path that the
current build of qmailadmin you have expects to find them.



[qmailadmin] Re: problem with qmailadmin

2007-04-18 Thread Stephane Bouvard (ML)
Hi,

,- - [ Le mercredi 18 avril 2007 vers 10:34 simply arun écrivait: ] - -
|
 I tried it  but didnot get success. Can you specify what permissions  for do
 i need to change in the html and images folders  to get the icons

It depend of your configuration of Apache, not qmailadmin, only you can tell 
wich security's and permissions you use on your server.  Do not forget when you 
configure qmailadmin to specify the URL where the images should be available.

|
`- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



-- 
Bien à vous...
 _
(_'  L'informatique est ma passion, vous la simplifier, mon métier !
,_)téphane Bouvard [antarex AT freenet DOT be] http://www.antarex.be



[qmailadmin] Re: Problem compiling qmailadmin 1.2.0 against vpopmail 5.4.0...phantom /tmp/vpopmail directory

2004-02-12 Thread qmadmin
I found it is getting that path from the inc_deps and inc_libs from my 
vpopmail install...Time to debug how that happened ;) 

qmadmin writes: 

I'm attempting to compile qmailadmin 1.2.0 against vpopmail 5.4.0 with the 
following configure statement:  

./configure --prefix=/usr \
--enable-cgibindir=/var/www/qmailadmin/cgi-bin \
--with-htmllibdir=/usr/share/qmailadmin \
--enable-imagedir=/var/www/qmailadmin/htdocs/images \
--enable-htmldir=/htdocs \
--enable-cgipath=/cqi-bin/qmailadmin \
--enable-autoresponder-bin=/usr/bin/autorespond \
--enable-ezmlmdir=/usr/bin \
--enable-ezmlmidx=y \
--enable-domain-autofill \
--disable-ipauth \
--enable-vpopmaildir=/var/www/vpopmail  

This gives the the post configure output of:  

  qmailadmin 1.2.0
  Current settings
---
 cgi-bin dir = /var/www/qmailadmin/cgi-bin
html dir = /htdocs
   image dir = /var/www/qmailadmin/htdocs/images
   image URL = /images/qmailadmin
template dir = /usr/local/share/qmailadmin
   qmail dir = /var/qmail
vpopmail dir = /var/www/vpopmail
 autorespond dir = /usr/local/bin
   ezmlm dir = /usr/bin
   ezmlm idx = yes
 mysql for ezmlm = yes
help = no
modify quota = no
 domain autofill = yes
modify spam check = no  

All looks good, but when I attempt to run make,  there is a 
/tmp/vpopmail being appended on the gcc line, so it fails to find the 
vpopmail includes and libs:  

make  all-am
make[1]: Entering directory `/usr/src/redhat/SOURCES/qmailadmin-1.2.0'
source='qmailadmin.c' object='qmailadmin.o' libtool=no \
depfile='.deps/qmailadmin.Po' tmpdepfile='.deps/qmailadmin.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -I. -I/tmp/vpopmail/var/www/vpopmail/include  -I. -I. -I. -g -O2 
-c `test -f 'qmailadmin.c' || echo './'`qmailadmin.c
qmailadmin.c:28:29: vpopmail_config.h: No such file or directory
qmailadmin.c:36:22: vpopmail.h: No such file or directory
qmailadmin.c:37:19: vauth.h: No such file or directory
qmailadmin.c:38:21: vlimits.h: No such file or directory
qmailadmin.c: In function `main':
qmailadmin.c:143: warning: assignment makes pointer from integer without a 
cast
qmailadmin.c:226: warning: assignment makes pointer from integer without a 
cast
qmailadmin.c:234: dereferencing pointer to incomplete type
qmailadmin.c:238: dereferencing pointer to incomplete type
qmailadmin.c: In function `init_globals':
qmailadmin.c:386: `VPOPMAIL_UMASK' undeclared (first use in this function)
qmailadmin.c:386: (Each undeclared identifier is reported only once
qmailadmin.c:386: for each function it appears in.)
/usr/include/sys/stat.h: At top level:
qmailadmin.c:73: storage size of `Limits' isn't known
make[1]: *** [qmailadmin.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/qmailadmin-1.2.0'
make: *** [all] Error 2  

I was able to clean out /tmp/vpopmail from the Makefile manually and 
compile successfully.  Can anyone point me to what is going wrong?  Where 
is /tmp/vpopmail coming from?  Why isn't my 
--enable-vpopmaildir=/var/www/vpopmail being honored?  

Thanks,  

Chris




Re: [qmailadmin] Re: Problem compiling qmailadmin 1.2.0 against vpopmail 5.4.0...phantom /tmp/vpopmail directory

2004-02-12 Thread Tom Collins
It's this bug here:

http://sourceforge.net/tracker/index.php? 
func=detailaid=886988group_id=85937atid=577798

And now that I see your message, I'm sure of the fix.  It'll be in the  
5.4.2 release of vpopmail.

On Feb 12, 2004, at 6:30 AM, qmadmin wrote:
I found it is getting that path from the inc_deps and inc_libs from my  
vpopmail install...Time to debug how that happened ;)

qmadmin writes:
I'm attempting to compile qmailadmin 1.2.0 against vpopmail 5.4.0  
with the following configure statement:  ./configure --prefix=/usr \
--enable-cgibindir=/var/www/qmailadmin/cgi-bin \
--with-htmllibdir=/usr/share/qmailadmin \
--enable-imagedir=/var/www/qmailadmin/htdocs/images \
--enable-htmldir=/htdocs \
--enable-cgipath=/cqi-bin/qmailadmin \
--enable-autoresponder-bin=/usr/bin/autorespond \
--enable-ezmlmdir=/usr/bin \
--enable-ezmlmidx=y \
--enable-domain-autofill \
--disable-ipauth \
--enable-vpopmaildir=/var/www/vpopmail  This gives the the post  
configure output of:qmailadmin 1.2.0
  Current settings
---
 cgi-bin dir = /var/www/qmailadmin/cgi-bin
html dir = /htdocs
   image dir = /var/www/qmailadmin/htdocs/images
   image URL = /images/qmailadmin
template dir = /usr/local/share/qmailadmin
   qmail dir = /var/qmail
vpopmail dir = /var/www/vpopmail
 autorespond dir = /usr/local/bin
   ezmlm dir = /usr/bin
   ezmlm idx = yes
 mysql for ezmlm = yes
help = no
modify quota = no
 domain autofill = yes
modify spam check = no  All looks good, but when I attempt to run  
make,  there is a /tmp/vpopmail being appended on the gcc line, so  
it fails to find the vpopmail includes and libs:  make  all-am
make[1]: Entering directory `/usr/src/redhat/SOURCES/qmailadmin-1.2.0'
source='qmailadmin.c' object='qmailadmin.o' libtool=no \
depfile='.deps/qmailadmin.Po' tmpdepfile='.deps/qmailadmin.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -I. -I/tmp/vpopmail/var/www/vpopmail/include  -I. -I. -I. -g  
-O2 -c `test -f 'qmailadmin.c' || echo './'`qmailadmin.c
qmailadmin.c:28:29: vpopmail_config.h: No such file or directory
qmailadmin.c:36:22: vpopmail.h: No such file or directory
qmailadmin.c:37:19: vauth.h: No such file or directory
qmailadmin.c:38:21: vlimits.h: No such file or directory
qmailadmin.c: In function `main':
qmailadmin.c:143: warning: assignment makes pointer from integer  
without a cast
qmailadmin.c:226: warning: assignment makes pointer from integer  
without a cast
qmailadmin.c:234: dereferencing pointer to incomplete type
qmailadmin.c:238: dereferencing pointer to incomplete type
qmailadmin.c: In function `init_globals':
qmailadmin.c:386: `VPOPMAIL_UMASK' undeclared (first use in this  
function)
qmailadmin.c:386: (Each undeclared identifier is reported only once
qmailadmin.c:386: for each function it appears in.)
/usr/include/sys/stat.h: At top level:
qmailadmin.c:73: storage size of `Limits' isn't known
make[1]: *** [qmailadmin.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/qmailadmin-1.2.0'
make: *** [all] Error 2  I was able to clean out /tmp/vpopmail from  
the Makefile manually and compile successfully.  Can anyone point me  
to what is going wrong?  Where is /tmp/vpopmail coming from?  Why  
isn't my --enable-vpopmaildir=/var/www/vpopmail being honored?   
Thanks,  Chris



--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter handheld Network Tester: http://sniffter.com/


Re: [qmailadmin] Re: Problem with qmailadmin-limits

2002-09-08 Thread David Karlsen


tonix (Antonio Nati) wrote:

Hi Nati,

 We have another test-server where limiting also failed(also a mandrake 
 8.2 installation). The error exist also on a third backup server(also 
 mandrake 8.2). The .qmailadmin-limits file is chmoded root.root 644.

 So, .qmailadmin-limits is world readable.

Yes. But the files is owned by root, but that shouldn't have anything to 
say since it can read the content. It was also owned by root when it was 
working previusly.

 What are uid/gid of your apache server? qmailadmin is running with that 
 uid/gid, but should have a sticky bit set

qmailadmin i setuid vpopmail.vhckpw. Apache is running under the user 
apache. That is ok.


 If you may create new account, is their uid/gid ok?
 Are all your e-mail accounts under vpopmail or do you have other uids 
 working?

The account qmailadmin i creating is ok and have correct ownership and 
permissions.

Any other toughts? The best would be if there was some kind of debugging 
feature, like running it in foreground or from the command line and get 
warnings and errors to stdin.

-- 
Mvh David Karlsen
Daglig Leder,
Delonic Technology Group A/S
www.delonic.no - +47 69328490




[qmailadmin] Re: Problem with qmailadmin-limits

2002-09-07 Thread David Karlsen


tonix (Antonio Nati) wrote:

 I'm using qmailadmin on FreeBSD without any problem.
 
 You should set up a troubleshoting plan, starting from most evident things.
 
 Did you check .qmailadmin-limits files protections?

Yes. I have used qmailadmin with vpopmail for a couple of years 
sucessfully, that includes limiting users resources. Some 3-4 months ago 
we changed to a new server and when I moved the users mail and accounts 
over I just used tar on the ~vpopmail directory and mysql database and 
moved it over to another server(keeping the permissions off course). On 
the previous install(which was a red hat server) limiting user resources 
was functioning ok.

We have another test-server where limiting also failed(also a mandrake 
8.2 installation). The error exist also on a third backup server(also 
mandrake 8.2). The .qmailadmin-limits file is chmoded root.root 644.

Qmailadmin can read the values becouse it shows max values in the 
control panel, but it don't show how many accounts that really are 
used(Forexample Total 0/20 when three pop3 accounts is created and the 
maxvalue in the qmailadmin-limits file are 20).

So the problem is that it does read the values from the file, but can't 
count the number of resources created. But it lists all the accounts in 
the control panel, you can change, create and delete resources. 
Everything functions exept limiting users.

Any thought's about this?

-- 
Mvh David Karlsen
Daglig Leder,
Delonic Technology Group A/S
www.delonic.no - +47 69328490