Globaldeprecatedrestart required
The line granted an address or subnet access to the web monitor. It has been declared deprecated, and the manual section consists of one sentence: use http-access.
The difference between them is substantial. The former pair of lines could only “let in” and “keep out”; http-access also grades access — monitor, operator, admin, plus the deny-logs qualifier. A one-to-one migration gives everyone allowed full access, and that is almost never what is wanted.
The manual gives no values at all: the section contains only the deprecation mark.
Do not translate the value — choose a level:
| What it was | What it became |
|---|---|
| http-mgmt-source 10.0.0.5 | http-access 10.0.0.5 monitor — if it only needs to look |
| the same, but a person edits the configuration | http-access 10.0.0.5 admin |
| no-http-mgmt-source 10.0.0.9 | http-access 10.0.0.9 none above the other lines |
By default nobody is allowed, so an explicit denial is needed only as an exception inside an allowed range.
# this is how it was before http-mgmt-source 10.0.0.5 # this is how it is written now — with an explicit level http-access 10.0.0.5 monitor
what people get wrong and how it ends1 mistake▶
our experience
1 relation
grep -rn "http-mgmt-source" /etc/pmta/
3 articles
◇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.◇The group that grants management rightsMembership in the pmta group gives an unprivileged user the right to call the node’s commands and use submission.◇How the node selects a source and combines its settingsA connection falls under all source blocks whose addresses cover it, and they act merged — the narrow one overrides the wide one; named blocks are attached only by direct reference.