====== MailPlus Server ====== ===== Installation and Configuration ===== ==== DNS Settings ==== * Add a SPF record to all your domains: type = TXT, host = "@", text = "v=spf1 mx mx:other.smtp.host ~all", TTL=600 sec * Add a DKIM record: type = TXT, host = "default._domainkey", text = "v=DKIM1; p=--your public key--", TTL=600 sec * Add a DMARC record: type = TXT, host ="_dmarc", text = "v=DMARC1; p=none", TTL=600 sec See [[bco:security|Security]] ==== MailPlus Server ==== * Install //MailPlus Server// and //MailPlus// by following [[https://www.synology.com/en-global/knowledgebase/DSM/tutorial/General/How_to_set_up_MailPlus_Server_on_your_Synology_NAS#t2_3|DiskStation Manager - How to set up MailPlus Server on your Synology NAS]] * Give your clients permission to access //MailPlus// * Add an MX record to your domain, which points to your mail server. It is good practise to enter an MX record like "mail.yourdomain.tld", and then point the host "mail" to your mail server. * Make sure to enter "mail.yourdomain.tld" as //Mail System Hostname// during server setup. You can later change it in the "Protocol" settings tab of MailPlus Server. * You can now receive email to "you@mail.yourdomain.tld". If you want to allow a shorter form, or more than one domain as the user's domain, add additional domains in the format "yourdomain.tld" and "anotherdomain.tld" under //Protocol --> SMTP --> Additional Domain// * If your Synology user name is not the same as your email name, e.g. user "user" with email "username@yourdomain.tld", then go to //Protocol --> Alias// to enter "username" as an alias. * Set "Activate all users by default" in //Account --> Settings// * In //MailPlus//, go to //user --> Settings//, and enter your signature under //Settings --> General//, and additional SMTP servers if required under //Settings --> SMTP//. * By default, "user@mail.yourdomain.tld" is added as SMTP outgoing server in //user --> Settings// in //MailPlus// ==== MailPlus Web Client ==== * Install //MailPlus Server// and //MailPlus// by following [[https://www.synology.com/en-global/knowledgebase/DSM/tutorial/General/How_to_set_up_MailPlus_Server_on_your_Synology_NAS#t2_3|DiskStation Manager - How to set up MailPlus Server on your Synology NAS]] * Give your clients permission to access //MailPlus// * Add an MX record to your domain, which points to your mail server. It is good practise to enter an MX record like "mail.yourdomain.tld", and then point the host "mail" to your mail server. * Make sure to enter "mail.yourdomain.tld" as //Mail System Hostname// during server setup. You can later change it in the "Protocol" settings tab of MailPlus Server. * You can now receive email to "you@mail.yourdomain.tld". If you want to allow a shorter form, or more than one domain as the user's domain, add additional domains in the format "yourdomain.tld" and "anotherdomain.tld" under //Protocol --> SMTP --> Additional Domain// * If your Synology user name is not the same as your email name, e.g. user "user" with email "username@yourdomain.tld", then go to //Protocol --> Alias// to enter "username" as an alias. * Set "Activate all users by default" in //Account --> Settings// * In //MailPlus//, go to //user --> Settings//, and enter your signature under //Settings --> General//, and additional SMTP servers if required under //Settings --> SMTP//. * By default, "user@mail.yourdomain.tld" is added as SMTP outgoing server in //user --> Settings// in //MailPlus// ==== MailPlus iOS Client ==== * Install //MailPlus Server// and //MailPlus// by following [[https://www.synology.com/en-global/knowledgebase/DSM/tutorial/General/How_to_set_up_MailPlus_Server_on_your_Synology_NAS#t2_3|DiskStation Manager - How to set up MailPlus Server on your Synology NAS]] * Give your clients permission to access //MailPlus// * Add an MX record to your domain, which points to your mail server. It is good practise to enter an MX record like "mail.yourdomain.tld", and then point the host "mail" to your mail server. * Make sure to enter "mail.yourdomain.tld" as //Mail System Hostname// during server setup. You can later change it in the "Protocol" settings tab of MailPlus Server. * You can now receive email to "you@mail.yourdomain.tld". If you want to allow a shorter form, or more than one domain as the user's domain, add additional domains in the format "yourdomain.tld" and "anotherdomain.tld" under //Protocol --> SMTP --> Additional Domain// * If your Synology user name is not the same as your email name, e.g. user "user" with email "username@yourdomain.tld", then go to //Protocol --> Alias// to enter "username" as an alias. * Set "Activate all users by default" in //Account --> Settings// * In //MailPlus//, go to //user --> Settings//, and enter your signature under //Settings --> General//, and additional SMTP servers if required under //Settings --> SMTP//. * By default, "user@mail.yourdomain.tld" is added as SMTP outgoing server in //user --> Settings// in //MailPlus// ===== Links ===== ==== Spam Prevention ==== * [[https://www.youtube.com/watch?v=I_ap-K0Y9jg|How to Configure Synology MailPlus Server to Protect Your Mail Service]] * [[https://mxtoolbox.com/SuperTool.aspx?action=mx%3acondrau.com&run=toolpage#|MX Toolbox]] * [[http://www.dnsbl.info/dnsbl-database-check.php|DNSBL.info Spam Database Lookup]] ==== Synology ==== * [[https://www.synology.com/en-global/knowledgebase/DSM/tutorial/General/How_to_set_up_MailPlus_Server_on_your_Synology_NAS#t2_3|DiskStation Manager - How to set up MailPlus Server on your Synology NAS]] * [[https://www.synology.com/en-global/knowledgebase/DSM/help/MailPlus-Server/mailplus_server_creation|DiskStation Manager - Create Your Mail System]] * [[https://www.synology.com/en-global/knowledgebase/DSM/help/MailServer/mailserver_smtp|DiskStation Manager - SMTP]] * [[https://www.synology.com/en-global/knowledgebase/DSM/help/DSM/AdminCenter/application_appportalias|DiskStation Manager - Application Portal]] * [[https://www.synology.com/en-global/knowledgebase/DSM/help/MailPlus-Server/mailplus_server_desc|DiskStation Manager - MailPlus Server]] * [[https://www.synology.com/en-us/knowledgebase/DSM/tutorial/General/What_network_ports_are_used_by_Synology_services|Ports for Synology DSM]] * [[https://www.shadowandy.net/2016/03/synology-mailplus-server.htm|Synology MailPlus Server (shadowandy)]] * [[http://www.synology-forum.de/showthread.html?81485-Kann-Netzwerk-Schnittstelle-wegen-Mailplus-Server-nicht-l%C3%B6schen|Kann Netzwerk-Schnittstelle wegen Mailplus-Server nicht löschen]] ==== Mail system ==== * [[https://mediatemple.net/community/products/dv/204404314/how-can-i-create-an-spf-record-for-my-domain|How can I create an SPF record for my domain?]] * [[http://spfwizard.com/|easySPF: an Ajax enabled SPF Wizard]] * [[https://serverfault.com/questions/317168/reverse-dns-when-sending-mail-from-multiple-ip-subdomains|Reverse DNS when sending mail from multiple IP/subdomains]] * [[http://www.digwebinterface.com/?hostnames=183.88.218.149&type=Reverse&ns=resolver&useresolver=8.8.4.4&nameservers=|Dig web interface]] * [[http://www.itworld.com/article/2833006/networking/how-to-setup-reverse-dns-and-ptr-records.html|How to setup Reverse DNS and PTR records]] * [[http://support.simpledns.com/kb/a100/how-do-i-get-reverse-dns-for-my-ip-addresses-delegated-to-my-own-dns-server.aspx|How do I get reverse DNS for my IP addresses delegated to my own DNS server?]] * [[https://support.rackspace.com/how-to/nslookup-checking-dns-records-on-windows/|Check DNS records on Windows with nslookup]] * [[https://documentation.cpanel.net/display/CKB/How+to+Set+Up+Nameservers+in+a+cPanel+Environment|How to Set Up Nameservers in a cPanel Environment]] * [[http://www.makeuseof.com/tag/technology-explained-how-does-an-email-server-work/|How Does An Email Server Work?]] * [[https://serverfault.com/questions/149903/what-ports-to-open-for-mail-server|What ports to open for mail server?]] * [[http://rscott.org/dns/mx.html|Oversimplified DNS - Finding and testing your MX (mail) records]] * [[https://www.penpublishing.com/support/emailerrors/understandingemailerrors/|User Error Messages]] * [[https://bobcares.com/blog/how-to-resolve-and-prevent-554-5-7-1-relay-access-denied-email-errors-in-parallels-plesk-linux-web-hosting-servers/2/|How to resolve and prevent 554 5.7.1 : Relay access denied email errors in Linux and Windows mail servers]] * [[https://www.wormly.com/test-smtp-server|Test your SMTP Mail Server (MX)]] * [[http://www.openspf.org/SPF_Record_Syntax|SPF Record Syntax]] * [[http://tools.tracemyip.org/search--isp/3bb+broadband|TraceMyIP]]