Different authentication and sending email for SMTP

I’m trying to add my university email address to mailspring.
The mail server uses different email addresses for authentification and for sending.
The authentification for both IMAP and SMTP seem to work fine.
However when it trys to send the test email i get

This is an email sent by Mailspring while we were testing your account config.

As you’ve received it, everything must be a-ok.

Kind regards,
The Mailspring Team

P.S. a massive thank you for using Mailspring. We’ll love you always!
.
550 5.7.60 SMTP; Client does not have permissions to send as this sender

How do I specify the different sender email address?