Home
Features
Modules
Integrations
PowerMTA Docs
MailerQ Docs
Pricing
Blog
D
e
m
o
Home
Features
Modules
Integrations
PowerMTA Docs
MailerQ Docs
Pricing
Blog
D
e
m
o
Home
Features
Modules
Integrations
PowerMTA Docs
MailerQ Docs
Pricing
Blog
Home
Knowledge base
Knowledge base
PMTA knowledge base
›
Scenario
Sending through proxies
entries in this scenario: 23
client
<proxy>
critical
Directive
The sending address the proxy must use; together with server, these are the block’s two required lines.
enable-source-ip-limits-on-sending-ip
<domain>
critical
Directive
Important when sending through a proxy: the local address and the one the receiver sees are different.
server
<proxy>
critical
Directive
Where the node connects instead of the receiving server; together with client, these are the block’s two required lines.
smtp-proxy-source-host
Global
critical
Directive
The vendor’s way to send through a proxy — local address, proxy, client address and greeting name in one line.
disabled-source-ip-notify
<domain>
Directive
The only thing that makes a quiet mechanism noticeable: a message arrives both on disabling and on re-enabling.
include-tlv
<proxy>
Directive
Adds a field with the queue domain to the PROXY header; works only with the second protocol version.
protocol-version
<proxy>
Directive
The HAProxy header version, 1 or 2; if not set, it is taken from the sending address, then from the node.
proxy-include-tlv
Global
Directive
Adds a field with the queue domain to the PROXY header; requires the second protocol version.
retry-attempts
<proxy>
Directive
The number of connection attempts to the proxy before moving on to the next one in the list; the default is one, the ceiling is ten.
source-ip-max-connect-rate
<domain>
Directive
Not how many connections to hold, but how often to open them — for each address separately.
source-ip-max-msg-rate
<domain>
Directive
The main one in the family: the manual directly names it for those who have several IPs in one sending address.
source-ip-max-smtp-out
<domain>
Directive
Splits the queue limit by address: each address matching the mask gets a number of its own.
use-proxy
Global
Directive
A list of proxy blocks in backup order; the second is used only when the first did not respond.
proxy-protocol
Global
Directive
The HAProxy header version, 1 or 2; the default is the first.
source-ip-max-data-volume-rate
<domain>
Directive
The only one in the family that counts what was delivered rather than attempts; without a suffix the number reads as bytes.
A named proxy and three levels of its settings
critical
Mechanism
The block carries the proxy address, the external sending address, the protocol version, the field type and the number of attempts; the first two lines are required.
The sending address — what it is made of
critical
Mechanism
A named set of everything that is a property of the address: which IP the message leaves from, how the node introduces itself, what it signs with and how fast it sends.
External addresses on one machine, nodes inside
critical
Mechanism
Nodes sit on internal addresses and go out through a proxy that holds all the external sending addresses.
The sender names the stream for each message
critical
Mechanism
The message carries the name of the stream it should be sent through — the choice is made by the submitting program, not by the node configuration.
Cloud restrictions
Mechanism
Clouds restrict outbound mail on port 25 until you ask them to lift the limit, and mailbox providers treat their address ranges with suspicion.
The node takes the stream whose address matches the connection address
Mechanism
The source default accepts a reserved value instead of a stream name — then the node chooses the stream whose sending address matches the address the connection arrived at.
<proxy>
Configuration block
A named block with the proxy address and the external sending address; both lines are mandatory, and there can be several blocks.
disable source
critical
Command
There is an option to bring it back automatically after an interval — without it the address stays disabled forever.