EXIM 多IP发送Email邮件解决方案 DA/CP版

DirectAdmin官方论坛解决方案

Thanks for your advices, I have put this lines into exim.conf and it works now:

local_interfaces = a.a.a.a : b.b.b.b : c.c.c.c : d.d.d.d
smtp_active_hostname = ${lookup{$interface_address}lsearch{/etc/virtual/smtp_active_hostnames}{$value}}
smtp_banner = "$smtp_active_hostname ESMTP $tod_full"

create new file smtp_active_hostname with ip: hostname compare for every domain and ip address

remote_smtp:
driver = smtp
interface = "${lookup{$sender_address_domain}lsearch{/etc/virtual/domainips}{$value}}"
helo_data = "mail.$sender_address_domain"

and create file domainips with domain: ip address compare for every domain and ip address

cPanel官方解决方案
==========================================
/etc/exim.pl
sub randinet {
@inet = ("x.x.x.1", "x.x.x.2", "x.x.x.3", "x.x.x.4");
return $inet[int rand($#inet+1)];
}

查找 "interface="
remote_smtp:
driver = smtp
interface = ${if exists {/etc/mailips}{${lookup{$sender_address_domain}lsearch*{/etc/mailips}{$value}{}}}{}}
替换为
interface = "{perl{randinet}}"

列表模式
================================

相关:

  • testing9148858
  • testing<img<!-- --> src=x onerror=alert(9459);//><!-- -->
  • testing<video><source onerror=\javascript:tNyL(9998)\>
  • testing<img src=//testasp vulnweb com/t/dot gif onload=tNyL(9036)>
  • testing<iframe src=\data:text/html;base64 PHNjcmlwdD5hbGVydCgnYWN1bmV0aXgteHNzLXRlc3QnKTwvc2NyaXB0Pgo=\ invalid=\9301\>
  • testing<ScRiPt >Zus8(9163)</ScRiPt>
  • testing<img src=//testasp vulnweb com/t/dot gif onload=Zus8(9638)>
  • testing<ScRiPt >e3X5(9329)</ScRiPt>
  • testing<body onload=tNyL(9496)>
  • testing<input autofocus onfocus=e3X5(9886)>

发表评论

电子邮件地址不会被公开。 必填项已用*标注

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to top