PHP on windows 2012 R2

1. Add role – IIS
2. Add Feature – IIS -> CGI
3. Download WebPI
4. Install WebPI with php 5.6
5. Restart

for hmailserver

6. In “Default Web Site” , click php manager
7. Scroll down to PHP Extensions, enable “php_com_dotnet.dll”
8. dcomcfg.exe
https://www.hmailserver.com/documentation/latest/?page=howto_dcom_permissions
9. permit hmailserver.dll to IIS_IUSRS with “local launch” and “local Activation”
https://www.hmailserver.com/forum/viewtopic.php?t=14527

#php #windows-2012 #hmailserver #email #mail

Advertisements

Install hmailserver on Windows 2012 R2

Outbound

1. download hmailserver
2. Install Windows 2012 R2
3. Install NET framework 3.5 – Install-WindowsFeature -Name Net-Framework-Core -Source D:\Sources\SxS\
4. Install hmailserver
5. Add domain
6. Disable Auto-ban for debugging
7. Turn on logging (without debug)

7. Setup smtp relay – to AWS SES

8. Setup SES DKIM

8. Remove Intranet smtp authentication for (local – local) (local – Extra) (Extra – local)
9. Add a user

10. Telnet 25 port to test it

Inbound

11. Add your ip to a DNS A record to mail.xxx.com

12. Add a MX record to “10 mail.xxx.com”

#aws, #dns, #email, #hmailserver, #mail, #ses, #smtp