Archivi tag: Exchange 2007

Come vedere rapidamente le dimensioni in GB delle cassetta postali di Exchange con la EMS

Find username Avete la necessità di controllare le dimensioni della casella postale di uno o più utenti in modo rapido nel vostro Exchange?

Potete usare la EMS (Exchange Management Shell)!

Ecco come fare:

$Totale=0;(get-mailbox)| where-object {$_.LinkedMasterAccount -ne "NT AUTHORITY\SELF"}| select-object -property @{Name="Utente";Expression={$_.Name}},@{Name="GB";Expression = {"{0:N2}" -f ((get-mailbox $_.Alias|Get-MailboxStatistics).Totalitemsize.value.tomb()/1024)}},@{Name="Limite";Expression={$_.ProhibitSendReceiveQuota}} | sort-object GB -Descending;(get-mailbox)| % { $Totale+=((get-mailbox $_.Alias|Get-MailboxStatistics).Totalitemsize.value.tomb()/1024)};write-host ;write-host "Totale cassette (in GB):"([math]::Round($Totale))

Questo il risultato:

Utente          GB          Limite
------          --          ------
Valerio         9,52         12GB
Antonio         5,41          6GB
Leonardo        4,92          6GB
Emanuele        3,52          5GB
Salvatore       2,59          8GB

Totale cassette (in GB): 25,96
Pubblicità

Spedire email da Outlook per conto di un gruppo o di un altro utente con Exchange

SendAs

Come spedire email da Outlook per conto di un gruppo o di un altro utente di Exchange?

Ecco il procedimento…


Per garantire ad un utente di Exchange 2007 di spedire per conto di un gruppo o di un altro utente lanciare il seguente comando dalla Exchange Management shell:

Ad es.
Mario Rossi deve spedire per conto di gruppo.info@acme.com

Add-ADPermission -Identity "Mario Rossi" -User gruppo.info -ExtendedRights Send-as

oppure (ma io preferisco il primo)

Add-AdPermission "Group Name" -user "User Name" -AccessRights extendedright -ExtendedRights "send as"

Per verificare:

Get-ADPermission -Identity "Mario Rossi" -User gruppo.info


IMPORTANTE!!!
Attenzione la Exchange Management Shell deve essere lanciata con il permesso di Amministratore! e spesso l’Archivio informazioni di Exchange (servizio MsExchangeIs) deve essere riavviato dopo l’operazione (restart-service msexchangeis)

Ad esempio se volete creare un gruppo di distribuzione “newsletter” i cui membri possano inviare messaggi con l’indirizzo newsletter@acme.local questi sono i comandi della EMC:

1.
Creare il gruppo di distribuzione newsletter con indirizzo di posta newsletter@acme.local e designare i membri;

2.
Lanciare il comando:

Get-DistributionGroupMember -Identity newsletter | Add-ADPermission -User newsletter -ExtendedRights Send-as

Configurare la dimensione max di un messaggio in uscita/arrivo in Exchange 2007/2010

E-mailSizeA volte si ha la necessità di variare il limite di default di Exchange per l’invio di messaggi di posta elettronica.
Per una rapida soluzione al problema basta usare la EMC.

Ecco come fare:

Continua a leggere Configurare la dimensione max di un messaggio in uscita/arrivo in Exchange 2007/2010

Verificare la versione ed il service pack di Exchange con EMS

Exchange Service Pack VersionCome verificare la versione di Exchange server o il suo service pack?

Semplice con la Exchange Management Console!

 

Ecco i comandi da lanciare:

GCM exsetup |%{$_.Fileversioninfo}

 
Oppure

Get-ExchangeServer | Format-Table Name, *Version* -autosize

 

Versioni di Exchange Server

Product name Build number Date
 Microsoft Exchange Server 2003  6.5.6944  6/30/2003
 Microsoft Exchange Server 2003 SP1  6.5.7226  5/25/2004
 Microsoft Exchange Server 2003 SP2  6.5.7638  10/19/2005
 Microsoft Exchange Server 2007  8.0.685.24  12/9/2006
 Microsoft Exchange Server 2007  8.0.685.25  12/9/2006
 Microsoft Exchange Server 2007 SP1  8.1.240.6  11/29/2007
 Microsoft Exchange Server 2007 SP2  8.2.176.2  8/24/2009
 Microsoft Exchange Server 2007 SP3  8.3.083.6  6/20/2010
 Microsoft Exchange Server 2010  14.0.639.21  11/9/2009
 Microsoft Exchange Server 2010 SP1  14.1.218.15  8/24/2010
 Microsoft Exchange Server 2010 SP2  14.2.247.5  12/4/2011

 

DETTAGLI DI OGNI VERSIONE:
Exchange Server 2007 Service Pack 1

 

