I didn't notice the install script problem, but your solution makes sense. Currently dbmail-config is no longer needed as the dbmail.conf file is read at startup. The INSTALL file should be changed if it still says this.
On Tuesday 20 April 2004 07:02 am, Hamster wrote: > Hi, > > I'm trying to install dbmail 1.2.6 for the first time. > > I've run into a few confusing problems though. > > Working my way through the INSTALL document, I was able to complete step > one with no problems (creating the mysql database using the mysql -u root > -p < sql/mysql/create_tables.mysql command. > > The first problem I ran into was with step two. It asks you to copy the > dmail.conf file to /etc/ and edit it. I did this, and the conf file asks > you to run dbmail-config after you've made changes. The problem is that > this programme doesn't exist. There is no dbmail-config programme. > > I then thought that perhaps this particular programme is created later on > as part of the make process, so I proceeded to step three. > > There is also a problem with step three, running build.sh. The problem > starts if you ask it to install the binaries and man pages. It achieves > this by first asking you for $bindir and passing this as a parameter to the > install-dbmail.sh script. > > The syntax of the call is incorrect. The install-dbmail.sh is simply called > as `install-dbmail.sh $bindir` which results in an error: "./build.sh: line > 114: install-dbmail.sh: command not found install script failed. You can > rerun this manually by running install-dbmail.sh". > > The reason for this failure is that because of the way install-dbmail is > called, it looks for this script in $PATH, where it won't be found. The > script should be called as `./install-dbmail.sh $bindir`. > > There is also a minor problem with the install-dbmail script. You're not > given the choice of setting the man dir. Not all distros keep their man > pages in /usr/local, resulting in an error when this script is run. Perhaps > you could add this small extra bit of code: > > echo "Enter location of man pages, or press RETURN to keep the default > /usr/local/man :" > read line > if [ "$line" != "" ]; then > targetmandir=$line > else targetmandir="/usr/local/man" > fi > > Now again I encountered the problem with dbmail-config. The > install-dbmail.sh script asks you what user and group you want to run > DBMAIL as. It says "Don't forget to edit these users in the dbmail.conf > file and run dbmail-config". > > Problem is there is still no such programme called dbmail-config. > > What's going on? Is dbmail-config no longer needed, or is there a genuine > mistake somewhere causing dbmail-config to not be compiled? I notice the > dbmail-config man page is present. > > Thanks for taking the time to read this. If these problems are all fixed in > version 2, I apologise. My problem is that I *have* to run ver 1.2.6. > > I also tried to search the archives before posting, however it seems the > search feature is broken. For every search term I tried it said "no results > found". > > Hamster > _______________________________________________ > Dbmail mailing list > [email protected] > https://mailman.fastxs.nl/mailman/listinfo/dbmail
