Setting up Sendgrid as an email relay on your needs backend integration at this moment. You need to login into the server as root over SSH and follow the steps below:
First of all, you need to backup the file /etc/exim4/exim4.conf.template to get this done, use the command below:
Under ‘begin authenticators’ Please add the following lines:
Note: username should actually be ‘apikey’, not your sendgrid username
Under ‘begin routers’ Please add the following lines:
Under ‘begin transports’ Please add the following lines:
To