Product name Build number Date KB
 Microsoft Exchange Server Exchange 2007 SP1  8.1.240.6  11/29/2007
 Update Rollup 1 for Exchange Server 2007 Service Pack 1  8.1.263.1  2/28/2008  KB945684 
 Update Rollup 2 for Exchange Server 2007 Service Pack 1  8.1.278.2  5/8/2008  KB948016 
 Update Rollup 3 for Exchange Server 2007 Service Pack 1  8.1.291.2  7/8/2008  KB949870 
 Update Rollup 4 for Exchange Server 2007 Service Pack 1  8.1.311.3  10/7/2008  KB952580 
 Update Rollup 5 for Exchange Server 2007 Service Pack 1  8.1.336.1  11/20/2008  KB953467 
 Update Rollup 6 for Exchange Server 2007 Service Pack 1  8.1.340.1  2/10/2009  KB959241 
 Update Rollup 7 for Exchange Server 2007 Service Pack 1  8.1.359.2  3/18/2009  KB960384 
 Update Rollup 8 for Exchange Server 2007 Service Pack 1  8.1.375.2  5/19/2009  KB968012 
 Update Rollup 9 for Exchange Server 2007 Service Pack 1  8.1.393.1  7/17/2009  KB970162 
 Update Rollup 10 for Exchange Server 2007 Service Pack 1  8.1.436.0  4/9/2010  KB981407 

 


Exchange Server 2007 Service Pack 2

Product name Build number Date KB
 Microsoft Exchange Server 2007 SP2  8.2.176.2  8/24/2009
 Update Rollup 1 for Exchange Server 2007 Service Pack 2  8.2.217.3  11/19/2009  KB971534 
 Update Rollup 2 for Exchange Server 2007 Service Pack 2  8.2.234.1  1/22/2010  KB972076 
 Update Rollup 3 for Exchange Server 2007 Service Pack 2  8.2.247.2  3/17/2010  KB979784 
 Update Rollup 4 for Exchange Server 2007 Service Pack 2  8.2.254.0  4/9/2010  KB981383 
 Update Rollup 5 for Exchange Server 2007 Service Pack 2  8.2.305.3  12/7/2010  KB2407132 

 

 

Exchange Server 2007 Service Pack 3

 

Product name Build number Date KB
 Microsoft Exchange Server 2007 SP3  8.3.083.6  6/20/2010
 Update Rollup 1 for Exchange Server 2007 Service Pack 3  8.3.106.2  9/9/2010  KB2279665 
 Update Rollup 2 for Exchange Server 2007 Service Pack 3  8.3.137.3  12/10/2010  KB2407025 
 Update Rollup 3 for Exchange Server 2007 Service Pack 3  8.3.159.0  3/2/2011  KB2492691 
 Update Rollup 3-v2 for Exchange Server 2007 Service Pack 3  8.3.159.2  3/30/2011  KB2530488 
 Update Rollup 4 for Exchange Server 2007 Service Pack 3  8.3.192.1  7/7/2011  KB2509911 
 Update Rollup 5 for Exchange Server 2007 Service Pack 3  8.3.213.1  9/21/2011  KB2602324 
 Update Rollup 6 for Exchange Server 2007 Service Pack 3  8.3.245.2  1/25/2012  KB2608656  
 Update Rollup 7 for Exchange Server 2007 Service Pack 3  8.3.264.0  4/16/2012  KB2655203 

 


Exchange Server 2010

 

Product name Build number Date KB
 Microsoft Exchange Server 2010 RTM  14.0.639.21  11/9/2009
 Update Rollup 1 for Exchange Server 2010  14.0.682.1  12/9/2009  KB976573 
 Update Rollup 2 for Exchange Server 2010  14.0.689.0  3/4/2010  KB979611 
 Update Rollup 3 for Exchange Server 2010  14.0.694.0  4/9/2010  KB981401 
 Update Rollup 4 for Exchange Server 2010  14.0.702.1  6/17/2010  KB982639 
 Update Rollup 5 for Exchange Server 2010  14.0.726.0  12/13/2010  KB2407113 

 


Exchange Server 2010 Service Pack 1

 

Product name Build number Date KB
 Microsoft Exchange Server 2010 SP1  14.1.218.15  8/24/2010
 Update Rollup 1 for Exchange Server 2010 SP1  14.1.255.2  10/4/2010  KB2407028 
 Update Rollup 2 for Exchange Server 2010 SP1  14.1.270.1  12/9/2010  KB2425179 
 Update Rollup 3 for Exchange Server 2010 SP1  14.1.289.3  3/7/2011  KB2492690 
 Update Rollup 3-v3 for Exchange Server 2010 SP1  14.1.289.7  4/1/2011  KB2529939 
 Update Rollup 4 for Exchange Server 2010 SP1  14.1.323.1  6/22/2011  KB2509910 
 Update Rollup 4-v2 for Exchange Server 2010 SP1  14.1.323.6  7/27/2011  KB2579150 
 Update Rollup 5 for Exchange Server 2010 SP1  14.1.339.1  8/23/2011  KB2582113 
 Update Rollup 6 for Exchange Server 2010 SP1  14.1.355.2  10/27/2011  KB2608646  

 
