.Mac uses IMAP. Unless you have some "On my Mac" folder you can access all your .Mac mail by setting up your .Mac account in Thunderbird as an IMAP-account. If you do have some "On my Mac" folders in Mail create equivalent folders on the .Mac server, copy your mails into these folders and they will appear in Thunderbird.