API operation · mail group
POST
/mail/greylist/{id}/pass
First published 19 Nov 2026
0.2.30Unchanged since publicationRelease a greylisted message for its next delivery attempt
Who may call it
AdministratorResellerCustomer
Token scope, any of
mailallAnswers200 OK
The message can pass greylisting on its next retry, whenever it arrives, and still goes through spam scoring. As after the usual wait, later mail from the same sender and network to the same recipients bypasses greylisting while Rspamd remembers the sender.
Use always to add an exemption for future mail. Adding a sender domain requires held mail that SPF or DKIM verified as coming from that domain. UrbeStack reports when that verification is missing. See POST /mail/lists for how nogreylist entries match.
The id must contain 4 to 64 lowercase letters or digits. An invalid id or always value returns 400. Requires an administrator token with the mail scope.
As a command
Run as root on the serverParameters
idpath ·string, matching ^[a-z0-9]{4,64}$RequiredRequest body
JSON· 1 fieldalwaysstring, one of ip, domainEntry to add to the server's nogreylist list, with ip for the sending server's IP address or domain for the sender domain. UrbeStack releases all messages held from the selected IP address or domain.
Example
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X POST "$API/mail/greylist/1/pass" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"always": "ip"
}'Response ·
200 OK{
"always": {
"added": 1,
"entry": "text",
"kind": "profile",
"scope": "text"
},
"domain": "example.com",
"id": 1,
"messages": 1,
"sender": "text"
}Errors
25 errors, each a status and a sentence400--always is ip or domain400--id goes alone400<what> must be text without control characters, 1 to <max> characters400An entry is named by lowercase letters and digits400Domain name required400Domain name too long400Give --id ID, or --domain DOMAIN with --sender SENDER_DOMAIN400Give an entry, or a domain and the sender domain held for it400Invalid IPv4 address400Invalid IPv6 address400Invalid domain name400Invalid port400Invalid setting key400With --domain, --always is domain: a customer lists a sender by its domain400always is ip or domain401Authentication required403Only an administrator can let through an individual held message.404No held message <id>404No mail from <sender> is held for <name>404Setting '<key>' not found409Mail from <sender> is no longer held: its records have expired.409That message has no sender domain. You can list its sending server's IP address instead.409That message has no sending server IP address on record409That message is no longer held: its record expired. Its next delivery attempt will be checked again.409That message was let in alreadyNo error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.30 on 19 Nov 2026.
urbestack.com/docs/api/post-mail-greylist-id-pass/