Exchange Server 2010 Service Pack 2

 

Product name Build number Date KB
 Microsoft Exchange Server 2010 SP2  14.2.247.5  12/4/2011
 Update Rollup 1 for Exchange Server 2010 SP2  14.2.283.3  2/13/2012  KB2645995 
 Update Rollup 2 for Exchange Server 2010 SP2  14.2.298.4  4/16/2012  KB2661854 

 

Per verificare le versioni successive è disponibile la pagina Microsoft con tutte le versioni ed i relativi Rollup update all’indirizzo:

https://docs.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019

Inviare notifiche tramite il protocollo SMTP di Exchange 2007/2010

Notifiche ExchangeSpesso i programmi che provano ad inviare notifiche tramite Exchange 2007/2010 restituiscono un errore. Questo perché i connettori di Exchange consentono l’accesso solo ai client della rete autenticati.

Come consentire a questi programmi di inviare e-mail anche all’esterno?

Se le notifiche partono dallo stesso server allora bisogna creare un connettore che usi l’indirizzo ip 127.0.0.1. Il comando con la Exchange Management Shell è

new-ReceiveConnector -Name 'Localhost SMTP' -Usage 'Custom' -Bindings '127.0.0.1:25' -Fqdn 'localhost' -RemoteIPRanges '0.0.0.0-255.255.255.255' -Server 'NOMESERVER'

Se le notifiche partono da altri servers/stampanti allora i comandi saranno i seguenti:

  • per verificare quale connettore viene usato internamente (confrontare i ranges dei connettori con l’IP di partenza del server/stampante)

get-ReceiveConnector |fl Name,RemoteIPRange

  • una volta intercettato il corretto connettore modificare l’intervallo di IP per escludere l’IP da cui partirà la mail, usando il comando

set-ReceiveConnector 'NOMECONNETORE' -RemoteIPRanges ('IPPARTENZA1-IPDESTINAZIONE1','IPPARTENZA2-IPDESTINAZIONE2')

  • poi bisognerà creare il nuovo connettore apposito con il comando

new-ReceiveConnector -Name 'Connettore per notifiche da server e stampanti' -Usage 'Custom' -Bindings '0.0.0.0:25' -RemoteIPRanges ('IPPARTENZASERVERSTAMPANTI-IPDESTINAZIONESERVERSTAMPANTI') -Server 'NOMESERVER' -PermissionGroups 'AnonymousUsers, ExchangeServers'

Esempio con IP di partenza email da 192.168.143.2 a .29 oppure da .100 a .254 (ricordarsi di escludere l’IP del default gateway!!!):


PS C:\Windows\system32>get-ReceiveConnector |fl Name,RemoteIPRanges

Name : Default SBS2008
RemoteIPRanges : {192.168.143.10-192.168.143.254, 192.168.143.0-192.168.143.8}
Name : Windows SBS Internet Receive SBS2008
RemoteIPRanges : {192.168.144.0-255.255.255.255, 192.168.143.1-192.168.143.1, 0.0.0.0-192.168.142.255}
Name : Windows SBS Fax Sharepoint Receive SBS2008
RemoteIPRanges : {127.0.0.1-127.0.0.1}


PS C:\Windows\system32>set-ReceiveConnector 'Default SBS2008' -RemoteIPRanges ('192.168.143.30-192.168.143.99','192.168.143.0-192.168.143.0')
PS C:\Windows\system32>new-ReceiveConnector -Name 'Connettore per notifiche da server e stampanti' -Usage 'Custom' -Bindings '0.0.0.0:25' -RemoteIPRanges ('192.168.143.1-192.168.143.29','192.168.143.100-192.168.143.254') -Server 'SBS2008' -PermissionGroups 'AnonymousUsers, ExchangeServers'

Identity Bindings Enabled
-------- -------- -------
SBS2008\Connettore per notifiche da server e stampanti {0.0.0.0:25} True

PER CONSENTIRE IL RELAY:

Get-ReceiveConnector "Connettore per notifiche esterne" | Add-ADPermission -user "DOMINIO\utente" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient"

Cancellazione involontaria dei log di Exchange 2007/2010

Log Exchange cancellatiNel caso in cui i log di Exchange siano stati cancellati non è più possibile montare il database di Exchange pertanto è necessario o rispristinare da backup oppure provare a recuperare Exchange usando il solo file edb. Come fare per salvare il salvabile?

Continua a leggere Cancellazione involontaria dei log di Exchange 2007/2010