Postfix SMTP Server

Before Entering Today's Topic

SMTP Servers

Configuration

  • /etc/postfix/main.cf ... main server configuration
  • /etc/postfix/master.cf ... master process configuration

Main Server Configuration

  • /usr/sbin/postconf ... all configurable parameters
  • What domain name to use in outbound mail
  • What domains to receive mail for
  • What clients to relay mail from
  • What destinations to relay mail to

Main Server Configuration (contd.)

  • What delivery method: direct or indirect
  • What trouble to report to the postmaster
  • Logging
  • etc. etc.

Master Process Configuration

  • master.cf manual
  • Receiving / Relaying Server
  • Submission Server
  • Amavisd Handover and Retrieve
  • Various Sub-Processes

Postfix Architecture

Graylisting / Amavis + SpamAssassin

  • check_policy_service inet:127.0.0.1:10023
  • content_filter=smtp-amavis:[127.0.0.1]:10024
  • 127.0.0.1:10025 inet n - n - - smtpd

Mail Forwarding / Aliases

  • ~/.forward :
       \me, [email protected]
    
  • /etc/aliases :
       MAILER-DAEMON:  postmaster
       postmaster:     root
       root: tkikuchi,ymori
    

Procmail

Mailing List

Quiz of the Day

  • What is the name of our (is.kochi-u.ac.jp domain) SMTP server program ?