11. marts 2021

SPF for domains der IKKE skal sende e-mail

 When it comes to email deliverability, most people are trying to figure out how to ensure their mail lands in the inbox. But what if you want to tell email providers that they should not accept email from a domain name? This might be the case if you have a parked domain that someone is trying to spoof when it sends email.

One option is to create a Sender Policy Framework (SPF) record that says all mail should be rejected. To do this, go to your domain name registrar and manage the DNS for the domain.

Create a TXT record and include this text:

contoso.dk TXT "v=spf1 -all"

This will tell mailbox providers that your domain name should not send any email, giving them an indication that email with your address should be considered spam.

Domain name owners should consider adding SPF records to their parked domains if they don’t use them for email.




DKIM for domains der IKKE skal sende e-mail

Identify domains that do not send email

Organizations should explicitly state if a domain does not send email by specifying v=DKIM1; p= in the DKIM record for those domains. This advises receiving email servers that there are no valid public keys for the domain, and any email claiming to be from that domain should be rejected. You should do this for each domain and subdomain using a wildcard DKIM.

For example, the DKIM record would look like this: (TXT record !)

*._domainkey.SubDomainThatShouldntSendMail.contoso.com. TXT "v=DKIM1; p="


MX Toolbox Supertool - DKIM



10. marts 2021

WAN IP

 Hvad er min WAN IP adresse?

Windows Defender bør fjernes fra Server 2016/2019, hvis der er anden Antivirus installeret



Kør fra Administrator CMD prompt :

Dism /online /Disable-Feature /FeatureName:Windows-Defender /Remove /NoRestart /quiet


Enable or Disable Windows Features Using DISM

https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/enable-or-disable-windows-features-using-dism

Outlook vil ikke åbne vedhæftede filer

 Der kan også være problemer med at tilføje signatur

Tilføj til registry :


HKEY_CURRENT_USER\Software\Classes\.html.

11. februar 2021

Change Mailbox Regional Configuration from Exchage Online Powershell

Exchange online Powershell

https://supportsiden.blogspot.com/2020/06/connect-to-exchange-online-powershell.html


Get-Mailbox [username] | Get-MailboxRegionalConfiguration | Set-MailboxRegionalConfiguration -Language da-DK -DateFormat "dd-MM-yyyy" -TimeFormat "HH:mm" -TimeZone "Romance Standard Time"

Make e-mails sent from shared mailbox to be stored in shared mailbox sent folder

Exchange Online Powershell

https://supportsiden.blogspot.com/2020/06/connect-to-exchange-online-powershell.html


set-mailbox [username] -MessageCopyForSentAsEnabled $True

set-mailbox [username] -MessageCopyForSendOnBehalfEnabled $True

Kalender default rettigheder i O365

Du får nok brug for : EXO V2 module :

https://docs.microsoft.com/en-us/powershell/exchange/exchange-online-powershell-v2?view=exchange-ps#install-and-maintain-the-exo-v2-module

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

We have released new management cmdlets which are faster and more reliable.

|--------------------------------------------------------------------------|

|    Old Cmdlets                    |    New/Reliable/Faster Cmdlets       |

|--------------------------------------------------------------------------|

|    Get-CASMailbox                 |    Get-EXOCASMailbox                 |

|    Get-Mailbox                    |    Get-EXOMailbox                    |

|    Get-MailboxFolderPermission    |    Get-EXOMailboxFolderPermission    |

|    Get-MailboxFolderStatistics    |    Get-EXOMailboxFolderStatistics    |

|    Get-MailboxPermission          |    Get-EXOMailboxPermission          |

|    Get-MailboxStatistics          |    Get-EXOMailboxStatistics          |

|    Get-MobileDeviceStatistics     |    Get-EXOMobileDeviceStatistics     |

|    Get-Recipient                  |    Get-EXORecipient                  |

|    Get-RecipientPermission        |    Get-EXORecipientPermission        |

|--------------------------------------------------------------------------|

To get additional information, run: Get-Help Connect-ExchangeOnline

Please send your feedback and suggestions to exocmdletpreview@service.microsoft.com

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

Installation/opdatering/afinstallation af EXO V2

a: Set-ExecutionPolicy RemoteSigned

b: Import-Module ExchangeOnlineManagement; Get-Module ExchangeOnlineManagement (import og se version)

b: Install-Module -Force -Name ExchangeOnlineManagement (install)

c: Update-Module -Name ExchangeOnlineManagement (update)

d: Powershell -NoProfile -Command "Uninstall-Module ExchangeOnlineManagement" (uninstall)

ELLERS : Fjern "EXO" fra kommandoer !


**Kør PowerShell som Administrator !

*** Udskift alt indenfor [] med dine data


For ALLE brugere (Reviewer):

https://community.spiceworks.com/how_to/135665-office-365-setting-default-calendar-permissions-to-reviewer-for-all-users


1: Set-ExecutionPolicy RemoteSigned

2: Import-Module ExchangeOnlineManagement

3: Connect-ExchangeOnline -UserPrincipalName [admin-username@contoso.dk] -ShowProgress $true -DelegatedOrganization [organisation].onmicrosoft.com

4: $users = Get-EXOMailbox -Resultsize Unlimited

5: Get-Mailbox | ForEach-Object {Get-EXOMailboxFolderPermission $_”:\Kalender”} | Where {$_.User -like “Default”} | Select Identity, User, AccessRights

6: ForEach ($user in $users) { Write-Host -ForegroundColor green Setting permission for $($user.alias)... Set-MailboxFolderPermission -Identity $($user.alias):\Kalender -User Default -AccessRights Reviewer }


7: Disconnect-ExchangeOnline


For ENKELT bruger

https://thomasmitchell.net/managing-calendar-permissions-in-o365-with-powershell/


4: Get-MailboxFolderPermission [username]:\Kalender

5: Set-MailboxFolderPermission -Identity [username]:\Kalender -User Default -AccessRights Reviewer


6: Disconnect-ExchangeOnline


Mulige kalenderrettigheder


Owner.   Allows read, create, modify and delete all items and folders. Also allows manage items permissions

PublishingEditor.   Allows read, create, modify and delete items/subfolders.

Editor.   Allows read, create, modify and delete items.

PublishingAuthor.   Allows read, create all items/subfolders. You can modify and delete only items you create.

Author.   Allows create and read items; edit and delete own items.

NonEditingAuthor.   Allows full read access and create items. You can delete only your own items.

Reviewer.   Read only.

Contributor.   Allows create items and folders.

AvailabilityOnly.   Allows read free/busy information from calendar

LimitedDetails.   Allows view of the subject and location.

None.   No permissions to access folder and files.