存档在 ‘question (问题)’ 分类

邮件服务器域名/IP反解析 (转载)

2010年2月8日

在垃圾邮件泛滥的今天,垃圾邮件给我们的生活、工作、学习带来了极大的危害。由于SMTP服务器之间缺乏有效的发送认证机制,即使采用了垃圾邮件识别阻拦 技术效果仍旧一般,再者垃圾邮件识别阻拦技术主要是在收到信件后根据一定条件进行识别的,需要耗费大量服务器资源,如果能在信件到达服务器之前就采取一定 手段,这样就能大大提高服务器效率了。因此,目前许多邮件服务器如sina.com,hotmail.com,yahoo.com.cn等等都采用了垃圾 邮件识别阻拦技术+IP反向解析验证技术以更好的阻拦垃圾邮件。

» 阅读更多: 邮件服务器域名/IP反解析 (转载)

OpenSSH logging with ChrootDirectory

2010年1月7日

Finally following up on the previous article on the subject, I found some time to investigate logging what happens in an internal-sftp session using rsyslog.

Making syslog available in the chroot

Simply create a dev directory in each one of the chosen user chroot directories.

# mkdir /home/user/dev

Configuring rsyslog to probe the new logging source

Simply drop the following contents in /etc/rsyslog.d/sshd.conf :

# Create an additional socket for some of the sshd chrooted users.
$AddUnixListenSocket /var/fileserv/dev/log

# Log internal-sftp in a separate file
:programname, isequal, "internal-sftp" -/var/log/sftp.log
:programname, isequal, "internal-sftp" ~

 » 阅读更多: OpenSSH logging with ChrootDirectory

Linux: rm 删除文件太多出错的问题解决

2010年1月6日

Linux: rm and the ‘Argument list too long’ error message.

假设你要删除的目录中的词’spam’开头的所有文件:

[root@yoursite filter]# rm spam*
bash: /bin/rm: Argument list too long

错误: 这发生在您试图删除一个目录在同一时间太多的文件-它似乎是有极限的….

为了解决这个问题

使用  ‘find’ 到 管道来匹配文件到 ‘rm’,一次一个

[root@yoursite filter]# find . -name ’spam*’ | xargs rm

问题解决:本文来自鹏鹏工作室月影鹏鹏 http://jk.scanmon.com

» 阅读更多: Linux: rm 删除文件太多出错的问题解决

用Secure CRT来传输文件

2009年12月21日

» 阅读更多: 用Secure CRT来传输文件

关于页面ssi的应用

2009年12月20日

» 阅读更多: 关于页面ssi的应用

nginx针对某一目录限速

2009年12月17日

» 阅读更多: nginx针对某一目录限速

自动跳转也代码

2009年12月15日

» 阅读更多: 自动跳转也代码

rrdtool:configure: error: Please fix the library issues listed above and try again.

2009年12月15日

» 阅读更多: rrdtool:configure: error: Please fix the library issues listed above and try again.

nginx 进程异常终止受Single 25影响

2009年12月10日

» 阅读更多: nginx 进程异常终止受Single 25影响

MySql数据表修复方法

2009年12月10日

» 阅读更多: MySql数据表修复方法