How To: Bypass SMTP authentication (DA, CP exim)

  Control Panel, Email

Sometimes we may need to bypass the SMTP authentication for the certain sender’s IP address.

In order to do so in Directadmin server, we’ll need to add sender’s IP address into exim.conf:

Find the line below:

hostlist relay_hosts = net-lsearch;/etc/virtual/pophosts

Add senders IP address:

hostlist relay_hosts = net-lsearch;/etc/virtual/pophosts : xx.xx.xx.xx

Where xx.xx.xx.xx is senders IP address

Once done, restart exim service

In cPanel, we just need to add sender’s IP to the following file:

[cc]/etc/alwaysrelay[/cc]

Once done, restart exim service