10. Postfix and Roundcube - MikaelAndriIngason/KEST3LN05EU-Lokaverkefni GitHub Wiki

Postfix

Installation

$ sudo DEBIAN_PRIORITY=low apt install postfix

Settings

  • General type of mail configuration = Internet site
  • System mail name = ddp.is
  • Root and postmaster mail recipient = mikael

Postfix mailbox

$ sudo postconf -e 'home_mailbox= Maildir/'
$ sudo postconf -e 'virtual_alias_maps= hash:/etc/postfix/virtual'


Postfix assign emails

$ sudo nano /etc/postfix/virtual
$ sudo postmap /etc/postfix/virtual

postfixemails


Adjust firewall

$ sudo ufw allow Postfix


Dovecot

Installation

$ sudo apt install dovecot-imapd dovecot-pop3d


Dovecot configuration

$ sudo nano /etc/dovecot/conf.d/10-mail.conf

dove


Roundcube

Installation

$ sudo apt install roundcube roundcube-mysql


Roundcube configuration

$ sudo nano /etc/apache2/conf-enabled/roundcube.conf

roundconf1

$ sudo nano /etc/roundcube/config.inc.php

roundconf2


Roundcube login

ddp.is/webmail

roundproof