Merge pull request #4 from thomas-hilaire/master

Automatic port problem
Update src/main/java/com/icegreen/greenmail/smtp/SmtpManager.java

For some reason, SmtpManager duplicates recipients on messages
Update src/main/java/com/icegreen/greenmail/store/InMemoryStore.java

Avoid ConcurrentModificationException by shallow-copying the folders lists before iteration
Merge pull request #5 from romangarcia/master

Some fixes needed for me, maybe usefull for others
Lock GreenMail for specified time
Bump version to mbaechler-12
Merge pull request #6 from aduprat/Lock

Lock GreenMail for specified time
Revert "Update src/main/java/com/icegreen/greenmail/smtp/SmtpManager.java"

This reverts commit 48f8bbd4f50a4d9ea835b42af3ea4318ff324c4f.
Bump version to mbaechler-13
Merge pull request #7 from aduprat/Revert

Revert SmtpManager modification
Fixed InMemoryStore expunge method. Expunging multiple messages now works correctly.

The expunge method deletes messages from a list while traversing the same list.
I've modified it to traverse descending order (instead of ascending) so that that all messages are checked.
Merge pull request #8 from movio/master

Fixed expunge method
Add delete mail methods
Bump version to mbaechler-14
Merge pull request #9 from aduprat/delete-mail

Delete mail
- add Content-Location and Content-Id support
Merge pull request #10 from mbaechler/location+id-support

- add Content-Location and Content-Id support
Read IMAP requests as UTF-8