ILIAS-7-Install-Tutorial for Ubuntu 20.04

Multiple Domains

  • The goal is to send mails to to different domains bbs-ilias.de and tyrker.de

Add users

Concept

  • Every entity who should get emails to his real existing postbox should get an account on your linux system
  • One account is enough for n email adresses
    • Example: The linux account wolfgang and the real existing postbox wolfgang.huebsch@gmx.de can get mails from n email adresses, like 1@bbs-ilias.de, 2@bbs-ilias.de etc
  • The users we add can not login to the system will not have a password for security reasons
  • Way of the incomming mail: buchung@tyrker.de comes to the server. The file virtual routes this mail to the user wolfgang and the file aliases will route the mails for user wolfgang tp the postbox wolfgang.huebsch@gmx.de

Adding users

  • Creating the user buchung:
    • adduser --system --no-create-home buchung

Create virtual map

  • The file file /etc/postfix/virtual is a file that assigns a email adress like wolfgang@domain.tld to a user of your linux system
  • The user will get this mail and later the entry in /etc/aliases will forward the mail to the users email account, for example wolfgang.huebsch@gmx.de
  • cd /etc/postfix
  • nano virtual
  • Paste this line in:
    • buchung@tyrker.de       buchung
  • Update the virtual database:
    • postmap /etc/postfix/virtual
    • postfix reload

Update main.cf

  • nano main.cf
  • Add these example line:
    • virtual_alias_maps = hash:/etc/postfix/virtual
    • virtual_alias_domains=bbs-ilias.de, tyrker.de
  • postfix reload

Update /etc/aliases

  • nano /etc/aliases
  • Add this line:
    • buchung:           wolfgang.huebsch@gmx.de
  • newaliases
  • postfix reload


No comment has been posted yet.