Knowledge base

smtp-validate-addresses verified

Strictness of address validation

in the configuration this is a linesmtp-validate-addresses: …

How strictly submitted envelope and recipient addresses are checked against the standard.

Values

Values
strict · loose
applying
restart required
where it can be set
in the config file · with a startup flag · as an environment variable

In detail

Strict validation refuses addresses that do not conform; loose accepts what the standard frowns on but the world produces. Which is right depends on where the mail comes from — a customer list imported from a decade-old CRM will contain addresses no strict parser accepts, and refusing them at submission is better than sending them, since a receiving server will refuse them anyway.