Problems with apt-get in ubuntu (NO_PUBKEY 9AA38DCD55BE302B NO_PUBKEY 4D270D06F42584E6)

I got this error:

W: GPG error: http://mirrors.sunsite.dk stable Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B NO_PUBKEY 4D270D06F42584E6
W: You may want to run apt-get update to correct these problems

This can be resolve but typing:
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 9AA38DCD55BE302B
gpg --armor --export 9AA38DCD55BE302B | apt-key add -

gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 4D270D06F42584E6
gpg --armor --export 4D270D06F42584E6 | apt-key add -

Securing a Exchange 2007 Client Access server, with a signed certificates

Securing a Exchange 2007 Client Access server, with a signed certificates

First to request a certificates start Exchange Management Shell

Type this into the console:

New-ExchangeCertificate -DomainName exchange01.domainname.local, webmail.domain.prefix -FriendlyName ”Microsoft Exchange” -GenerateRequest:$True -Keysize 2048 -path c:\certrequest.txt -privatekeyExportable:$true -subjectName “c=DK, o=organization name, CN=webmail.domain.prefix”

Change domainname.local, domain.prefix (2 places) and last change you organization name.

Now you get a file, name c:\certrequest.txt. The content of this file, you can send this to yours 3rd party certificate authority.
After this you got an a signed certificates back, as you need to import into the Exchange servers, this is done like this.

Copy the sign certificates to a file in the root of c:\ name signcert.txt
And run this in the Exchange console

Import-ExchangeCertificate –Path c:\signcert.txt | Enable-ExchangeCertificate –Services IIS,POP,IMAP,SMTP

Penge tilbage i registreringsafgift

Fik brev fra Skat igår med at folketinget havde lavet en ny måde at udregne registreringsafgiften på, så udfra dette havde jeg næsten betalt 7000 for meget, så de kommer lige retur, og da vi fik penge fra vores sofa tilbage over i Bilka, har vi nu 10.000 til at købe sofa for, så det er jo bare dejligt.

Exchange 2003 and powershell

Have you ever need a list of yours mailbox and the size of it. You can find this in system manager, but you cannot export this list.
With Powershell you can get a list that you example can import in excel.
First you need to download and install powershell, you can download powershell from here:
http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx

After you have downloaded and install it, type this command in the powershell

get-wmiobject -class Exchange_Mailbox -Namespace ROOT\MicrosoftExchangev2 -ComputerName servername | select-object MailboxDisplayName,TotalItems,Size

Change “servername” to you servers name example exchange01

Exchange 2003 and 75GB datastore

With exchange 2003 SP2, the database store in Exchange is increase to 75GB, this is not setup automatic.
You have to change something in the registry database.

To set the size of the private mail store

  1. Click Start, click Run, type regedit, and then click OK. Regedit starts.
  2. Browse to HKEY_LOCAL_MACHINE/ System/ CurrentControlSet/ Services/ MSExchangeIS/ ServerName, where ServerName is the name of your server that is running Windows SBS.
  3. To modify the private mail store size, right-click the Private-GUID folder, click New, and then click DWORD Value.
  4. Type Database Size Limit in GB, and then press ENTER.
  5. Right-click the new entry and then click Modify.
  6. In the Base field, click Decimal. In the Value data text box, type a number between 1 and 75. This is the new maximum size of your database in gigabytes.
  7. Click OK.
  8. Close Regedit.

Next you maybe want to get a warning when the database is almost at the limit, this can be setup this way:
To set the size of the buffer

  1. Click Start, click Run, type regedit, and then click OK. Regedit starts.
  2. Browse to HKEY_LOCAL_MACHINE/ System/ CurrentControlSet/ Services/ MSExchangeIS/ ServerName, where ServerName is the name of your server that is running Windows SBS.
  3. To set a buffer size for the private mail store, right-click the Private-GUID folder, click New, and then click DWORD Value.
  4. Type Database Size Buffer in Percentage, and press ENTER.
  5. Right-click the new value and then click Modify.
  6. In the Base field, click Decimal. In the Value data text box, type a number between 1 and 100. A value of 10, for example, results in warning events being logged when the database has 10 percent capacity remaining.
  7. Click OK.
  8. Close Regedit.