add newuser-max-attachments setting (PR #1230)

Continuing the separation of images & attachments, this PR adds the newuser-max-attachments setting.

GitHub

You’ve signed the CLA, ZogStriP. Thank you! This pull request is ready for review.

Merci!