It is possible to use directadmin without installing and using POP3/IMAP servers. It's Dovecot which adds support of POP3/IMAP on a Directadmin server. And here you can learn how to completely remove Dovecot from a Directadmin powered server.
First we should disable services in options.conf of CustomBuild. For this run the following commands as root:
cd /usr/local/directadmin/custombuild ./build update ./build set_service dovecot delete ./build set dovecot no ./build set dovecot_conf no ./build set roundcube no ./build set squirrelmail no
To see what programs can now be removed from your server run this:
./build list_removals
you should see at least Dovecot:
Dovecot installed, but not enabled in options.conf: './build remove_dovecot'
Rouncube and SquirrelMail webmails might be seen there as well
RoundCube webmail installed, but not enabled in options.conf: './build remove_roundcube'
SquirrelMail webmail installed, but not enabled in options.conf: './build remove_squirrelmail'
Now we are ready to remove Dovecot. For this run the following command as root:
./build remove_dovecot
You should see an output similar to:
[root@server custombuild]# ./build remove_dovecot Disabling dovecot in services.status Disabled on this server Removing /etc/init.d/dovecot... Removing directory: /usr/share/doc/dovecot... Removing directory: /etc/dovecot... Removing directory: /usr/lib/dovecot... Removing directory: /usr/libexec/dovecot... Removing directory: /usr/include/dovecot... Removing file: /usr/sbin/dovecot... Removing file: /etc/dovecot.conf...
Run this
./build remove_roundcube
to remove RoundCube webmail from your server.
You will see an output similar to the following:
[root@server custombuild]# ./build remove_roundcube Dropping database da_roundcube and database user da_roundcube... Removing file: /var/www/html/roundcube... Removing all roundcubemail directories from /var/www/html... /var/www/html/roundcubemail-1.1.4 RoundCube webmail has been successfully removed.
Run this
./build remove_squirrelmail
to remove SquirrelMail webmail from your server.
You will see an output similar to the following:
[root@server custombuild]# ./build remove_squirrelmail Removing file: /var/www/html/squirrelmail... Removing all squirrelmail directories from /var/www/html... /var/www/html/squirrelmail-1.4.22 SquirrelMail has been successfully removed.
That's it.
And you will need to customize a skin to remove POP/IMAP sections from it.
How to customize one portion of a DA skin, without needing to create your own skin.