NO in configure and it is still installed

Kronus

Verified User
Joined
May 31, 2007
Messages
48
Please explain how to make it not install these options

i answer no to things like roundcube and all the webmail programs but they are still installed.

we now have no option but to use custombuild and it seems kind of useless to answer any of the questions for these options if it is going to install them anyways.

Please let me know what to do. lots of work to remove them after install when I asked not to have them installed in the first place.
 
Hello,

That was addressed for 1.33.1.
The exim.sh now checks for custombuild and does not install the scripts if custombuild is present.

So if you create the options.conf first, then install DA, as of 1.33.1, it should do what you actually specify now.

John
 
please clarify what you answered

we have to make a file options.conf before we install DA ?

this seems a little odd

when i do a fresh install and type ./setup.sh it asks me questions about install

i pick n to the standard install and then go through all the questions

I thought that made the options.conf file

you are telling me when I do a install i need to make all the directories and make a options.conf file myself then install DA ?

seems a bit strange.

why have us answer all the questions in the first place if it is not going to use them

when we install the program i would think that it would be able to do this as it installs.

not sure what is happening but there seems a problem here

please respond and tellme step by step how to install DA with the options I wish and not have the options I pick no for not installed.
 
Creating the options.conf before the install is an option if you want it.
If you say "no" to using the default options, then that creates the options.conf as well. So no, you don't have to add it beforehand, the method you've described will work fine. Creating the options.conf first was how it used to be done when the custombuild script was still new, but the options selections is the current way (must have slipped my mind when answering)

In any case, the exim.sh script will see the custombuild directory and will not install those webmail scripts. It will let custombuild manage it.. so however you've created the options.conf (manually, or by answering questions).. that will ultimately determine what you get now (as of 1.33.1, a few days ago)

John
 
I hate to disagree with you but i just installed a server yesterday with directadmin

picked no to all the web mail squirrelmail

basicly no to every mail but dovecote and exim

here is the var/www/html folder

index.html phpMyAdmin-3.1.2-all-languages squirrelmail webmail
phpMyAdmin redirect.php squirrelmail-1.4.17

doesn't seem to be doing what you say
 
I didn't add the change for phpMyAdmin.

However, for squirrelmail, check:
/usr/local/directadmin/scripts/exim.sh

paste me the lower contents of the file.
Also let me know which OS and version you're using and I'll check that build system to ensure it has the correct exim.sh.

John
 
Not worried about phpMyAdmin

Code:
#!/bin/bash

#script to install exim and friends (majordomo)

cd /usr/local/directadmin/scripts/packages
rpm -e --nodeps sendmail 2> /dev/null
rpm -e --nodeps postfix 2> /dev/null
rpm -e --nodeps dovecot 2> /dev/null
rm -f /etc/xinetd.d/smtp_psa 2> /dev/null
rm -f /etc/xinetd.d/smtps_psa 2> /dev/null
rm -f /etc/xinetd.d/popa3d 2> /dev/null
rm -f /etc/xinetd.d/popa3ds 2> /dev/null

rpm -ivh --force --nodeps da_exim-*.rpm
COUNT=`rpm -q da_exim | grep -c da_exim`;
if [ $COUNT = 0 ]
then
        echo "*** exim not installed: aborting. ***";
        exit 1;
fi

rpm -ivh da_vm-pop3d-*.rpm
tar xzf majordomo-*.tar.gz
cd ..
./majordomo.sh

#other files for exim.
#cp -f /usr/local/directadmin/data/templates/system_filter.exim /etc/system_filter.exim
#chown -f mail.mail /etc/system_filter.exim
#chmod -f 644 /etc/system_filter.exim

#cp -f /usr/local/directadmin/data/templates/exim.pl /etc/exim.pl
#chown -f mail.mail /etc/exim.pl
#chmod -f 755 /etc/exim.pl

#pop before smtp
cp -f /usr/local/directadmin/data/templates/da-popb4smtp /etc/rc.d/init.d
chmod 755 /etc/rc.d/init.d/da-popb4smtp
/sbin/chkconfig da-popb4smtp reset
/sbin/service da-popb4smtp start

SCRIPTPATH=/usr/local/directadmin/scripts

${SCRIPTPATH}/imapd.sh
${SCRIPTPATH}/webmail.sh

if [ ! -d /usr/local/directadmin/custombuild ]; then

        ${SCRIPTPATH}/squirrelmail.sh

        wget -O ${SCRIPTPATH}/roundcube.sh http://files.directadmin.com/services/all/roundcube.sh
        chmod 755 ${SCRIPTPATH}/roundcube.sh
        ${SCRIPTPATH}/roundcube.sh
fi

#${SCRIPTPATH}/spam.sh

its the mail programs that are being installed

CentOS release 5.2 (Final) 64 bit
 
Last edited:
install.sh:
Code:
${DA_SCRIPTS}/webmail.sh
${DA_SCRIPTS}/squirrelmail.sh
 
Thanks Martynas, I've found the 2 double calls in the install.sh and removed them for the next release.

John
 
Back
Top