Closed infrequently closed 1 month ago
You can include the status code in the reject
action, for instance:
reject "551 5.1.1 Your domain '${env.helo_domain}' has been blocklisted.";
There is an example in the repository under tests/resources/smtp/sieve/stage_ehlo.sieve
.
Which feature or improvement would you like to request?
I'd like to see this feature:
I use a Sieve script to block sending E-Mails to some addresses as discussed here. The "reject" and "ereject"-Actions are working and the mail-server rejects the message on protocol level as follows: [...] smtp::inbound::session: event="write" data="503 5.5.3 my reject message\r\n"[...]
As far as I understand RFC 5429 the error should be a 550 error.
[...]
I suggest changing the error code accordingly.
PS: Using Stalwart 0.7.3, update to 0.8.0 pending
Is your feature request related to a problem?
I'm having a problem with...
Code of Conduct