ok thank you for the update!
I just tested in my case I guess it’s not working, I set it to 10 but still I am able to received the email.
logs
“size”:859,“response”:{“code”:250,“enhanced_code”:{“class”:2,“subject”:0,“detail”:0},“content”:“OK 1734556258 98e67ed59e1d1-2f2edc29360si2544794a91.137 - gsmtp”,“command”:“.\r\n”},“peer_address”:{“name”:“gmail-smtp-in.l.google.com.”,“addr”:“74.125.24.27”},“timestamp”:1734556258,“created”:1734556257,“num_attempts”:0,“bounce_classification”:“Uncategorized”
set max_message_size = 10, in init.lua file
Note build is same
I hope the size mentioned in the logs is byte I have checked the document.
Again, set a sane limit, we’re not here to enforce impractical settings.
yes, it is in bytes. Make sure to restart kumod after making changes there or they wont take effect. and yes, pick something logical like 50.
I know you are probably trying to reject all mail with this, but that is not what it was designed to do.
let me try with that, I am using the numeric value 500, but getting same response .i.e. my emails are getting relayed, I am using swaks to send emails.
This is with a setting of 10, so I think you may have some other configuration issue. you may want to tail the journal while injecting to see if you have other errors:
250-PIPELINING
250-ENHANCEDSTATUSCODES
250 STARTTLS
250 OK EnvelopeAddress("tom@kumomta.com")
250 OK EnvelopeAddress("tom@kumomta.com")
354 Send body; end with CRLF.CRLF
552 5.3.4 message too big
221 So long, and thanks for all the fish!
Connection closed by foreign host.
thanks for the update let me check at my end, an update you accordingly
can you pls help with how to use reset_after mentioned in the throttle page
reset_after - the remaining duration until the limit will reset to its maximum capacity. Equivalent to the X-RateLimit-Reset HTTP that might be returned in various web services that implement throttling
this one
That is not a setting, it is a return value from throttle:throttle()
you could potentially use that to learn how much time is remaining in the total of the throttles that affect this. Like “total of remaining”
how to check the email size at time of listener?
^^ This appears to be a new question. Please create a new question.