今天碰到个问题, 能ping通IP地址, ping不通域名, 一直以为是 DNS解析服务器的问题, 找了半天, 问题不在这里。[root@www postfix]# cat /etc/resolv.conf
nameserver 202.96.209.133
options attempts:1 timeout:1 rotate
#nameserver 10.202.72.117
nameserv...
分类:
系统相关 时间:
2014-08-19 19:10:15
阅读次数:
338
acl 工程从发布至今已经有近10年历史,已经被一些大公司的重要项目所使用,该工程提供了跨平台(LINUX, FreeBSD, WIN32, Solaris, MacOS)的网络通信库,其中包含了阻塞非阻塞两种通信方式,内部事件引擎支持 select/poll/epoll(linux)/kqueue(BSD)/devpool(solaris)/iocp(win32)/窗口消息(win32);另外,acl 库中的网络服务器框架是 acl 中最为重要的模块(其来源于著名的Postfix,由其中的 master ...
分类:
其他好文 时间:
2014-08-19 11:02:24
阅读次数:
310
protected void Button1_Click(object sender, EventArgs e) { // string postfix = string.Empty; // string fileType = string.Empty; // postfix = ef[4, 1];...
分类:
其他好文 时间:
2014-08-18 12:18:54
阅读次数:
152
今天发邮件, 发送失败,然后到服务器上看日志, 发现硬盘被垃圾邮件的缓存队列和日志塞满了, tail -f /var/log/maillog 发现疯狂刷屏,部分日志如下 :Aug 17 09:39:01 www postfix/error[1173]: 455F050663: to=, relay=none, delay=28778, delays=28631/146/0/0.51...
分类:
其他好文 时间:
2014-08-17 15:40:22
阅读次数:
290
#manpostsuperNAMEpostsuper-PostfixsuperintendentSYNOPSISpostsuper[-psv][-cconfig_dir][-dqueue_id][-hqueue_id][-Hqueue_id][-rqueue_id][directory...]-dqueue_idDeleteonemessagewiththenamedqueueIDfromthenamedmailqueue(s)(default:hold,incoming,activeanddeferred)..
分类:
其他好文 时间:
2014-08-11 03:03:21
阅读次数:
275
序言这俩台机器的postfix将成为我们公司往外网发送推广邮件的主力邮件服务器。其中每台机器绑定28个IP池。预计至少需要发送每天300万封的邮件数量。这俩台机器只负责邮件的发送服务。并不包括邮件的接收(MX记录并不指向这个IP)。在发送方面DNS服务器上配置了TXT记录包含了其..
分类:
其他好文 时间:
2014-08-05 14:20:59
阅读次数:
510
/* solution of convertion of infix to postfix */#include #include #include struct StackRecord{ char Operator[32]; int TopIndex; int Capacity;...
分类:
其他好文 时间:
2014-07-31 19:44:42
阅读次数:
200
Swift操作符可以自行定义, 只需要加上简单的标志符即可.
@infix 中置运算. 如+,-,*,/运算
@prefix 前置运算. 如-
@postfix 后置运算. a++, a--
@assignment 赋值运算. +=, -=, --a, ++a
//
// main.swift
// SwiftBasic
//
// Created by yao_yu on 14-...
分类:
移动开发 时间:
2014-07-27 23:39:19
阅读次数:
388
1、administration------》Mediatypes这里用户选择zabbix,之前使用的是root、总是触发action失败无法发送告警邮件2、点击user这里选择默认的用户,编辑admin3、点击action创建动作4.在zabbix的服务端,一定要有mta端,也就是sendmail或者postfix,然后启动他们。通过以上的设..
分类:
其他好文 时间:
2014-07-23 00:23:28
阅读次数:
776
目的:利用shell脚本每小时检测数据库是否在运行,当检测到库宕掉时发邮件告警。
1.检查sendmail是否在运行
servicesendmailstatus
没有在运行则启动或安装。
如果是linux6,则检查postfix是否在运行servicepostfixstatus
2.pmon是oracle五大关键进程之一,如果pmon进..
分类:
其他好文 时间:
2014-07-20 10:36:28
阅读次数:
234