Postfix

From Athenaeum
Jump to: navigation, search

Config

In order to work with SSL smtp servers you'll need to add the following to main.cf:

# Opportunistic TLS.
smtp_tls_security_level = may

# Mandatory (high-grade) TLS encryption.
smtp_tls_security_level = encrypt
smtp_tls_mandatory_ciphers = high

Diagnostics

  • Script that parses maillogs
Postfix Summarizer
  • tshark -i lo -R smtp
telnet <IP> 25
EHLO
MAIL FROM: <from-email>
RCPT TO: <recipient-email>
DATA
Type message here.
. <Enter>