Wednesday, January 27, 2010

Exchange 2007: how to setup whitelist from sender address or Sender domain, instead of ip address

Exchange 2007: how to setup whitelist from sender address or Sender domain, instead of ip address

Exchange 2007 has a whitelist but you can not see it or set it up from the GUI. It has to be done from the EMS(shell).

Shell command to add sender SMTP addresses to the BypassedSenders list:
Set-ContentFilterConfig -BypassedSenders me@allowedDomain.com,JohnSmith@fabrikam.com

Shell command to add sender domain addresses to the BypassedSenderDomains list:
Set-ContentFilterConfig -BypassedSenderDomains yahoo.com,fabrikam.com

You can also whitelist recipient. All emails address to that recipient will not be check. The only downside is , the user will always get spammed emails.

shell command:
Set-ContentFilterConfig -BypassedRecipients vip@yourdomain.com,executive@yourdomain.com

Monday, January 25, 2010

Exchange 2007 - Release emails from Quarantine

Today i got an issue on releasing emails from Quarantine mailbox. After i set-up the from the EDGE servers that Quarantined emails with SCL = 7, all emails with SCL=7 are being forwarded to the Quarantine mailbox. The problem is when you select the email that you want to release and select "Send Again", it will send the email but the sender will become my name instead of the original sender.
the fix:
1). After enabling the quarantine mailbox from the EDGE, , you need to configure the quarantine mailbox in AD so ALL Hub Transport servers know about it.
This is done by using the Set-ContentFilterConfig cmdlet:
Set-ContentFilterConfig -QuarantineMailbox MyQuarantineMbx@mydomain.com
you need to run this in the HUB servers.
2) You can release the emails using OWA or Outlook.
2a) By using OWA, you will have to login as the Quarantine Mailbox.
2b)By using Outlook, you will have to create a new Outlook profile for your Quarantine Mailbox . then open the quarantined outlook profile, then select the email that you want to release.

That's it.

Tuesday, January 12, 2010

Exchange 2007 : Managing Storage Groups and Databases

http://technet.microsoft.com/en-us/library/aa998926(EXCHG.80).aspx

Managing Storage Groups and Databases

Applies to: Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007 Topic Last Modified: 2007-09-24

This topic describes the basics of storage group and database management in Microsoft Exchange Server 2007. To learn more about storage groups and databases, see Understanding the Exchange 2007 Store.

An Exchange storage group is a logical container for Exchange databases and their associated system and transaction log files.

An Exchange database stores data, data definitions, indexes, checksums, flags, and other information associated with user mailboxes or public folders. Exchange databases are stored in .edb files. (Note that unlike previous versions of Exchange, there are no .stm database files in Exchange 2007.) Databases are based on Extensible Storage Engine (ESE) technology.

Aa998926.note(en-us,EXCHG.80).gifNote:
Specialized and sophisticated storage group and database management methods can be employed to assure the highest possible levels of availability of your Exchange system. For more information about managing for high availability, see High Availability and Disaster Recovery.

Managing storage groups includes creating a new storage group, configuring a storage group, removing an existing storage group, and moving a storage group path.

Aa998926.note(en-us,EXCHG.80).gifNote:
Although a storage group can contain up to five databases, we recommend that you use one database for each storage group. The standard license for Exchange 2007 enables you to create up to a five storage groups and to mount up to five databases. The enterprise license for Exchange 2007 enables you to you can create up to 50 storage groups and mount up to 50 databases.

You can create a new storage group by clicking New Storage Group in the Mailbox node under Server Configuration in the Exchange Management Console. You can also create a new storage group in the Exchange Management Shell with the New-StorageGroup cmdlet. For more information about creating new storage groups, see How to Create a New Storage Group.

You can configure many storage group settings by right-clicking a storage group in the work pane of the Mailbox node under Server Configuration in the Exchange Management Console, and then clicking Properties. You can configure all the settings of a storage group in the Exchange Management Shell with the Set-StorageGroup cmdlet.

You can remove a storage group by right-clicking the storage group in the work pane of the Mailbox node under Server Configuration in the Exchange Management Console, and then clicking Remove. You can also remove a storage group by using the Remove-StorageGroup cmdlet in the Exchange Management Shell. For more information about removing storage groups, see How to Remove a Storage Group.

You can move storage group system and log files by right-clicking the storage group in the work pane of the Mailbox node under Server Configuration in the Exchange Management Console, and then clicking Move Storage Group Path. You can also move the storage group files by using the Move-StorageGroupPath cmdlet in the Exchange Management Shell. For more information about removing storage groups, see How to Move a Storage Group Path.

