Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Max_message_size not taking effect

Open
#772 2 comments 0 reactions 1 assignee View on GitHub

@foxcpp is already working on this.

Since Mar 9, 2025.

Assessment

This issue has not been assessed yet.

Description

When I try to send larger attachments (30.33MB), it always fails, but attachments of 13.66MB can be sent successfully. My settings allow for much more than 30.33MB, so why am I still encountering failures when sending the larger file?

imap: listening on tls://0.0.0.0:993	

imap: listening on tcp://0.0.0.0:143	

imapsql: loaded a large mailbox with 10110 messages, beware of performance issues	

submission: rDNS error	{"reason":"DNS response contained records which contain invalid names","src_ip":"192.168.1.3:48138"}

submission: incoming message	{"msg_id":"552598d7","sender":"xxxx","src_host":"[127.0.0.1]","src_ip":"192.168.1.3:48138","username":"xxxx"}

submission: RCPT ok	{"msg_id":"552598d7","rcpt":"xxxx"}

submission: DATA error	{"msg_id":"552598d7","reason":"I/O error while writing buffer: buffer: failed to write file: SMTP error 552: Maximum message size exceeded"}

submission: aborted	{"msg_id":"552598d7"}

Image

Dominant language
Go
Stars
6.1k
Forks
327
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from foxcpp/maddy

All issues in foxcpp/maddy

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.