mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:44:35 +03:00
in smtp submission, if a fromid is present in the mailfrom command, use it when queueing
it's the responsibility of the sender to use unique fromid's. we do check if that's the case, and return an error if not. also make it more clear that "unique smtp mail from addresses" map to the "FromIDLoginAddresses" account config field. based on feedback from cuu508 for #31, thanks!
This commit is contained in:
@ -37,10 +37,12 @@ An HTTP POST to /webapi/v0/<method> calls a method.The form can be either
|
||||
"application/x-www-form-urlencoded" or "multipart/form-data". Form field
|
||||
"request" must contain the request parameters, encoded as JSON.
|
||||
|
||||
HTTP basic authentication is required for calling methods, with an email
|
||||
address as user name. Use a login address configured for "unique SMTP MAIL
|
||||
FROM" addresses, and configure a period to "keep retired messages delivered
|
||||
from the queue" for automatic suppression list management.
|
||||
HTTP basic authentication is required for calling methods, with an email address
|
||||
as user name. Use a login address configured for "unique SMTP MAIL FROM"
|
||||
addresses ("FromIDLoginAddresses" in the account configuration), and configure
|
||||
an interval to "keep retired messages delivered from the queue". This allows
|
||||
incoming DSNs to be matched to the original outgoing messages, and enables
|
||||
automatic suppression list management.
|
||||
|
||||
HTTP response status 200 OK indicates a successful method call, status 400
|
||||
indicates an error. The response body of an error is a JSON object with a
|
||||
|
Reference in New Issue
Block a user