[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 program... yes checking whether we can locate the qmail-newmrh program... yes checking for valid vpopmail user and group... yes checking whether password file entry for the vpopmail user exists... yes checking whether roaming-users has been enabled... no checking whether learn-passwords is enabled... no checking whether md5-passwords is enabled... yes checking whether file-locking is enabled... yes checking whether file-sync is enabled... no checking whether make-seekable is enabled... yes checking whether clear-passwd is enabled... yes checking whether user-big-dir is enabled... yes checking whether sqwebmail-pass is enabled... no checking whether qmail-ext is enabled... no checking whether ip-alias-domains is enabled... no checking whether an auth module has been specified... mysql checking whether system accounts have been enabled... no checking whether /etc/shadow exists... yes checking whether logging is enabled... errors, with password checking whether auth-logging is enabled... yes checking whether sql-logging is enabled... yes checking whether mysql-limits is enabled... no checking whether mysql-replication is enabled... no checking whether valias is enabled... yes checking whether many-domains is enabled... no checking whether any discontinued --enable commands have been used... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands vpopmail 5.4.13 Current settings --------------------------------------- vpopmail directory = /home/vpopmail uid = 510 gid = 504 roaming users = OFF --disable-roaming-users (default) password learning = OFF --disable-learn-passwords (default) md5 passwords = ON --enable-md5-passwords (default) file locking = ON --enable-file-locking (default) vdelivermail fsync = OFF --disable-file-sync (default) make seekable = ON --enable-make-seekable (default) clear passwd = ON --enable-clear-passwd (default) user dir hashing = ON --enable-users-big-dir (default) address extensions = OFF --disable-qmail-ext (default) ip alias = OFF --disable-ip-alias-domains (default) auth module = mysql --enable-auth-module=mysql mysql replication = OFF --disable-mysql-replication (default) sql logging = ON --enable-sql-logging mysql limits = OFF --disable-mysql-limits (default) MySQL valias = ON --enable-valias auth inc = -I/usr/lib/mysql auth lib = -L/usr/lib/mysql -lmysqlclient -lz -lm system passwords = OFF --disable-passwd (default) pop syslog = show failed attempts with clear text password --enable-logging=p auth logging = ON --enable-auth-logging (default) one domain per SQL table = --disable-many-domains then I wrote make && make install-strip then it gives error whic is below make all-recursive make[1]: Entering directory `/downloads/qmailrocks/vpopmail-5.4.13' Making all in cdb make[2]: Entering directory `/downloads/qmailrocks/vpopmail-5.4.13/cdb' ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ echo LD=\'`head -1 conf-ld`\'; \ cat find-systype.sh; \ ) | sh > systype ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo 'rm -f "$main"'; \ echo 'ar cr "$main" ${1+"$@"}'; \ case "`cat systype`" in \ sunos-5.*) ;; \ unix_sv*) ;; \ irix64-*) ;; \ irix-*) ;; \ dgux-*) ;; \ hp-ux-*) ;; \ sco*) ;; \ *) echo 'ranlib "$main"' ;; \ esac \ ) > makelib chmod 755 makelib ( cat warn-auto.sh; \ echo exec "`head -1 conf-cc`" -fPIC '-c ${1+"$@"}' \ ) > compile chmod 755 compile ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo exec "`head -1 conf-ld`" \ '-o "$main" "$main".o ${1+"$@"}' \ ) > load chmod 755 load ( ( ./compile tryulong32.c && ./load tryulong32 && \ ./tryulong32 ) >/dev/null 2>&1 \ && cat uint32.h2 || cat uint32.h1 ) > uint32.h rm -f tryulong32.o tryulong32 ./compile cdb_hash.c ./compile cdb_unpack.c ./compile cdb_seek.c ./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o ./compile cdbmake_pack.c ./compile cdbmake_hash.c ./compile cdbmake_add.c ./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \ cdbmake_add.o make[2]: Leaving directory `/downloads/qmailrocks/vpopmail-5.4.13/cdb' make[2]: Entering directory `/downloads/qmailrocks/vpopmail-5.4.13' gcc -I. -I/usr/lib/mysql -I. -I. -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-vauth.o `test -f 'vauth.c' || echo './'`vauth.c vauth.c:33:19: error: mysql.h: No such file or directory vauth.c:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mysql_update' vauth.c:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mysql_read_getall' vauth.c:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token vauth.c:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token vauth.c:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'row' vauth.c:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'row_getall' vauth.c: In function 'vauth_open_update': vauth.c:197: warning: implicit declaration of function 'mysql_init' vauth.c:197: error: 'mysql_update' undeclared (first use in this function) vauth.c:197: error: (Each undeclared identifier is reported only once vauth.c:197: error: for each function it appears in.) vauth.c:198: warning: implicit declaration of function 'mysql_options' vauth.c:198: error: 'MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use in this function) vauth.c:201: warning: implicit declaration of function 'mysql_real_connect' vauth.c:211: warning: implicit declaration of function 'mysql_select_db' vauth.c:215: warning: implicit declaration of function 'mysql_query' vauth.c:221: warning: implicit declaration of function 'mysql_error' vauth.c:221: warning: format '%s' expects type 'char *', but argument 4 has type 'int' vauth.c: In function 'vauth_open_read_getall': vauth.c:280: error: 'mysql_read_getall' undeclared (first use in this function) vauth.c: In function 'vauth_create_table': vauth.c:305: error: 'mysql_update' undeclared (first use in this function) vauth.c:308: warning: format '%s' expects type 'char *', but argument 4 has type 'int' vauth.c: In function 'vauth_adduser': vauth.c:386: error: 'mysql_update' undeclared (first use in this function) vauth.c:387: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c: In function 'vauth_getpw': vauth.c:436: error: 'mysql_update' undeclared (first use in this function) vauth.c:437: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c:441: error: 'res_update' undeclared (first use in this function) vauth.c:441: warning: implicit declaration of function 'mysql_store_result' vauth.c:446: warning: implicit declaration of function 'mysql_num_rows' vauth.c:447: warning: implicit declaration of function 'mysql_free_result' vauth.c:465: error: 'row' undeclared (first use in this function) vauth.c:465: warning: implicit declaration of function 'mysql_fetch_row' vauth.c: In function 'vauth_deldomain': vauth.c:510: error: 'mysql_update' undeclared (first use in this function) vauth.c: In function 'vauth_deluser': vauth.c:554: error: 'mysql_update' undeclared (first use in this function) vauth.c: In function 'vauth_setquota': vauth.c:596: error: 'mysql_update' undeclared (first use in this function) vauth.c:597: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c: In function 'vauth_getall': vauth.c:631: error: 'res_update' undeclared (first use in this function) vauth.c:631: error: 'res_read_getall' undeclared (first use in this function) vauth.c:634: error: 'mysql_read_getall' undeclared (first use in this function) vauth.c:635: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c:661: error: 'row_getall' undeclared (first use in this function) vauth.c: In function 'vauth_end_getall': vauth.c:687: error: 'res_read_getall' undeclared (first use in this function) vauth.c: In function 'vauth_setpw': vauth.c:754: error: 'mysql_update' undeclared (first use in this function) vauth.c:755: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c: In function 'vclose': vauth.c:853: warning: implicit declaration of function 'mysql_close' vauth.c:853: error: 'mysql_update' undeclared (first use in this function) vauth.c:857: error: 'mysql_read_getall' undeclared (first use in this function) vauth.c: In function 'vread_dir_control': vauth.c:984: error: 'mysql_update' undeclared (first use in this function) vauth.c:993: error: 'res_update' undeclared (first use in this function) vauth.c:998: error: 'row' undeclared (first use in this function) vauth.c: In function 'vwrite_dir_control': vauth.c:1067: error: 'mysql_update' undeclared (first use in this function) vauth.c:1070: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c: In function 'vcreate_dir_control': vauth.c:1099: error: 'mysql_update' undeclared (first use in this function) vauth.c:1100: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c: In function 'vdel_dir_control': vauth.c:1114: error: 'mysql_update' undeclared (first use in this function) vauth.c:1117: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c: In function 'vset_lastauth': vauth.c:1135: error: 'mysql_update' undeclared (first use in this function) vauth.c:1138: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c: In function 'vget_lastauth': vauth.c:1154: error: 'mysql_update' undeclared (first use in this function) vauth.c:1157: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c:1161: error: 'res_update' undeclared (first use in this function) vauth.c:1163: error: 'row' undeclared (first use in this function) vauth.c: In function 'vget_lastauthip': vauth.c:1179: error: 'mysql_update' undeclared (first use in this function) vauth.c:1182: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c:1186: error: 'res_update' undeclared (first use in this function) vauth.c:1187: error: 'row' undeclared (first use in this function) vauth.c: In function 'valias_select': vauth.c:1221: error: 'mysql_update' undeclared (first use in this function) vauth.c:1224: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c:1228: error: 'res_update' undeclared (first use in this function) vauth.c:1229: error: 'row' undeclared (first use in this function) vauth.c: In function 'valias_insert': vauth.c:1260: error: 'mysql_update' undeclared (first use in this function) vauth.c:1263: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c: In function 'valias_remove': vauth.c:1280: error: 'mysql_update' undeclared (first use in this function) vauth.c:1283: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c: In function 'valias_delete': vauth.c:1300: error: 'mysql_update' undeclared (first use in this function) vauth.c:1303: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c: In function 'valias_delete_domain': vauth.c:1320: error: 'mysql_update' undeclared (first use in this function) vauth.c:1323: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c: In function 'valias_select_all': vauth.c:1350: error: 'mysql_update' undeclared (first use in this function) vauth.c:1353: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c:1357: error: 'res_update' undeclared (first use in this function) vauth.c:1358: error: 'row' undeclared (first use in this function) vauth.c: In function 'logsql': vauth.c:1401: error: 'mysql_update' undeclared (first use in this function) vauth.c: In function 'vget_limits': vauth.c:1443: error: 'mysql_update' undeclared (first use in this function) vauth.c:1446: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c:1450: error: 'res_update' undeclared (first use in this function) vauth.c:1462: error: 'row' undeclared (first use in this function) vauth.c: In function 'vset_limits': vauth.c:1540: error: 'mysql_update' undeclared (first use in this function) vauth.c:1543: warning: format '%s' expects type 'char *', but argument 3 has type 'int' vauth.c: In function 'vdel_limits': vauth.c:1555: error: 'mysql_update' undeclared (first use in this function) make[2]: *** [libvpopmail_a-vauth.o] Error 1 make[2]: Leaving directory `/downloads/qmailrocks/vpopmail-5.4.13' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/downloads/qmailrocks/vpopmail-5.4.13' make: *** [all] Error 2 --------------------------------- Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos.