I do wonder how A got my details from B
I would guess that it's the receivers list for the bust OSFC, who listed and distributed about 800 members/staff names and addresses to everyone.
Posting unsolicited letters is not against the law, only applies to electronic mailings such as texts and emails.