mail-{relay|server}: Cleanup and tighten security
Most notably, enforce sender / login match when sending to the mail server backend SMTP server: authentified users may only send from the address they own, and such addresses may only be used by their corresponding authentified user.