qmailadmin compile question

2001-02-22 Thread sberg

Having trouble setting up qmailadmin on a redhat 7 machine.

So far I've got qmail, vpopmail, autoresponder, ezmlm all installed and
working.

When I go to compile I get lots of "undefined reference" warnings and the
compile craps out with a couple of errors.  I've attached a copy of the
compile output hoping that someone will be able to get me going in the
right direction to get this thing running.

I'm working on this with a friend so if you have a good idea for us could
you CC: [EMAIL PROTECTED]


[root@server9 qmailadmin-0.42]# make
make  all-recursive
make[1]: Entering directory `/usr/src/qmailadmin-0.42'
make[2]: Entering directory `/usr/src/qmailadmin-0.42'
gcc -I.   -g -O2 -c qmailadmin.c
gcc -I.   -g -O2 -c alias.c
gcc -I.   -g -O2 -c autorespond.c
gcc -I.   -g -O2 -c forward.c
gcc -I.   -g -O2 -c mailinglist.c
gcc -I.   -g -O2 -c sysadmin.c
gcc -I.   -g -O2 -c user.c
In file included from user.c:32:
vpopmail_config.h:138:17: warning: "PACKAGE" redefined
config.h:97:1: warning: this is the location of the previous definition
vpopmail_config.h:141:17: warning: "VERSION" redefined
config.h:100:1: warning: this is the location of the previous definition
gcc -I.   -g -O2 -c util.c
gcc -I.   -g -O2 -c auth.c
gcc -I.   -g -O2 -c template.c
gcc -I.   -g -O2 -c command.c
gcc -I.   -g -O2 -c show.c
gcc -I.   -g -O2 -c cgi.c
gcc -I.   -g -O2 -c limits.c
gcc -I.   -g -O2 -c dotqmail.c
gcc  -g -O2  -o qmailadmin  qmailadmin.o alias.o autorespond.o forward.o mailinglist.o 
sysadmin.o user.o util.o auth.o template.o command.o show.o cgi.o limits.o dotqmail.o  
-lnsl -lm -lcrypt 
autorespond.o: In function `main':
/usr/src/qmailadmin-0.42/autorespond.c:250: multiple definition of `main'
qmailadmin.o:/usr/src/qmailadmin-0.42/qmailadmin.c:84: first defined here
/usr/bin/ld: Warning: size of symbol `main' changed from 1820 to 1474 in autorespond.o
qmailadmin.o: In function `main':
/usr/src/qmailadmin-0.42/qmailadmin.c:122: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/qmailadmin.c:125: undefined reference to `vget_assign'
/usr/src/qmailadmin-0.42/qmailadmin.c:164: undefined reference to `vget_assign'
/usr/src/qmailadmin-0.42/qmailadmin.c:194: undefined reference to `vget_assign'
/usr/src/qmailadmin-0.42/qmailadmin.c:210: undefined reference to `vauth_user'
/usr/src/qmailadmin-0.42/qmailadmin.c:229: undefined reference to `vget_assign'
alias.o: In function `show_redirect_lines':
/usr/src/qmailadmin-0.42/alias.c:295: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/alias.c:301: undefined reference to `slen'
/usr/src/qmailadmin-0.42/alias.c:303: undefined reference to `scopy'
/usr/src/qmailadmin-0.42/alias.c:304: undefined reference to `scat'
alias.o: In function `doredirect':
/usr/src/qmailadmin-0.42/alias.c:326: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/alias.c:333: undefined reference to `slen'
/usr/src/qmailadmin-0.42/alias.c:335: undefined reference to `scopy'
/usr/src/qmailadmin-0.42/alias.c:336: undefined reference to `scat'
alias.o: In function `moddotqmailnow':
/usr/src/qmailadmin-0.42/alias.c:404: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/alias.c:409: undefined reference to `vauth_getpw'
alias.o: In function `adddotqmailnow':
/usr/src/qmailadmin-0.42/alias.c:476: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/alias.c:501: undefined reference to `vauth_getpw'
alias.o: In function `delredirectnow':
/usr/src/qmailadmin-0.42/alias.c:582: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/alias.c:587: undefined reference to `slen'
/usr/src/qmailadmin-0.42/alias.c:589: undefined reference to `scopy'
/usr/src/qmailadmin-0.42/alias.c:590: undefined reference to `scat'
mailinglist.o: In function `delmailinglistnow':
/usr/src/qmailadmin-0.42/mailinglist.c:277: undefined reference to `slen'
/usr/src/qmailadmin-0.42/mailinglist.c:287: undefined reference to `vdelfiles'
mailinglist.o: In function `showlistusers':
/usr/src/qmailadmin-0.42/mailinglist.c:439: undefined reference to `lowerit'
mailinglist.o: In function `showlistmod':
/usr/src/qmailadmin-0.42/mailinglist.c:484: undefined reference to `lowerit'
mailinglist.o: In function `addlistusernow':
/usr/src/qmailadmin-0.42/mailinglist.c:539: undefined reference to `lowerit'
mailinglist.o: In function `addlistmodnow':
/usr/src/qmailadmin-0.42/mailinglist.c:573: undefined reference to `lowerit'
mailinglist.o: In function `dellistusernow':
/usr/src/qmailadmin-0.42/mailinglist.c:676: undefined reference to `lowerit'
mailinglist.o:/usr/src/qmailadmin-0.42/mailinglist.c:706: more undefined references to 
`lowerit' follow
user.o: In function `show_user_lines':
/usr/src/qmailadmin-0.42/user.c:87: undefined reference to `vauth_getall'
/usr/src/qmailadmin-0.42/user.c:94: undefined reference to `vauth_getall'
/usr/src/qmailadmin-0.42/user.c:125: 

