critical
Takes the specified sending address out of service for the specified queue. Everything else keeps going as it was: other addresses of the same queue, the same address in other queues, messages already in transit. This is a pinpoint tool — it is used to switch off one bad address for one receiving server, not sending as a whole.
The target is one queue. The domain[/vmta] argument names the receiver and the sending address: yahoo.com/vmta1 is exactly this pair. Without a sending address the engine takes the yahoo.com/{default} queue, and it does not accept a star at all — it replies “Invalid queue name: may not be wildcard.” The address itself must belong to the named sending address, otherwise the reply is “IP address … is not configured for virtual MTA.” Disabling lives in the engine’s memory and survives a configuration reload, but not a service restart.
The same result is produced by a mailbox provider rule. The disable-source-ip action in <smtp-pattern-list> disables an address automatically, by the text of the receiving server’s reply. The command is a manual entry into the same mechanism, and the result of both should be viewed with one command: show disabled sources.
The “IP in a blocklist” policy does not use this command: an address in a blocklist hurts with all receiving servers at once, while disable source takes one queue. So the policy pauses all sending addresses that send from this address. The operation is recorded as reversible: “Return address” takes the address from the operation log.
Always specify –reenable-after. Even when it seems you will bring it back by hand in an hour. An hour turns into a week more often than one would like.
The interval is minutes, hours, days: 30m, 4h, 2d. A sensible order of magnitude for reacting to a receiving server’s block is from an hour to a day: in less than an hour the receiving server usually has no time to “cool down,” and more than a day is already taking the address out of service, which should be done deliberately, not by a timer.
The target is always a pair. yahoo.com/vmta1: without a sending address the command takes the {default} queue, and with a star it does not run. It cannot remove an address for all receiving servers at once — for that, the queues of its sending address are paused.
# disable an address for one receiving server for an hour $ pmta disable source --reenable-after=1h 1.2.3.4 yahoo.com/vmta1 # the command cannot do it for all receiving servers at once — a star gets # “Invalid queue name: may not be wildcard”; the sending address is paused instead $ pmta pause queue '*/vmta1'
what people get wrong and how it ends2 mistakes▶
§ 6.3.35
verified on a node
4 relations
Which outgoing addresses are disabledThe only way to see what came out — and along with it everything disabled by mailbox provider rules. § 6.3.37The receiver refused the connectionA persistent refusal of one address by one receiving server is a typical reason to take the address out of service. inference
pmta show disabled sources yahoo.com/vmta1
3 articles
◇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.◇The sending address — what it is made ofA 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.◇How the node responds to the receiving server's wordsMatches SMTP replies against regular expressions and changes the queue mode on a match — the very trigger that all of the backoff mode machinery waits for.