On 9/11/25 07:47, Syafril Hermansyah via Mdaemon-L wrote:
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

Atau block sender host.

Block Permanent, dengan block list

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

Block temporary, dengan dynamic screening

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


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


Baru ingat namanya: SPF_HELO_PASS

https://serverfault.com/questions/1064046/how-do-i-prevent-the-spf-helo-none-warning-when-sending-from-postfix

Menaikkan spam score

https://knowledge.mdaemon.com/how-to-configure-customized-scores-for-spam-assassin-rules




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.

Nasihat yg terbaik diberikan oleh pengalaman. Tp nasehat itu datangnya sering terlambat
        -- Nicholas Amelot de la Houssave, 1634-1706


--
--[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