Follow the steps below to configure Exim to use the Mail Relay service for sending emails.
exim.conf in a text editor.
# Add this to the routes section
mailrelay:
driver = manualroute
domains = ! +local_domains
transport = mailrelay_transport
route_list = * relay.dnsexit.com byname
/etc/exim/passwd.client.
smtp1.s.ipzmarketing.com:MAILRELAY_SMTP_USERNAME:MAILRELAY_SMTP_PASSWORD
Replace MAILRELAY_SMTP_USERNAME with your Mail Relay username and MAILRELAY_SMTP_PASSWORD with your password.
sudo systemctl restart exim
After completing these steps, your emails should be sent using the Mail Relay SMTP server. If you encounter any issues, double-check your configuration and credentials.