Pro / dkim-exchange

DKIM Signing Agent for Microsoft Exchange Server
Other
406 stars 141 forks source link

Update for Exchange Server 2016 CU14 #276

Closed GodCordial closed 4 years ago

GodCordial commented 4 years ago

Versions

Description

Version 3.2 don't support Exchange 2016 Cu14. Possible to fix it?

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

sarthurdev commented 4 years ago

Will add support next week when we deploy CU14 in our test environment.

sarthurdev commented 4 years ago

CU14 support is in master branch, waiting on Exchange 2019 CU3 binaries to be provided then will push a new release.

ks1217 commented 4 years ago

Hi Sir, may i know the new release ? Thanks.

saxodreng commented 4 years ago

Hey you good guys, When do you expect 3.2.1 to be released. Waiting here with my CU14 server.... take care

sansnil commented 4 years ago

For those waiting to get 3.2.1 for the 2016 CU14 support I was able to download the fork and install through PowerShell just fine. The exe shows 3.2.1 installed even though 3.2.0 is the latest listed available. Best of all...it's working.

ks1217 commented 4 years ago

For those waiting to get 3.2.1 for the 2016 CU14 support I was able to download the fork and install through PowerShell just fine. The exe shows 3.2.1 installed even though 3.2.0 is the latest listed available. Best of all...it's working.

Hi Sansnil, Thanks for your solution, It's working.

gbusoni commented 4 years ago

how do you install 3.2.1? I followed online install instructions and I get my exhcange version is not compatible, then it seems it is installing it but at the end of the procedure it says it is not installed. I also tried offline installation, cannot do it (basically, I do not get a change to select the offline installer path after I get the message that my exchange version is not supported), and the manual install (again, I am told that version is not supported. For me, it says 3.2.0 when i doenload the latest release. No 3.2.1

sansnil commented 4 years ago

Hi, what version of Exchange are you trying to install it on? I have Exchange 2016 CU14 which worked with the 3.2.1 but not sure on compatibility with others.

From: Giorgio Busoni notifications@github.com Sent: Friday, November 15, 2019 7:41 AM To: Pro/dkim-exchange dkim-exchange@noreply.github.com Cc: Stuart Rowe sansnil@sansnil.net; Comment comment@noreply.github.com Subject: Re: [Pro/dkim-exchange] Update for Exchange Server 2016 CU14 (#276)

how do you install 3.2.1? I followed online install instructions and I get my exhcange version is not compatible, then it seems it is installing it but at the end of the procedure it says it is not installed

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Pro/dkim-exchange/issues/276?email_source=notifications&email_token=ADUPUOQV4GVN2SOCUAJCYBLQT27IHA5CNFSM4I6QLSKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEFZ4NA#issuecomment-554409524, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADUPUORVLJUGS3UMEUGAXEDQT27IHANCNFSM4I6QLSKA.

saxodreng commented 4 years ago

SANSNIL:

I was in the same positions as you and had to figure it out myself...

image

image

  1. Download the Zip file to your download folder on the Exchange server.
  2. Unpack the Zip file
  3. Create a folder named SRC udner %userprofile% on the Exchange server
  4. Copy all the content from the unpacked zip file ...dkim-exchange-master\Src to the SRC folder that you just created.
  5. Open Exchange Management Shell
  6. Run "Install.ps1" from the root of the unpacked Zip file

That installs the version 3.2.1

Remember to restart the Exchange Transportservice

From Exchange Management Shell: Restart-Service MSExchangeTransport

Afterwards you can configure the DKIM signer

EXE Program location: C:\Program Files\Exchange DkimSigner

gbusoni commented 4 years ago

thanks, it worked

jaas666 commented 4 years ago

Worked for me also. Thanks

yakir2b commented 4 years ago

Thank a lot. Also worked for me for server 2019 CU 3 Just needed to:

  1. Edit the install.ps1 to have the exchange server version and build at the detect version phase.
  2. Copy Src\Exchange.DkimSigner\bin\Exchange 2019 CU2 and change the folder name to Exchange 2019 CU3"
Julien-nl commented 4 years ago

i am getting this error

** Exchange DkimSigner Install Script ***
Detecting Exchange version ...
The exchange version is not yet supported: Version 15.2 (Build 464.5)
At C:\Users\Julien\SRC\install.ps1:161 char:2
+     throw "The exchange version is not yet supported: " + $exchserver ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (The exchange ve...2 (Build 464.5):String) [], RuntimeException
    + FullyQualifiedErrorId : The exchange version is not yet supported: Version 15.2 (Build 464.5)

i already have edited the .ps script

` # Exchange 2019 Preview   (15.2.196.0)
# Exchange 2019 RTM  (15.2.221.12)
# Exchange 2019 CU1 (15.2.330.5)
# Exchange 2019 CU2 (15.2.397.3)
# Exchange 2019 CU3 (15.2.464.5)

and have a folder called CU3 on SRC\Src\Exchange.DkimSigner\bin

laracroft007 commented 4 years ago

There are multiple lines you have to edit to make the script work.

Added Line 53 # Exchange 2019 CU3 (15.2.464.5) Added Line 161 } elseif (($exchserver.admindisplayversion).major -eq 15 -and ($exchserver.admindisplayversion).minor -eq 2 -and ($exchserver.admindisplayversion).build -eq 464) { Added Line 162 $EXVER="Exchange 2019 CU3"

Julien-nl commented 4 years ago

Thank you for your answer. do you mean line 162 remove {else { and replace it with $EXVER="Exchange 2019 CU3" ?

i have edit them as request unfortunately still recieving the error.

`[PS] C:\Users\admin\Downloads\dkim-exchange-master\dkim-exchange-master>.\install.ps1 Exchange DkimSigner Install Script Detecting Exchange version ... Get-ExchangeServer : The term 'Get-ExchangeServer' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Users\admin\Downloads\dkim-exchange-master\dkim-exchange-master\install.ps1:57 char:15

The exchange version is not yet supported: At C:\Users\admin\Downloads\dkim-exchange-master\dkim-exchange-master\install.ps1:164 char:2

[PS] C:\Users\admin\Downloads\dkim-exchange-master\dkim-exchange-master>

`

laracroft007 commented 4 years ago

Here is a copy of my install.ps1. I renamed it to install.txt to allow upload. It should work for you, as well. install.txt

Make sure you copy Src\Exchange.DkimSigner\bin\Exchange 2019 CU2 and change the folder name to Exchange 2019 CU3 in the folder DKIM Setup\dkim-exchange-master\Src\Exchange.DkimSigner\bin

Julien-nl commented 4 years ago

i dont have the app installed,do i have to do this with the installation files ? i've been following the steps but keeps erroring out.

laracroft007 commented 4 years ago

This is to get the app installed. I created an SRC folder at c:\users\administrator and extracted the original zip to that location and used the powershell to run install.ps1 from there Maybe it is worth trying that way.

Julien-nl commented 4 years ago

@laracroft007 i swear i am doing the same but it still erroring out. do i have to log in with domain admin or local administrator ? i dont have dkimsigner already installed. is this process will install 3.2.1 or need 3.2.0 to update ? My exchange is CU3 in Server 2019 Datacenter `[PS] C:\Users\admin\SRC>.\install.ps1

Security warning Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning message. Do you want to run C:\Users\admin\SRC\install.ps1? [D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): R At C:\Users\admin\SRC\install.ps1:164 char:9

[PS] C:\Users\admin\SRC> `

laracroft007 commented 4 years ago

I was logged in as domain admin when I ran the install.ps1.  It has to be a small issue we are missing here. 

In the Exchange management shell, run: Get-ExecutionPolicy and note the settings so you may change them back afterwards. Then you should type the following to make it go to unrestricted mode: Set-ExecutionPolicy unrestricted

Then run the install.ps1 install.txt

Julien-nl commented 4 years ago

Thank you, my ExecutionPolicy is unrestricted [PS] C:\Users\admin\SRC>Get-ExecutionPolicy Unrestricted i am running the installer from C:\user\admin\SRC\

Our Exchange is not installed on C but D, and we are using 2019 OS as well,

the script is erroring out on ps1:57 char:15 and ps1:164 char:2

laracroft007 commented 4 years ago

Try the latest install.txt I posted. It may be different. Looks like the first one was missing a couple quotes.

On Tue, Dec 3, 2019 at 9:05 AM Julien-nl notifications@github.com wrote:

@laracroft007 https://github.com/laracroft007 i swear i am doing the same but it still erroring out. do i have to log in with domain admin or local administrator ? i dont have dkimsigner already installed. is this process will install 3.2.1 or need 3.2.0 to update ? My exchange is CU3 in Server 2019 Datacenter ` [PS] C:\Users\admin\SRC>.\install.ps1 Exchange DkimSigner Install Script Detecting Exchange version ... Get-ExchangeServer : The term 'Get-ExchangeServer' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Users\admin\SRC\install.ps1:57 char:15

  • $exchserver = Get-ExchangeServer -Identity $hostname

  •      ~~~~~~~~~~~~~~~~~~
  • CategoryInfo : ObjectNotFound: (Get-ExchangeServer:String) [], CommandNotFoundException

    • FullyQualifiedErrorId : CommandNotFoundException

The exchange version is not yet supported: At C:\Users\admin\SRC\install.ps1:164 char:2

-

throw "The exchange version is not yet supported: " + $exchserver ...

-



   - CategoryInfo : OperationStopped: (The exchange ve...yet supported:
      :String) [], RuntimeException
      - FullyQualifiedErrorId : The exchange version is not yet
      supported:`

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/Pro/dkim-exchange/issues/276?email_source=notifications&email_token=ANZ44FVJE6VANCDQ3JSU5WDQWZRS7A5CNFSM4I6QLSKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFZPL4I#issuecomment-561182193>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANZ44FRC2Y7SOCFLQEH64XLQWZRS7ANCNFSM4I6QLSKA>
.

-- Beth

Julien-nl commented 4 years ago

it still erroring out with the same install.ps1:57 char:15 install.ps1:164 char 2

i am wondering if it does works onder server 2019 too ?

Julien-nl commented 4 years ago

i hope someone can advies i am getting this error.

[PS] C:\Users\admin_crt\SRC>.\install.ps1
*** Exchange DkimSigner Install Script ***
Detecting Exchange version ...
Get-ExchangeServer : The term 'Get-ExchangeServer' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At C:\Users\attcomputer\SRC\install.ps1:58 char:15
+ $exchserver = Get-ExchangeServer -Identity $hostname
+               ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-ExchangeServer:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

The exchange version is not yet supported:
At C:\Users\attcomputer\SRC\install.ps1:167 char:2
+     throw "The exchange version is not yet supported: " + $exchserver ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (The exchange ve...yet supported: :String) [], RuntimeException
    + FullyQualifiedErrorId : The exchange version is not yet supported:
stryqx commented 4 years ago

Howdy,

You'll need to launch Exchange Management Shell then run install.ps1. This ensures the Exchange-related Powershell modules are loaded.

On Mon, 30 Dec 2019 at 08:29, Julien-nl notifications@github.com wrote:

i hope someone can advies i am getting this error.

[PS] C:\Users\admin_crt\SRC>.\install.ps1 Exchange DkimSigner Install Script Detecting Exchange version ... Get-ExchangeServer : The term 'Get-ExchangeServer' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\Users\attcomputer\SRC\install.ps1:58 char:15

  • $exchserver = Get-ExchangeServer -Identity $hostname
  • 
    + CategoryInfo          : ObjectNotFound: (Get-ExchangeServer:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

The exchange version is not yet supported: At C:\Users\attcomputer\SRC\install.ps1:167 char:2

  • throw "The exchange version is not yet supported: " + $exchserver ...
  • 
    + CategoryInfo          : OperationStopped: (The exchange ve...yet supported: :String) [], RuntimeException
    + FullyQualifiedErrorId : The exchange version is not yet supported:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Pro/dkim-exchange/issues/276?email_source=notifications&email_token=AEEHYXNXRXOQ2ZKARAT7FY3Q3EJCLA5CNFSM4I6QLSKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHZIXIA#issuecomment-569543584, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEHYXJDYSE257S46XAECQDQ3EJCLANCNFSM4I6QLSKA .

-- Regards, Chris Knight

DJBenson commented 4 years ago

Exchange 2016 CU14 (15.1.1847.3) is available in the latest release. Please refer to the releases page or alternatively if you currently have the application installed it will now pull the latest version (currently 3.2.3) from the repository.

Closing as version/CU is now in latest build. Please open a new issue if you have problems installing the latest build.