SysAdmin
共 249 篇文章。
HOWTO: upgrade OpenLDAP from a major release to another
Just for reference for future upgrades.
Today I managed to upgrade from OpenLDAP 2.2.29 to OpenLDAP 2.3.11. This is a large upgrade, so all and foremost thing is to backup. Additionally, to keep downtime as less as possible, build these stuff first!
On FreeBSD, the recommended way of installing third party software is to use ports(7). Note that OpenLDAP is separated into two ports, openldap2X-server and openldap2X-client, and building the server requires the client library, therefore, you can not easily do build on the production server (and this SHOULD be avoided anyway).
A solution is to use a separated box (or jail for smaller deployments), to build packages and use pkg_add to install them.
关于反垃圾的工作目标
反垃圾产品的目标是:让发送垃圾邮件的人不总能发出邮件的同时,确保正常用户总能正常地收发邮件。
一味强调发送垃圾邮件的人总不能发出邮件的结果是,总会有一些正常用户不总能正确收发邮件。对于邮件服务提供商而言,必须尽最大努力避免这种情况发生。同时,作为一项公众服务,邮件服务提供商首先要确保绝大多数用户的利益,在这种情况下,其用户条款应保留在紧急情况下以「紧急避险」的理由停止某些特定用户服务的权力,但无论如何,紧急避险只能发生在紧急情况。
笔记:大型ICP如何将qmail替换为postfix
假定你使用的是FreeBSD
- 在测试服务器上测试postfix配置文件,确认其能够与qmail提供同样的服务。
- 执行svc -d /services/qmail-smtpd,停止进信。
- 执行qmailctl flush,下发所有邮件,等待队列空。
成功地在公司消灭了第一组qmail服务器
感恩节那天,正式完全彻底地消灭了第一组公司的qmail服务器,并全线替换为FreeBSD 6.0+postfix。这是公司邮件服务的一大进步。
再也没有恶心的代码,拥堵的队列,缓冲区溢出、各式各样的hack、裹尸布一样的千层补丁,再也没有signal 11和大批大批的垃圾邮件了!!!
FreeBSD 6.0-RC2
I think we would be going to release 6.0-RC2 soon, to encourage more testing against the recently caught issues that addressed several race conditions, etc.
Mail system at tarsier.geekcn.org has finally done!
Finally I have finished the setup. Now the Bayesian system is there.
If you send unsolicited e-mails, do not miss the following trap:
And you will be blocked soon :-)
blog这台机器的速度明显变快了……
不知道是不是心理作用。。。
blog.delphij.net迁入tarsier
同时也将所有静态页改为用lighttpd来提供服务。
www.delphij.net 改用 lighttpd
易帜了!易帜了!
经过测试发现,lighttpd的性能要比Apache好。虽然还不是很熟悉,但是这一步迟早要迈出去的。我觉得一个技术人员的生命终结的标志就是开始毫无理由地拒绝尝试新事物。