Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Postfix Documentation
Previous Page Home Next Page

Postfix on a null client

A null client is a machine that can only send mail. It receives no mail from the network, and it does not deliver any mail locally. A null client typically uses POP, IMAP or NFS for mailbox access.

In this example we assume that the Internet domain name is "" and that the machine is named "". As usual, the examples show only parameters that are not left at their default settings.

1 /etc/postfix/
myorigin = $
relayhost = $
inet_interfaces =
local_transport = 
error:local delivery is disabled
7 /etc/postfix/
8     Comment out the local delivery agent entry


  • Line 2: Send mail as "[email protected]" (instead of "[email protected]"), so that nothing ever has a reason to send mail to "[email protected]".

  • Line 3: Forward all mail to the mail server that is responsible for the "" domain. This prevents mail from getting stuck on the null client if it is turned off while some remote destination is unreachable.

  • Line 4: Do not accept mail from the network.

  • Lines 5-8: Disable local mail delivery. All mail goes to the mail server as specified in line 3.

Postfix Documentation
Previous Page Home Next Page