This is an old revision of the document!


Mail Server Setup

Toolchain

  1. Ubuntu 18.04 Server DO Droplet 1GB
  2. Postfix
  3. Dovecot
  4. SpamAssasin

Installing and configuring POSTFIX

Installation:

$ sudo apt DEBIAN_PRIORITY=low install postfix

while installing the configuration prompt will appear. Lets just go with the following settings.

  • General type of mail configuration?: Internet Site
  • System mail name: cooponscitech.in
  • Root and postmaster mail recipient: ragulkanth
  • Other destinations to accept mail for: $myhostname, cooponscitech.in, mail.cooponscitech.in, localhost
  • Force synchronous updates on mail queue?: No
  • Local networks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  • Mailbox size limit: 0
  • Local address extension character: +
  • Internet protocols to use: all

To reconfigure postfix

$ sudo dpkg-reconfigure postfix