On 9/10/25 16:48, Agi Subagio via Mdaemon-L wrote:
Bagaimana cara blok email masuk yang tidak mencantumkan alamat email lengkap pada MAIL FROM saat negosiasi SMTP incoming spt ini?

Kenapa ingin memblock?
Memangnya itu spam?
Apakah Antispam diaktifkan di SG, tidak terlihat di log.
Apakah SPF check diaktifkan? Tidak terlihat di log.


Pada prinsipnya NULL Sender yidak bisa direject di level SMTP, karena NULL Sender itu standard internet mail digunakan sender server untuk

- Automated Notifications : DSN/Bounce notification, Mailer-Daemon.
- Automatic Replies: Return Receive Confirmation, Read Confirmation, Auto Responder (out of office confirmation).

Jadi kalau ingin menolak NULL sender gunakan Content Filter rule.

https://help.mdaemon.com/SecurityGateway/en/content_filter_list.html

misalkan:
Conditions01: If Mail From Is equal to <>
Actions 01: Quarantine the message

Tetapi Internet Mail juga ada ketentuan, bahwa Mail dari NULL sender (MAIL FROM < >) akan menggunakan Sender host sebagai Authentication address (SPF host domain), dan di spamassassin ada rule nya (maaf saya lupa namanya), tinggal dinaikkan saja spam scorenya atau di quarantine
Di Security Gateway ada menu nya disini

https://help.mdaemon.com/SecurityGateway/en/sender_policy_framework_spf.html

[x] Verify sending host using SPF

By default, SecurityGateway will check the sending domain's DNS record to see if the sending host has the authority to send email on its behalf. This uses the domain found in the MAIL value passed during SMTP processing. Clear this checkbox if you do not wish to use SPF processing.

When SPF processing returns a SOFT FAIL result:

[x] ..quarantine the message

atau

...add [xx] points to message score



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

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

Ada orang-2x yg menjadin agresip, oleh krn mrk kuatir menjadi takut
        -- Victor Cherbullieez, 1829-1899


--
--[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.5.0, SecurityGateway 11.0.2



Kirim email ke