On 8/9/24 15:16, [email protected] wrote:
https://knowledge.mdaemon.com/configure-mdaemon-microsoft-365-to-use-the-same-domain-name
Untuk MX nya bisa diarahkan ke MS 365 pak ?


Iya boleh.

Sehingga Mdaemon nya berdiri dibawah MS 365

Apa maksudnya MDaemon berdiri dibawah MS 365?

Jika satu domain punya lebih dari satu MX host, maka dibedakan berdasar priority

https://en.wikipedia.org/wiki/MX_record

According to RFC 5321, the lowest-numbered records are the most preferred.[4] This phrasing can be confusing, and so the preference number is sometimes referred to as the distance: smaller distances are more preferable. An older RFC, RFC 974, indicates that when the preference numbers are the same for two servers, they have the same priority, hence those two terms are used interchangeably.

The preference number is an unsigned[5] 16-bit[5][6] field, thus valid values range from 0 to 65535.

Karena statement dari link nya: MX Records should be setup to point to MDaemon. MDaemon will need to properly handle email for the Microsoft 365 accounts. We recommend that you create accounts for all users of the domain in MDaemon.

For example, we have a domain test.com setup with accounts in MDaemon and in Microsoft 365. [email protected] retrieves their email from MDaemon, [email protected] retrieves their email from Microsoft 365.
MDaemon should have accounts for [email protected] and [email protected].  The 
account for [email protected] needs to be configured to forward all mail to the 
Microsoft 365 host name.

Alau mekanisme diatas, Mdaemon berdiri didepan MS 365 (tolong koreksi kalau 
salah pak)


Anda salah mengerti.

Maksud dari knowledge base article itu adalah MDaemon dijadikan primary MX, tetapi tidak harus begitu. Yang penting adalah semua user didaftarkan di MDaemon artinya MDaemon menjadi master user database.

Jika ada banyak server menangani domain yang sama, maka perlu ada 1 server yang mendaftar semua user agar tidak terjadi mail loop (ping pong mail antar server) dan sebagai referensi Global AddressBook (Global Contact). Disarankan menggunakan MDaemon, karena hanya MDaemon yang punya fasilitas forward mail ke alamat diri sendiri tetapi di server remote.

http://mdaemon.dutaint.co.id/mdaemon/24.0.0/ae_forwarding.html

misalkan untuk [email protected]  di set forward ke

[x] Enable mail forwarding

Forwarding addresses: [email protected]
Domain, [Host], or IP: Microsoft-365-hostname

Internet mail server lain, termasuk Microsoft 365, umumnya hanya punya fitur "if mail send to unknown user then forward to this host", seperti fitur di mdaemon yang ini

http://mdaemon.dutaint.co.id/mdaemon/24.0.0/unknown_mail.html

Mail queued for unknown users should be...

[x] ...forwarded to another mail server

Host name or IP: remote-server-Microsoft-365

Knowledge base article yang ini assumsinya semua mail server berhubungan dengan protocol SMTP.

---------------------

Ada cara lain untuk konfigurasi hybrid y.i. menggunakan MultiPOP.
Dalam hal pakai multipop maka master databasenya ada di MS 365, karena MS 365 lah yang aktif di Internet (punya fixed public IP).


http://mdaemon.dutaint.co.id/mdaemon/24.0.0/multipop.html

Enable MultiPOP

Check this box to enabled the MultiPOP server. MultiPOP collects mail from POP servers on behalf of your users and stores it in the their local mailboxes. The MultiPOP feature allows you to create an unlimited number of POP3 host/user/password combinations for collection of mail messages from multiple sources. This is useful for your users who have mail accounts on multiple servers but would prefer to collect and pool all their email together in one place. Before being placed in the user's mailbox, MultiPOP collected mail is first placed in the local queue so that it can be processed like other mail having Autoresponders and Content filters applied to it. The scheduling options for MultiPOP are located at: Setup » Event Scheduling » Mail Scheduling » MultiPOP Collection.

setting smarthort saat menggunakan multipop sbb

http://mdaemon.dutaint.co.id/mdaemon/24.0.0/ae_mail-services.html

Smart Host Access

Smart host login/password

If the Allow per-account authentication option is enabled on the Delivery screen at Setup » Server Settings, and you wish to use per-account authentication with this account instead of using the credentials specified on that screen, then specify the account's optional smart host credentials here. If you do not wish to use per-account authentication for this account then leave these options blank.

http://mdaemon.dutaint.co.id/mdaemon/24.0.0/default-domain-and-servers_delivery.html

[x] Send all outbound email to a smart host

Default smart host: remote-server-Microsoft-365

Allow per-account authentication

Click this checkbox if you wish to use per-account authentication for outbound SMTP messages sent to the Default Smart Host specified above. Instead of using the User name and Password credentials provided here, each account’s Smart Host Access credentials, designated on the Mail Services screen, will be used instead. If no smart host credentials have been designated for a given account, the above credentials will be used instead.


--
syafril
--------
Syafril Hermansyah
MDaemon-L Moderators, running MDaemon 24.0.2 Beta A
Harap tidak cc: atau kirim ke private mail untuk masalah MDaemon.

A good scientist is a person with original ideas. A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering.
--- Freeman Dyson



--
--[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 24.0.1, SecurityGateway 10.0.2



Kirim email ke