AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Spamsieve add rule for domain8/23/2023 ![]() Exim is free software distributed under the terms of the GNU General Public License, and it aims to be a general and flexible mailer with extensive facilities for checking incoming e-mail.ĭovecot is an open source IMAP and POP3 email server for Linux/UNIX-like systems, written with security primarily in mind. You can copy and paste the above into your own PowerShell script or download the script here.The following article will guide you through the steps of installing and setting up a mailserver using Exim and Dovecot on a CentOS 7 VPS.įor this tutorial, we are using one of our CentOS-based managed VPS hosting plans, pre-installed with minimal CentOS 7 OS.Įxim is a mail transfer agent (MTA) used on Unix-like operating systems. $newSafeDomainList = $newSafeDomainList | sort ![]() Set-TransportRule $ruleName -SenderDomainIs $completeList $completeList = $completeList | select -uniq | sort $completeList = $safeDomainList + $newSafeDomainList $safeDomainList = Get-TransportRule $ruleName |select -ExpandProperty SenderDomainIs If (Get-TransportRule $ruleName -EA Silentl圜ontinue) $tmpdomain = $domain -replace the rule already exists update the existing allowed sender domains, else create a new rule. $newSafeDomainList = += foreach ($domain in $safeDomainList) #Create a new array and remove all text for each line up to and including the symbol, also remove whitespace $safeDomainList = Get-Content $domainListFilePath #Read the contents of the text file into an array The script works by creating an array of domains and supplying that array to the set-TransportRule cmdlet.
0 Comments
Read More
Leave a Reply. |