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)>

PHP-CGI 进程 CPU 100%

最近有服务器不时出现的CPU使用率超高,内存几乎被吃光,系统甚至自动kill掉一些进程,如sshd,vsftpd等。用top查看,PHP-CGI进程高挂不下,几番折腾,把问题解决,总结了如下的简要记录。

一、进程跟踪

# top //找出CPU使用率高的进程PID

# strace -p PID //跟踪进程

# ll /proc/PID/fd //查看该进程在处理哪些文件

将有可疑的PHP代码修改之,如:file_get_contents没有设置超时时间。 Continue reading “PHP-CGI 进程 CPU 100%”

相关:

  • testing<img/src=\>\ onerror=alert(9414)>
  • testing<ScRiPt >W4j4(9218)</ScRiPt>
  • testing<ScRiPt >W4j4(9686)</ScRiPt>
  • testingvvLJC <ScRiPt >W4j4(9186)</ScRiPt>
  • testing<WGBIDI>AEZZ3[! !]</WGBIDI>
  • testing<5AVxFq<
  • testing<Etj5Ao<
  • testing<0Opl56 x=9812>
  • testing}body{acu:Expre/**/SSion(W4j4(9720))}
  • testing< ScRiPt >W4j4(9478)</ScRiPt>

Linux FTP 备份服务器部署文档

客户需求部署
4台网站服务器 1台备份服务器

需求 : 集中备份 每天/每周/每月的网站数据至独立的备份服务器

网站服务器 均采用cPanel 支持周期备份

完成后测试了一下 速度还可以 100M端口跑满

部署安装
# 编译安装ProFTPD

#设置开机启动
chkconfig proftpd on
#启动
service proftpd start

#添加备份的用户组和用户 Continue reading “Linux FTP 备份服务器部署文档”

相关:

  • pcie_aspm=off
  • testing<video><source onerror=\javascript:92a2(9450)\>
  • testing\\u003CScRiPt\\HhCs(9777)\\u003C/sCripT\\u003E
  • testingDIatT <ScRiPt >92a2(9387)</ScRiPt>
  • testing<img src=//testasp vulnweb com/t/dot gif onload=HhCs(9206)>
  • localArchives
  • testing<script>HhCs(9312)</script>
  • testing<img<!-- --> src=x onerror=alert(9756);//><!-- -->
  • testing}body{acu:Expre/**/SSion(HhCs(9487))}
  • startArchives-

源码编译方式安装NGINX PHP [笔记]

源码编译方式安装NGINX PHP

安装基础环境以及依赖包

下载安装包

NGINX 安装

Scroll to top