You can use both the Exchange Management Console and the Exchange Management Shell to configure options for Exchange mailbox databases and public folder databases. However, the Exchange Management Shell offers access to more information and settings than the Exchange Management Console, and makes available the power of scripting. (For more information about scripting, see Scripting with the Exchange Management Shell and Scripts for Managing Public Folders in the Exchange Management Shell.)

Aa998926.note(en-us,EXCHG.80).gifNote:
For reliability, and in some cases for performance reasons, databases should be placed on disks that do not contain transaction logs.

Managing databases includes creating a new database, removing an existing database, mounting a database, dismounting a database, and backing up a database.

You can add mailbox databases or public folder databases to storage groups.

Aa998926.note(en-us,EXCHG.80).gifNote:
Only one public folder database can exist on each server.
Aa998926.note(en-us,EXCHG.80).gifNote:
Only one database can be added to a storage group on which local continuous replication is enabled. For reliability, and in some cases for performance reasons, databases should be on placed on disks that do not contain transaction logs.

You can mount a database by right-clicking the database in the work pane of the Mailbox node under Server Configuration in the Exchange Management Console, and then clicking Mount Database. You can also mount a database in the Exchange Management Shell with the Mount-Database cmdlet. For more information about mounting databases, see How to Mount a Database.

You can dismount a database by right-clicking the database in the work pane of the Mailbox node under Server Configuration in the Exchange Management Console, and then clicking Dismount. You can also dismount a database in the Exchange Management Shell with the Mount-Database cmdlet. For more information about dismounting databases, see How to Mount a Database.

Backing up the critical data in your Exchange 2007 organization is a necessary operational task. To learn how to perform a basic backup of an Exchange 2007 database using the Microsoft Windows Backup utility, see How to Perform a Basic Backup of Exchange Databases.

how to check Offline Address Book date time

If you wan to check the when is Offline Address book in Exchange Server was generated,
go to:

http://{servernamer}/public/non_ipm_subtree/offline%20address%20book/

Wednesday, January 6, 2010

how to export mailbox in exchange 2007

http://technet.microsoft.com/en-us/library/bb266964%28EXCHG.80%29.aspx


To export data to a .pst file, run the following command:
Export-Mailbox -Identity  -PSTFolderPath \.pst


To export the special folders and empty folders of the mailbox to a folder in the destination mailbox, run the following command:
Export-Mailbox -Identity  -TargetMailbox  -TargetFolder 

Tuesday, January 5, 2010

email size with attachement increased in size


http://technet.microsoft.com/en-us/magazine/2009.01.exchangeqa.aspx?pr=blog

Exchange Queue & A
Mysterious Attachment Size Increases


Q: Our organization's messaging infrastructure is based on Exchange Server 2007. We have a relatively strict message-size limit of 12MB set throughout the organization.
We have observed a strange behavior that seems to be related to the size of files attached to a message. When sending an e-mail message to an external user with, let's say, an 11MB attachment, the message is delivered to the recipient as expected. But if this message (including the attachment) is forwarded back to the sender on the internal network, the sender gets a non-delivery report (NDR), indicating that the message is larger than the current system limit or that the recipient's mailbox is full.
After taking a close look at the issue, we can see that at some point after the message leaves the organization, the size of the attachment increases by approximately 30%. The question is, why do attachment sizes increase while sending and receiving e-mail messages through the Internet? And more important, is this expected behavior?

A The short answer is yes. This is often expected behavior, not only for Exchange Server 2007 but also for earlier versions of Exchange Server as well as any other messaging system that supports MIME (Multipurpose Internet Mail Extensions) and uses Base64 to encode attachments. When an internal Exchange user sends a message to a recipient inside the Exchange organization, the message doesn't require any content conversion. This means that you won't see the message or attachments increase in size when they are delivered. Messages sent to external recipients, on the other hand, may require content conversion.
A standard SMTP message (also known as a plain-text message) consists of a message envelope and the message contents—the message header and message body. These elements are based on plain 7-bit US-ASCII text. When a message contains elements that are not plain US-ASCII text, the elements must be encoded. When dealing with such non-text content, including attachments, MIME is used for encoding. Both Exchange 2007 and earlier versions of Exchange Server use the Base64 algorithm to encode attachments. And the disadvantage of Base64 is that it bloats attachments by 33%.
In Exchange 2007, except when Outlook Web Access is used, most transport-related content conversion is performed on the Hub Transport server. For a detailed explanation, see the topic "Understanding Content Conversion" at technet.microsoft.com/library/bb232174.


===============
more info:

http://office.microsoft.com/en-us/outlook/HA102365941033.aspx