在垃圾邮件泛滥的今天,垃圾邮件给我们的生活、工作、学习带来了极大的危害。由于SMTP服务器之间缺乏有效的发送认证机制,即使采用了垃圾邮件识别阻拦 技术效果仍旧一般,再者垃圾邮件识别阻拦技术主要是在收到信件后根据一定条件进行识别的,需要耗费大量服务器资源,如果能在信件到达服务器之前就采取一定 手段,这样就能大大提高服务器效率了。因此,目前许多邮件服务器如sina.com,hotmail.com,yahoo.com.cn等等都采用了垃圾 邮件识别阻拦技术+IP反向解析验证技术以更好的阻拦垃圾邮件。
存档在 ‘question (问题)’ 分类
邮件服务器域名/IP反解析 (转载)
2010年2月8日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’开头的所有文件:
bash: /bin/rm: Argument list too long
错误: 这发生在您试图删除一个目录在同一时间太多的文件-它似乎是有极限的….
为了解决这个问题
使用 ‘find’ 到 管道来匹配文件到 ‘rm’,一次一个
[root@yoursite filter]# find . -name ’spam*’ | xargs rm