On 7/22/25 15:46, Syafril Hermansyah via Mdaemon-L wrote:
On 7/22/25 15:10, Rievo Niemrod Efraim via Mdaemon-L wrote:
Mohon infonya pak, gimana ya cara membatasi pengiriman email di
dengan size nya kita tentukan,

Karena ini saya sudah aktifkan tapi masih kelolosan di cabang lain,
apakah karena domainnya berbeda ya ?


Ya, smtp size limit diatur per domain basis, disamping ada batas atas yang berlaku secara global (untuk semua domain).


Batas atas (global) diatur dari menu server delivery

https://mdaemon.dutaint.com/mdaemon/25.0.0/default-domain-and- servers_servers.html

Refuse messages larger than [xx] KB (0=no limit)

Setting a value here will prevent MDaemon from accepting or processing mail that exceeds a certain fixed size. When this option is enabled MDaemon will attempt to use the ESMTP SIZE command specified in RFC-1870.


SMTP size limit per domain dibatasi dari domain manager.

https://mdaemon.dutaint.com/mdaemon/25.0.0/domain-manager_options.html

Max message size from authenticated senders [xx] KB (0=no limit)

Ini pengaturan smtp size limit untuk pengiriman/penerimaan mail dari local user ke sesama local user di MDaemon host yang sama (boleh di domain yang sama atau beda domain). Umumnya di set tinggi dibanding global limit, karena menggunakan LAN Bandwidth yang high speed dan free of charge.

Max message size from all other senders [xx] KB (0=no limit)

Ini pengaturan smtp size limit untuk penerimaan mail dari/ke internet.
Nilainya tidak bisa melebihi nilai global limit.


Tambahan:
Internet mail server (MDaemon) tidak mendeteksi besarnya lampiran (attachment file size), melainkan envelope message size.
Envelope message size = message body+attachment+message header.


https://serverfault.com/questions/1104054/does-the-email-size-limit-include-the-size-of-the-body


Technically, there is no difference between the message body and the attachments. Both the body and the attachments are equally parts of a multipart or multipurpose email message, as defined in RFC 2045.

The message size limits are typically against the total length of the message including all the parts and the headers. Such limit can also be advertised with a Message Size Declaration reply to the EHLO command, and the RFC 1870 also provides a definition for the size limit in section 5:



--
syafril
--------
Syafril Hermansyah

MDaemon-L Moderator, run MDaemon 25.5.0 Beta B
Mohon tidak kirim private mail (atau cc:) untuk masalah MDaemon.

Anda tidak pernah akan menemukan diri Anda sampai Anda menghadapi kebenaran
        -- Pearl Bailey


--
--[mdaemon-l]----------------------------------------------------------
Milis ini untuk Diskusi antar pengguna MDaemon Mail Server di Indonesia

Netiket: https://wiki.openstack.org/wiki/MailingListEtiquette
Arsip: http://mdaemon-l.dutaint.com
Dokumentasi : http://mdaemon.dutaint.com
Berlangganan: Kirim mail ke [email protected]
Henti Langgan: Kirim mail ke [email protected]
Versi terakhir: MDaemon 25.0.3, SecurityGateway 11.0.1



Kirim email ke