Tag: exim
-
Script: populating the domainips file for the exim automatically (DirectAdmin)
Script for populating /etc/virtual/domainips records for the exim. Exim configuration change is described here It takes IP that is assigned to that domain in Directadmin and adds it to the domainsip file. Here is the script (Please note: it always overwrites the domainips file!!!): #!/bin/sh LIST=`/bin/cat /etc/virtual/domainowners | tr -d ' '` echo -n ''…
-
How-to: Sending emails using IP address per domain in exim (Directadmin)
To be able to send mails via different IP per domain, You need to do the following changes in the /etc/exim.conf file: Find the “remote_smtp:” part, and add line
-
Exim mail via different IP
In /etc/exim.conf You need to change: remote_smtp: driver = smtp to remote_smtp: driver = smtp interface = 11.22.33.44