If the server does only accept mails from the user that authenticated, then yes, you probably should run a smpt server locally with an upstream smtp server configured as smarthost. It is the same situation as here: Email failing due to from address not being verified in Amazon SES