Global
The default is false.
The line exists because two submission methods differ. In the SMTP protocol, a line starting with a dot must be escaped with a second dot. In a pickup directory file, escaping is not needed.
A program written for SMTP and retrained to use files often keeps adding the second dot. Then the extra dot ends up in the message and reaches the recipient.
With true the engine removes this second dot.
The case is rare but not made up: this is what borders in plain-text messages and some markup look like. It can only be checked with a message to your own mailbox.
Hence the rule: the line fixes a known fault of a specific submitting program, it is not set in advance.
What to set. The line is targeted:
| Value | When |
|---|---|
| false (default) | the submitting program builds files correctly |
| true | it is known to add the second dot out of SMTP habit |
The second should be enabled after you have seen the extra dot in a delivered message, not on suspicion.
# the submitting program escapes the dot out of SMTP habit pickup /opt/pickup/new /opt/pickup/badfiles pickup-remove-dot yes
what people get wrong and how it ends2 mistakes▶
our experience
§ 3.3.1.56.3
1 relation
grep -n 'pickup' /etc/pmta/config
3 articles
◇How a message gets into the engineSix described submission methods: extended SMTP, four language bindings and a directory the node watches on disk.◇Who is allowed to submit mail and for whom to accept itOut of the box, the node accepts submission only from the machine itself; two different questions — “who can send through us” and “for whose addresses we accept mail” — are answered by different directives.◇Headers the sender uses to control deliverySix control headers let the submitting side choose a stream, tag a message with a job, set signing options and the key, the envelope identifier and the schedule; each is allowed separately and per source.