AfterLogic WebMail Lite 4.9.10 installation script

Would you like it to be implemented into the CustomBuild script?

  • Yes

    Votes: 63 80.8%
  • No

    Votes: 15 19.2%

  • Total voters
    78

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,629
Location
LT, EU
AfterLogic WebMail Lite 5.1.4 installation script

Link to official installer: http://www.afterlogic.com/wiki/Install_on_DirectAdmin_(WebMail_Lite_6_PHP)

Old post:
smtalk said:
AfterLogic WebMail Lite 5.1.4 installation script has been created. Please let us know your opinion about it.

Use the following commands to install it:
Code:
cd /usr/local/directadmin/scripts
wget -O afterlogic.sh http://www.custombuild.eu/afterlogic-webmail-lite/afterlogic.sh
chmod 755 afterlogic.sh
./afterlogic.sh
Apache restart is needed after running the script for /afterlogic alias to function.
 
Last edited:
Wow, never heard of afterlogic, and looks outstanding. Specially sync features with outlook calendar etc.

Have you used this in production already ?
 
For those who would like to try the Pro version of it (upgrades the Lite one on DirectAdmin servers):
Code:
cd /usr/local/directadmin/scripts
wget -O afterlogic.sh http://www.custombuild.eu/afterlogic-webmail-pro/afterlogic.sh
chmod 755 afterlogic.sh
./afterlogic.sh
 
Got it working,

But telling me username and pass is incorrect, and it is.

Code:
Wrong email/login and/or password. Authentication failed.

Pop3 account is created. Password is correct.

Any suggestions ?
 
I guess you've installed a licence which allows you to have up to 5 users, haven't you? :) Yes, you need to create that 5 users manually. Go to http://www.yourdomain.ext/afterlogic/adminpanel. Login: mailadm, password: should have been given in ssh (you can get it in this way too):
Code:
cat /var/www/html/afterlogic/data/settings/adminpanel.xml | grep password | cut -d'>' -f2 | cut -d'<' -f1
Now go to: Users->New User

Lite (free) version does not require you to create any users because it doesn't have such a feature and it works with just an email address as login.

Good luck!
 
Last edited:
i installed by mistake the pro version. Is there any way to downgrade it?
 
Yes, upgrade to pro or downgrade to lite does not require you to do anything more than just downloading and running the script again :)
 
So how does the loginsystem work?

In the Proversion: Do I have to recreate all users that have mailaccounts on the directadmin server? Or will it automagicly create those in the database when they login and the domain exists?

Kindly regards

Ellen Verheyen
 
You do not have to create any users if you installed the lite (free) version of it.
 
It depends on the selected license and configuration then :)
 
If host to db in DA != localhost installer doesn't work properly.
 
phpMyAdmin allows to change that for a particular (da_afterlogic) user.
 
No..
You must edit:

Code:
        mysql [B]-hmy_mysql_host[/B] -e "CREATE DATABASE ${AFTERLOGIC_DB};" --user=${MYSQLUSER} --password=${MYSQLPASSWORD}
        mysql [B]-hmy_mysql_host[/B] -e "GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX, LOCK TABLES ON ${AFTERLOGIC_DB}.* TO '${AFTERLOGIC_DB_USER}'@'[B]my_mysql_host[/B]' IDENTIFIED BY '${AFTERLOGIC_DB_PASS}';" --user=${MYSQLUSER} --password=${MYSQLPASSWORD}
        mysql [B]-hmy_mysql_host[/B] -e "use ${AFTERLOGIC_DB}; source ${MYSQLDUMP};" --user=${AFTERLOGIC_DB_USER} --password=${AFTERLOGIC_DB_PASS} 2> /dev/null
        mysql [B]-hmy_mysql_host[/B] -e "SET PASSWORD FOR '${AFTERLOGIC_DB_USER}'@'localhost' = PASSWORD('${AFTERLOGIC_DB_PASS}');" --user=${MYSQLUSER} --password=${MYSQLPASSWORD}
        mysql [B]-hmy_mysql_host[/B] -e "use ${AFTERLOGIC_DB}; source ${MYSQLDUMP};" --user=${AFTERLOGIC_DB_USER} --password=${AFTERLOGIC_DB_PASS} 2> /dev/null

to install database properly on another mysql host.
Can it be readed from mysqlconf= in directadmin.conf automatically ?
 
Back
Top