<domain>
The password for outgoing authentication. It works in a pair with auth-username: authentication starts when the receiver has advertised the AUTH extension, a supported mechanism is among its mechanisms, and at least one of the two lines is non-empty.
The # sign is not allowed in the password. The manual warns about this separately: the engine treats it as the start of a comment, and everything after it is discarded. The password silently becomes shorter — and the refusal will come from the receiver and look like invalid credentials.
The password sits in the configuration in plain text. Neither encryption nor a reference to a secret store is provided for this line — it is protected only by the file system.
Exclude the hash sign when generating. This is not a recommendation but an engine limitation.
Configuration file permissions. The password is in it in plain text; all that protects it is the owner and the access mode.
The mechanism matters more than length. CRAM-MD5 does not send the password over the network at all; PLAIN and LOGIN do, and on an unencrypted connection their use is restricted by use-unencrypted-plain-auth.
# a password without a hash sign — otherwise it will be silently truncated <domain relay.example.com> auth-username relay-user auth-password s3cr3t-no-hash-sign</domain>
what people get wrong and how it ends2 mistakes▶
§ 3.3.10.64
our experience
1 relation
pmta show settings relay.example.com/vmta1 | grep -i auth-password ls -l /etc/pmta/config
3 articles
◇How the policy for a receiver is assembledSettings are assembled from the most general pattern to the most precise; the order of blocks in the file means nothing.◇Backoff mode — the queue's second personalityA queue that a receiver has started refusing switches to a parallel set of limits, retries and routes — ten directives that act only in this mode.◇Reputation monitoring inside the nodeThe engine itself watches the receiving servers’ replies and changes the queue mode on a pattern match — a reaction within the connection, not through telemetry.