What it takes for a program to submit messages through the bindings.
Permissions: on Unix the program runs as root or as a user in the pmta group; on Windows as SYSTEM or a user in the Administrators group.
Languages: Perl 5.12 and later, .NET 2.0 and later, Java 6 and later — plus its libraries for JavaMail.
The node: the submission source needs always-allow-relaying yes and allow-mailmerge yes — or always-allow-api-submission yes, which enables mail merge itself.
This is the price of the alternative to SMTP: any platform can use a mail connection without a single change, while a binding requires code and access.
Requirements:
| What | Requirement |
|---|---|
| permissions on Unix | root or the pmta group |
| permissions on Windows | SYSTEM or Administrators |
| submission source | always-allow-relaying and allow-mailmerge |
| batch size | up to 5,000 recipients |
<source 10.0.0.5> always-allow-relaying yes always-allow-api-submission yes</source>
4 relations
id appuser ls /opt/pmta/api
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.◇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.◇The load balancer header at the entranceThe node reads the PROXY header at the start of an incoming connection and treats the address from it as the source; this works for both kinds of entry point.