Based on Debian 10 "Buster" environment.

Postfix (Satellite system)

For the secondary server, a mail server is necessary for cronjobs or form mails, but it doesn't have to communicate with the internet.

In this case, Postfix as a satellite system is suitable.

Postfix Installation

# apt install postfix
  • On the next screen choose the "Satellite system".
  • The system mail name same as the normal case.
  • Give the SMTP relay host, to which all mails shall be sent.
    (Relay host should be the mail server just set up as primary server.)

The firewall doesn't have to be opened, since this satellite system is for the local system only.

This is all for the satellite system. Postfix will receive the mails from local systems, and forward all of them to the relay host.

Configure the relay host


The relay host (primary server) has to accept the connection from the satellite system. Add the IP address to the mynetworks in /etc/postfix/ to handle the satellite server same as the localhost.

mynetworks = [::ffff:]/104 [::1]/128 IPv4 [IPv6]
  • Add IPv4 global address of the satellite server
  • Add IPv6 global address of the satellite server inside these [] brackets.

Mail transfer

How to receive the mails for the satellite server (i.e. cron results) depends on your policy. In this case, the mails sent to the satellite server accounts will be delivered to the main server mailbox.

To receive the mails to the satellite server, add the domain to virtual_mailbox_domains in /etc/postfix/

virtual_mailbox_domains =

Reload Postfix after you edit

# systemctl reload postfix

Add the mail addresses to /etc/postfix/virtual to consolidate system accounts to 'info'.

Use postmap to renew the database.

# postmap /etc/postfix/virtual

Add virtual mailbox user

Add a mailbox as described here.