Probaly you would here find additional informations: How to configure HestiaCP / Exim 4 for SendGrid relay