Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MtaPostconfKeys = []string{
"inet_interfaces",
"mynetworks_style",
"smtpd_recipient_restrictions",
}
MtaPostconfKeys is the minimal allowlist for mta_fingerprint (single postconf invocation).
Functions ¶
func CollectPostfixPosture ¶
func CollectPostfixPosture(ctx context.Context, services []payload.ServiceEntry) *payload.PostfixPosture
CollectPostfixPosture collects bounded Postfix security posture via allowlisted postconf keys and bounded master.cf parse. Returns nil when no postfix binary is found on PATH or common paths.
func LogicalMasterCfLines ¶
LogicalMasterCfLines merges continuation lines (leading whitespace) and drops comments/empties.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.