Qmail Configuration

Hosted Cloud

Qmail - TCPServer

When using Qmail using tcpserver to spawn the qmail-smtp process, add a rule to your /etc/tcp.smtp file directing it to accept connections based on the reverse DNS of the connecting host:


Qmail - Inetd

When using Qmail as an inetd service by using tcp-env, all SMTP access configuration is done from the following files:

  • /etc/hosts.allow
  • /etc/hosts.deny
  1. Add the following line to /etc/hosts.allow
    tcp-env: .antispamcloud.com: setenv = RELAYCLIENT
  2. Add the following line to /etc/hosts.deny . This will deny access from all hosts except those in /etc/hosts.allow for the inetd service qmail
    tcp-env: ALL

Local Cloud

Replace .antispamcloud.com with your servers root hostname.

Disclaimer: This documentation may contain references to third party software or websites. N-able has no control over third party software or content and is not responsible for the availability, security, or operation, of any third-party software. If you decide to utilize a release involving third-party software, you do so entirely at your own risk and subject to the applicable third party’s terms and conditions of the use of such software. No information obtained by you from N-able or this documentation shall create any warranty for such software.