SMTP Banner Check multiple IP's

خرید بک لینک

Hi kaijidesign,

For me this solution works very good.
add it in the beginning of exim.conf

Code:

local_interfaces = your ip1 : your ip 2 : your ip3 : your ip 4 and etc ...
smtp_active_hostname = ${lookup{$interface_address}lsearch{/etc/virtual/smtp_active_hostnames}{$value}}
smtp_banner = "$smtp_active_hostname ESMTP $tod_full"
Dont forget create /etc/virtual/smtp_active_hostnames in this format:
your ip1:your related ptr
your ip2:your related ptr
and etc ...

now
in exim.conf find this lines:
remote_smtp:
driver = smtp

and immediately after that add:

Code:

interface = "${lookup{$sender_address_domain}lsearch{/etc/virtual/domainips}{$value}}"
helo_data = "${lookup{$sending_ip_address}lsearch{/etc/virtual/helo_data}{$value}{$primary_hostname}}"
create /etc/virtual/domainips in this format:
*:your server ip
your ip1:related domain1
your ip1:related domain2 (if you have multiple domain on an IP)
your ip2: related domain
and etc ...

create /etc/virtual/helo_data in tjis format:
your ip1:your related ptr
your ip2:your related ptr
and etc ...

restart exim.
Done!

Sorry for my bad English.

Regards,
Sergey

DirectAdmin Forums...

ما را در سایت DirectAdmin Forums دنبال می‌کنید

برچسب: نویسنده: ایمان اصلاحی بازدید: 352 تاريخ: چهارشنبه 7 تير 1396 ساعت: 6:17

صفحه بندی