I added it just before the tag.
I'm just a simple techie who sometimes forgets things. I use this as a notepad to remember things by. I hope it helps you too. I post as myself, not as any organisation.
Saturday, 16 February 2008
Blog Tags were not working
I've added the following to web.config to allow these to work:
I added it just before the tag.
I added it just before the tag.
How-to Enable antispam updates on a single Exchange 2007 server
There is a handy little script that you can run from the Exchange Management Shell:
InstallAntispamAgents.ps1
To update manually:
Get-AntspamUpdates
To update automatically:
Enable-AntispamUpdates -UpdateMode Automatic
InstallAntispamAgents.ps1
To update manually:
Get-AntspamUpdates
To update automatically:
Enable-AntispamUpdates -UpdateMode Automatic
How-to Allow a distribution group to receive mail from the internet
Found the answer here:
http://exchangepedia.com/blog/2007/07/new-distribution-groups-do-not-receive_31.html
Use the following command in Exchange management shell:
Set-DistributionGroup "Group Name" -RequireSenderAuthenticationEnabled $false
http://exchangepedia.com/blog/2007/07/new-distribution-groups-do-not-receive_31.html
Use the following command in Exchange management shell:
Set-DistributionGroup "Group Name" -RequireSenderAuthenticationEnabled $false
Virtual Server on Server 2008
You must remember to add the CGI service role to IIS 7.0:
http://www.hostingforum.ca/838516-virtual-server-2005-sp1-vista-x64-vswebapp-exe-being-downloaded-instead-executed.html
http://www.hostingforum.ca/838516-virtual-server-2005-sp1-vista-x64-vswebapp-exe-being-downloaded-instead-executed.html
How-to Create antispam reports
There are a number of reports avaiable in Exchange Management Shell.
You must first change into the scripts directory (cd C:\Program Files\Microsoft\Exchange Server\Scripts) and then try the following:
get-AntispamFilteringReport.ps1
get-AntispamSCLHistogram.ps1
get-AntispamTopRecipients.ps1
get-AntispamTopRBLProviders.ps1
get-AntispamTopBlockedSenders.ps1
get-AntispamTopBlockedSenderDomains.ps1
You must first change into the scripts directory (cd C:\Program Files\Microsoft\Exchange Server\Scripts) and then try the following:
get-AntispamFilteringReport.ps1
get-AntispamSCLHistogram.ps1
get-AntispamTopRecipients.ps1
get-AntispamTopRBLProviders.ps1
get-AntispamTopBlockedSenders.ps1
get-AntispamTopBlockedSenderDomains.ps1
Tuesday, 12 February 2008
How-to grant Sendas for Distribution Groups
Found the answer here:
http://exchangepedia.com/blog/2007/03/how-to-assign-sendas-right-using.html
Run the following in Exchange Management shell:
Add-AdPermission "Distribution Group Name" -user "Mailbox Name" -AccessRights extendedright -ExtendedRights "send as"
http://exchangepedia.com/blog/2007/03/how-to-assign-sendas-right-using.html
Run the following in Exchange Management shell:
Add-AdPermission "Distribution Group Name" -user "Mailbox Name" -AccessRights extendedright -ExtendedRights "send as"
Sunday, 10 February 2008
How-to Backup Exchange 2007 on Server 2008
After all the hassle of getting Exchange 2007 setup yesterday, I found that I had no way to backup my Exchange 2007 server running on Server 2008. For whatever reason, Microsoft do not supply NTBackup and there is no in-built way of backing up Exchange 2007 when run on Server 2008.
Now, I could opt for a third party backup program or use Microsoft DPM, but for my 4 user network, this is a little bit of an overkill.
After some research, I found this article on how to install NTNackup on Vista:
http://www.petri.co.il/installing_windows_xp_ntbackup_on_windows_vista.htm
I followed this by copying the following binaries from my old server (C:\Windows\System32\) to my new server (C:\Program Files\NTBackup\):
Upon running NTBackup, I could see drives and system state, but no Exchange!
I then found this:
http://support.microsoft.com/kb/275876
I copied esebcli2.dll from my old server (C:\Program Files\Exchsrvr\Bin) to my new sever (C:\Program Files\NTBackup)
I ran regedit and changed the esebcli2 key from C:\Program Files\Micrsoft\Exchange Server\Bin\esebcli2.dll to C:\Program Files\NTBackup\esebcli2.dll.
I ran NTBackup and backed up my Exchange store to disk!
Now, I could opt for a third party backup program or use Microsoft DPM, but for my 4 user network, this is a little bit of an overkill.
After some research, I found this article on how to install NTNackup on Vista:
http://www.petri.co.il/installing_windows_xp_ntbackup_on_windows_vista.htm
I followed this by copying the following binaries from my old server (C:\Windows\System32\) to my new server (C:\Program Files\NTBackup\):
- ntbackup.exe
- ntmsapi.dll
- vssapi.dll
- Start Server Manager
- Click Features
- Click Add Features
- Select Removable Storage Manager
- Click Install
Upon running NTBackup, I could see drives and system state, but no Exchange!
I then found this:
http://support.microsoft.com/kb/275876
I copied esebcli2.dll from my old server (C:\Program Files\Exchsrvr\Bin) to my new sever (C:\Program Files\NTBackup)
I ran regedit and changed the esebcli2 key from C:\Program Files\Micrsoft\Exchange Server\Bin\esebcli2.dll to C:\Program Files\NTBackup\esebcli2.dll.
I ran NTBackup and backed up my Exchange store to disk!
Saturday, 9 February 2008
Exchange 2007 on Server 2008
What a day!
I've learnt a hard lesson today. Never unbind IPv6 from Server 2008 if its running Exchange 2007.
I had some problems adding some Vista laptops to a Server 2008 domain today. I couldn't determine if it was SP1 RC1, UAC being turned off or IPv6. The computers would not join the domain using the GUI. I had to manually extract the XP SP2 version of netdom and use that, after manually creating the computer accounts in the domain.
All was well until I restarted the Server. The Exchange Transport Service hung in "starting" and I could not connect to the Exchange server using the Power Shell or Console. I kept getting AD errors from these tools, and lots of errors about the Exchange AD Topology service not being able to contact AD.
To cut a long story short, I flattened the server and started again - Only to discover that IPv6 wasn't the problems with the workstations joining the domain, but it was the problem for Exchange 2007!
I never did get to the bottom of the problem joining the domain though. At least I have a work round now - Use XP SP2 Netdom!
I've learnt a hard lesson today. Never unbind IPv6 from Server 2008 if its running Exchange 2007.
I had some problems adding some Vista laptops to a Server 2008 domain today. I couldn't determine if it was SP1 RC1, UAC being turned off or IPv6. The computers would not join the domain using the GUI. I had to manually extract the XP SP2 version of netdom and use that, after manually creating the computer accounts in the domain.
All was well until I restarted the Server. The Exchange Transport Service hung in "starting" and I could not connect to the Exchange server using the Power Shell or Console. I kept getting AD errors from these tools, and lots of errors about the Exchange AD Topology service not being able to contact AD.
To cut a long story short, I flattened the server and started again - Only to discover that IPv6 wasn't the problems with the workstations joining the domain, but it was the problem for Exchange 2007!
I never did get to the bottom of the problem joining the domain though. At least I have a work round now - Use XP SP2 Netdom!
Saturday, 2 February 2008
Problems installing and using Exchange 2007
I'm upgrading my Exchange 2003 organisation to Exchange 2007 this weekend, as a reinforced learning experience for when I begin to deploy Exchange 2007 for a major customer.
I had a couple of problems:
I've downloaded Exchange 2007 SP1 and will reinstall this when I have removed Exchange 2007 from the server.
Exchange 2007 SP1:
http://www.microsoft.com/downloads/details.aspx?FamilyId=44C66AD6-F185-4A1D-A9AB-473C1188954C&displaylang=en
Exchange 2007 SP1 Release Notes:
http://www.microsoft.com/downloads/details.aspx?FamilyId=5770BD59-376E-42EC-B940-BE6225CD97FF&displaylang=en
NB:Just what does FYDIBOHF23SPDLT and DWBGZMFD01QNBJR mean?They are shifts of "EXCHANGE12ROCKS". First one, add 1 to each character, second one, deduct 1 from each character.
I had a couple of problems:
- A setup error occured: "[ERROR] Access to the path 'D:\Setup\ServerRoles\Common\64' is denied"
- When I re-ran setup, it installed, but there were no routing group connectors between the old routing group "First Administrative Group\First Routing Group" and the new routing group "Exchange Administrative Group (FYDIBOHF23SPDLT)\Exchange Routing Group (DWBGZMFD01QNBJR)".
- I created the routing group connectors, and moved a mailbox, but mail would not flow. Kept getting 5.7.1 Relay Denied errors from the new organisation.
Setup error:
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2746265&SiteID=17
http://support.microsoft.com/kb/943507/en-us
How to install Exchange 2007 into an Exchange 2003 organisation:
http://technet.microsoft.com/en-us/library/bb124350(EXCHG.80).aspx
How to remove Exchange 2007 roles:For some reason, my new Action Pack came with Exchange 2007 SP0 and not SP1.
http://technet.microsoft.com/en-us/library/bb124115(EXCHG.80).aspx
I've downloaded Exchange 2007 SP1 and will reinstall this when I have removed Exchange 2007 from the server.
Exchange 2007 SP1:
http://www.microsoft.com/downloads/details.aspx?FamilyId=44C66AD6-F185-4A1D-A9AB-473C1188954C&displaylang=en
Exchange 2007 SP1 Release Notes:
http://www.microsoft.com/downloads/details.aspx?FamilyId=5770BD59-376E-42EC-B940-BE6225CD97FF&displaylang=en
NB:Just what does FYDIBOHF23SPDLT and DWBGZMFD01QNBJR mean?They are shifts of "EXCHANGE12ROCKS". First one, add 1 to each character, second one, deduct 1 from each character.
Subscribe to:
Posts (Atom)