Do you have a source on it being illegal? Because I don't see anything that would indicate that it is. The USPS has guidelines about the dimensions and placement of mailboxes, but as long as the box abides by these guidelines there doesn't seem to be any problem.