Relative Content

Debian Server

category

Samba Active Directory (With Bind9)

The configuration of samba in standard mode is pretty self explanatory, but unless you are running a pretty basic configuration you are likely to want Active Directory to manage longons for MS Windows workstations. NOTE: In this example we are going to use the following Server Name:         pine Domain Name:       uk And we will be […]

PHPPgadmin

phppgadmin is installed in /usr/share/phppgadmin. You will need to create a site file in /etc/apache2/sites-available and enable it in order to access phppgadmin. You will also have to set up dns accordingly. The file should look something like this <VirtualHost> *:80> ServerName pgadmin.caa.intrasec.net Redirect “/” https://pgadmin.caa.intrasec.net </VirtualHost> <IfModule mod_ssl.c> <VirtualHost _default_:443> Servername pgadmin.caa.intrasec.net ServerAdmin tim@jtek.co.uk […]

Apache 2

If you haven’t got apache installed already then just install it using apt-get install apache2. Once it is installed, make sure that it works by pointing a browser to the FQDN of your server. If all is well then it will bring up the debian apache2 default page.  If it does not work and you […]

Roundcube

  Installation #apt-get -y install roundcube-pgsql roundcube-plugins If you already have a postgresql server running with some default values then let the install wizard do its thing, it will ask you a few questions, install the database and install roundcube in /var/lib/roundcube   If you want to do things manually for some reason then : […]

Spamassassin

Installation First thing first: DON’T EVEN THINK ABOUT DOING THIS UNTIL YOU HAVE AN OPERATIONAL MAIL SERVER RUNNING DOVECOT, POSTFIX AND POSTFIXADMIN! You need to get it working on it’s own; If it has gone tits up already this won’t fix it. Did I mention not to do this until you had a working server?  […]

Dovecot

While postfix provides SMTP outgoing mail services dovecot manages the inbound traffic and the mail boxes. In the previous parts of this guide we configured postfixadmin so that we can add domains and mailboxes to the database. This information is also useful to dovecot so as part of our configuration of dovecot we are going […]

SSH Notes

  Root Login While it may not be recommended there are times when you may wish to enable root login remotely (at least temporarily while you are setting up a remote system) Debian stretch no longer automatically permits root login remotely so you have to enable it by editing the config file sshd_config The line […]

Postfixadmin

Pre Installation If for no other reason that to make sure that your DBMS is working as it should, prior to installing postfixadmin you are advised to manually create the database and user that it will use in postgresql. First you need to su to the postgres user and create a postgresql user that postfixadmin […]

Postfix

Installation Now that we have postfixadmin and the database set up we can install postfix. #apt-get install postfix-pgsql NOTE: At this point there is a chance that Debian has pre-empted you and automatically installed a number of packages that you do not want and that conflict with the packages that you intend to use (I […]

BIND dns

Getting bind right can be a bit if a bind (if you pardon the pun) so in this example we are going to start be outlining what our zones actually do. servicedomain.com is the domain name that we purchased from our domain name supplier. mail.zone1.servicedomain.com will be the public name of our mail server (The […]