Share on Social Media

In this tutorial, you will learn about Postfix Null Client configuration in Linux 7. #centlinux #linux #mailserver

What is a Null Client Mail Server? :

A null client is a client machine that runs a local mail server which forwards all emails to an outbound mail relay server for delivery. A null client does not accept local delivery for any messages, it can only send them to the outbound mail relay server. Users may run mail clients on the null client to read and send emails.

In Red Hat Enterprise Linux (RHEL) 7, default mail server is postfix (a powerful but easy-to-configure mail server). In this article, we will perform Postfix Null Client Configuration in Linux.

System Specification:

There is no special requirement for null client. Therefore, we are using a virtual machine with following specification.

  • Operating System – Red Hat Enterprise Linux (RHEL) 7
  • Hostname –
  • IP Address –
  • Email Relay Host –

Install Postfix on RHEL 7:

Connect to using ssh, and install postfix using yum command.

# yum install -y postfix

Configure Postfix Null Client:

Configure postfix using postconf command.

# postconf -e 'relayhost=[]'
# postconf -e 'inet_interfaces=loopback-only'
# postconf -e ''
# postconf -e 'mydestination='
# postconf -e 'local_transport=error: local delivery disabled'
# postconf -e 'mynetworks=,[::1]/128'
# systemctl start postfix.service ; systemctl enable postfix.service

Our null client mail server on RHEL 7 has been configured successfully.


In this tutorial, you have learned about Postfix Null Client configuration in Linux 7.