User Tools

Site Tools


directadmin:exim-email-router-filter-berdasar-domain

Membuat Router di Exim Filter Berdasarkan Domain

Kami ada kebutuhan pada domain-domain tertentu kami buatkan router agar dapat mengirim dengan menggunakan interface ip address tertentu. Dan Di Exim directadmin cara melakukannya adalah sebagai berikut :

nano /etc/exim.routers.pre.conf

isi dengan

remote_domains_custom:
  driver = dnslookup
  domains = indosatooredoo.com : realnetworks.com
  retry_use_local_part
  transport = remote_custom

Kemudian pada exim.conf

nano /etc/exim.conf

tepat dibawah remote_smtp: di isikan transport emailnya seperti ini

#pusathosting
remote_custom:
  driver = smtp
  headers_add = "${if def:authenticated_id{X-Authenticated-Id: ${authenticated_id}}}"
  interface = <; ${if exists{/etc/virtual/domainips_custom}{${lookup{$sender_address_domain}lsearch*{/etc/virtual/domainips_custom}}}}
  helo_data = ${if exists{/etc/virtual/helo_data}{${lookup{$sending_ip_address}iplsearch{/etc/virtual/helo_data}{$value}{$primary_hostname}}}{$primary_hostname}}
  hosts_try_chunking =
  hosts_try_fastopen =

untuk isi dari domainips_custom kita bisa isi custom ip address yang formatnya sama seperti /etc/virtual/domainips

Pages in this namespace:

Layanan

Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
directadmin/exim-email-router-filter-berdasar-domain.txt · Last modified: 2020/10/10 01:30 by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki