Postfix - Architecture (Processes)

About

postfix may starts several process, generally:

Remotely

Master

Postfix services are implemented by daemon processes. These run in the background, started on-demand by the master(8) process.

  • Check that the port is taken locally by the master postfix process
 netstat -tulpn | egrep 'master|:25'
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      31278/master
tcp6       0      0 :::25                   :::*                    LISTEN      31278/master

See Postfix - Configuration (File, List and Default values)

More http://www.postfix.org/master.5.html

Configuration

There is a lot of configuration that you can see with their default value on this page.

Port 25

  • It needs to be open in order for it to receive mail from the internet.
  • It should accept anonymous connections, but not for relaying

The process on port 25 is the default and is defined in the smtp line of the master.cf

# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd

It follows all configuration defined in the /etc/postfix/main.cf file.

Port 587

Port 587

  • is considered a submission port. It is also what clients use to send mail out using your server.
  • should only allow authenticated connections

See: What are the SMTP Ports? (25, 465, 587)





Discover More
Email - Postfix

Postfix is a SMTP server, supporting LDAP, SMTP AUTH (SASL), TLS The postfix installation installs also an alias to the sendmail command line. Doc - the SMTP...
Gmail Tls Security
How to configure Postfix for TLS / SSL and StartTLS?

Transport Layer Security (TLS, formerly called SSL) with Postfix It provides: certificate-based authentication and encrypted sessions. An encrypted session protects the information that is transmitted:...
Smtp Submission Port Auth Successfull
Postfix - Authentication configuration (SASL) for a connection to the SMTP server (587)

This page shows you yow to configure Postfix to enable remote connections to the Postfix SMTP server on the port 587 (submission port) with authentication. Postfix used SASL as authentication library...
Postfix - Configuration (File, List and Default values)

This article: talks the configuration files lists all postfix configuration, see the default value and links to the reference documentation. postfix architecture /etc/postfix/main.cf where...



Share this page:
Follow us:
Task Runner