How to export Exchange 2010 mailbox as pst file

1. Open Exchange Management Shell from the start menu
2. Create a new export request

New-MailboxExportRequest -Mailbox {username} -FilePath \\{server}\{share}\{filename}.pst

Replace {username} with the username of the mailbox you want to export, {server} with the destination server (pst files need to be exported to a share), {share} with the name of the shared folder, {filename} with the filename of the .pst file.

How to easily migrate mailboxes from Exchange server 2003 to 2010

I have been trying to figure out a way to move a few mailboxes from Exchange server 2003 to 2010. There is no trust relation between the two servers and they are on different networks so the included Move Request feature does work. I only seem to be able to find very complicated and time consuming ways of doing that mainly targeted for Exchange servers with hundreds or thousands of mailboxes or involving expensive migration tools. Continue reading

MailScanner not working after upgrading from etch to lenny

I was just upgrading a spam filter from Debian etch to lenny. After the upgrade, MailScanner seemed to be running but wasn’t processing the queue.

When running MailScanner in debug mode I noticed these errors:

Variable "$FIELD_NAME" is not imported at /usr/share/MailScanner/MailScanner/Message.pm line 6064.
Variable "$FIELD_NAME" is not imported at /usr/share/MailScanner/MailScanner/Message.pm line 6067.
Global symbol "$FIELD_NAME" requires explicit package name at /usr/share/MailScanner/MailScanner/Message.pm line 6064.
Global symbol "$FIELD_NAME" requires explicit package name at /usr/share/MailScanner/MailScanner/Message.pm line 6067.
Compilation failed in require at /usr/sbin/MailScanner line 79.

To fix it, open the Message.pm file and this code to line #7852 (pico /usr/share/MailScanner/MailScanner/Message.pm):

our $FIELD_NAME = '[^\x00-\x1f\x7f-\xff :]+:';

so that lines 7852 – 7854 should be like this:

package Mail::Header;
our $FIELD_NAME = '[^\x00-\x1f\x7f-\xff :]+:';
 
sub extract

Restart MailScanner and everything should be fine now.