software search

2001-02-17 Thread sberg

Does qmail have any tools or add-ons that allow for web mail without
creating a bunch of user accounts on the mail server itself?  I've got
MySQL running so I'm hoping that I can find something to allow webmail
from qmail and MySQL without creating a shell account for each webmail
user. I've done some hunting around but it seems like all the tools need
to have an actual account on the system for each webmail user.

I'm real new to MySQL but I do have it running and can probably figure out
what I need to do to it if I can find such a tool.

My goal is to have the webmail and alongside it a database for a locator
type purpose.  i.e. People can create a webmail account and store
information about themselves for other users to come and view later on.
Each user would need to have the ability to come back later on and update
their information.  And the system would need to keep each users
information safe from being changed by other users.

I'm not even sure if this stuff is possible but I was hoping that someone
on the list might be able to point me in the direction of some software
packages to get me a running start.




Re: Mayor problems with .qmail!

2001-02-10 Thread sberg

Is this too simple of a solution?

Wouldn't you need to send the mail to [EMAIL PROTECTED]  Then qmail
will deliver it to your user account and then see the .qmail-robot file
and act accordingly.


On Sun, 11 Feb 2001, Halfdan Mouritzen wrote:

 Hi everyone,
 
 I've spent at least three weeks trying to make this stupid stunt work!
 
 The thing is I've got a .qmail file which is supposed to recieve email,
 send it to a php script which fiddles around with it
 and sends an answer back to the sender.
 
 So,
 The mail address is [EMAIL PROTECTED]
 I've got a file called ".qmail-robot" in my home dir "usr/hotel/topdog/"
 and a php file called "qmailtest.php " in usr/hotel/topdog/WWW/temp/
 
 In the .qmail-robot file I've written
 
 |usr/hotel/topdog/WWW/temp/qmailtest.php
 
 The .qmail files chmod is 400, since it says in the qmail faq that it
 cant be group or world writable and it cant be executable if
 it contains program lines.
 
 The qmailtest.php chmod is 777.
 
 This looks right to me
 BUT IT'S NOT WORKING!!!
 
 :(
 
 Can someone please help me?
 I would aprciate the help so so much, since I really don't know what to
 do, I've tried everything!
  
 
 BTW this is the system stuff :
 GNU bash, version 2.03.0(1)-release (i386--freebsd3.4)