存档

作者存档

构建postfix邮件服务器(五)extmail和extman的安装,实现web使用和管理邮件系统

2010年3月17日 稀饭 没有评论

一、准备

1.在www.extmail.org 中下载extmail-1.2.tar.gz 和extman1.1

Extmail 用于从浏览器中登入、使用邮件系统

Extman 用于从浏览器中管邮件系统

2.由于安装extmail要用到以下三个包(到http://search.cpan.org 中搜索)

1)Unix-Syslog http://search.cpan.org/~mharnisch/Unix-Syslog-1.1/Syslog.pm

阅读全文…

鞋衫各式名品专卖

收藏与分享
分类: mail, postfix 标签: , , ,

构建postfix邮件服务器(四)配置postfix支持虚拟用户

2010年3月17日 稀饭 没有评论

一、准备

1.从www.extmail.org 中下载extman-1.1.tar.gz

2.从http://sourceforge.net/projects/courier/files/ 下载courier-authlib

使用Courier-authlib软件的目的是因为saslauthd程序不支持数据库认证,而Courier-authlib支持多种数据库认证

3.检查postfix是否支持虚拟用户 postconf – m | grep msyql 如果出现mysql表示支持

二、建立虚拟用户数据库

阅读全文…

收藏与分享
分类: mail, postfix 标签:

构建postfix邮件服务器(二)postfix和dovecot的安装,实现简单的收发邮件

2010年3月17日 稀饭 没有评论

一、准备

1.在 http://mirror.postfixchina.org/ 下载好postfix-2.6.5.tar.gz

2.在http://www.dovecot.org 中下载好dovecot-1.1.16.tar.gz

Dovecot是一个安全性较好的POP3/IMAP服务器软件,响应速度快而且扩展性好

注意:所有源码包都放在 /postfix-an 目录下,解压也是在此目录下

3.停止sendmail

①Service sendmail stop

阅读全文…

简单生活。简单运动

收藏与分享
分类: mail, postfix 标签:

构建postfix邮件服务器(一)lamp平台的安装

2010年3月17日 稀饭 没有评论

在安装postfix前我们要用源码编译的方式搭建出LAMP平台。
L:表示linux系统
A:apache,web服务器,后面我们要用webmail来收发邮件
M:mysql数据库,在postfix的虚拟用户时,要用到mysql来存储虚拟用户
P:php和perl,webmail来收发邮件,和extmail邮件管理
一、linux
1.linux:RHEL5.3,安装了一些基本的软件包
二、apache的安装
1.去官网下载httpd- 2.2.14.tar.gz (http://httpd.apache.org/download.cgi)
2.解压
tar zxvf httpd-2.2.14.tar.gz
阅读全文…

收藏与分享
分类: mail, postfix 标签: , ,

构建postfix邮件服务器(三)启用SMTP用户认证

2010年3月17日 稀饭 没有评论

一、使用smtp用户认证

1.发信时无需认证的邮件服务器,很容易造成大量垃圾邮件的产生,也给服务器带来了不必要的负担

2.SMTP发信认证的常见形式如下:当用户通过SMTP协议向外部邮件域发送邮件时,服务器会要求用户提供用户帐号和口令进行身份认证,只有成功通过身份认证的用户才被允许向外部发送邮件,否则将拒绝发信请求。

3.Cyrus SASL(Cyrus Simple Authentication and Security Layer,Cyrus简单认证安全层)在RHEL5系统中已默认安装

4.saslauthd 是Cyrus SASL软件中的一个程序

阅读全文…

收藏与分享
分类: mail, postfix 标签: , ,

XtraDB storage engine release 1.0.6-9

2010年2月23日 稀饭 没有评论

Dear Community,

As of today Release 9 of XtraDB storage engine is available.

The release includes following new features:

  • The release is base on 1.0.6 version of InnoDB plugin.
  • MySQL 5.1.42 as a base release
  • Separate purge thread and LRU dump is implemented (this feature was actually added in Release 8, but somehow it was forgotten)
  • New patch innodb_relax_table_creation
  • Added extended statistics to slow log
  • Adjust defaults with performance intention
  • Added parameter to control checkpoint age
  • Added recovery statistics output when crash recovery (disabled by default)
  • Patch to dump and restore innodb_buffer_pool

阅读全文…

收藏与分享
分类: mysql 标签: , ,

sed1line_zh-CN

2010年2月23日 稀饭 没有评论
?Download shell.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
-------------------------------------------------------------------------
SED单行脚本快速参考(Unix 流编辑器)                       2005年12月29日
 
英文标题:USEFUL ONE-LINE SCRIPTS FOR SED (Unix stream editor)
原标题:HANDY ONE-LINERS FOR SED (Unix stream editor)
 
整理:Eric Pement  - 电邮:pemente[at]northpark[dot]edu         版本5.5
译者:Joe Hong     - 电邮:hq00e[at]126[dot]com
 
在以下地址可找到本文档的最新(英文)版本:
   <a href="http://sed.sourceforge.net/sed1line.txt">http://sed.sourceforge.net/sed1line.txt</a> 
   <a href="http://www.pement.org/sed/sed1line.txt">http://www.pement.org/sed/sed1line.txt</a> 
 
其他语言版本:
  中文          - <a href="http://sed.sourceforge.net/sed1line_zh-CN.html">http://sed.sourceforge.net/sed1line_zh-CN.html</a> 
  捷克语        - <a href="http://sed.sourceforge.net/sed1line_cz.html">http://sed.sourceforge.net/sed1line_cz.html</a> 
  荷语          - <a href="http://sed.sourceforge.net/sed1line_nl.html">http://sed.sourceforge.net/sed1line_nl.html</a> 
  法语          - <a href="http://sed.sourceforge.net/sed1line_fr.html">http://sed.sourceforge.net/sed1line_fr.html</a> 
  德语          - <a href="http://sed.sourceforge.net/sed1line_de.html">http://sed.sourceforge.net/sed1line_de.html</a> 
<!--
  意大利语      - <a href="http://sed.sourceforge.net/sed1line_it.html">http://sed.sourceforge.net/sed1line_it.html
--> 
  葡语          - <a href="http://sed.sourceforge.net/sed1line_pt-BR.html">http://sed.sourceforge.net/sed1line_pt-BR.html</a> 
<!--
  西班牙语      - <a href="http://sed.sourceforge.net/sed1line_es.html">http://sed.sourceforge.net/sed1line_es.html
--> 
  <a href="http://blog.thematice.com/html/y2010/02/23/1035/sed1line_zh-cn.html#more-1035" class="more-link">阅读全文...</a>
收藏与分享

MyISAM和InnoDB的插入性能测试

2010年2月23日 稀饭 没有评论

测试表结构:

CREATE TABLE `test` (

`ID` bigint(20) NOT NULL auto_increment,

`INT_A` int(11) default NULL,

`INT_B` int(11) default NULL,

`INT_C` int(11) default NULL,

`STRING_A` varchar(50) default NULL,

`STRING_B` varchar(250) default NULL,

`STRING_C` varchar(700) default NULL,

PRIMARY KEY (`ID`),

KEY `IDX_TEST_IA` (`INT_A`),

KEY `IDX_TEST_IB` (`INT_B`),

KEY `IDX_TEST_SA` (`STRING_A`,`INT_C`)

) ;

数据量:总共10个表,每个表插入400w数据

并发数:每个表并发20个线程去执行插入操作,总共200个线程

阅读全文…

收藏与分享
分类: mysql 标签: , , ,

端口扫描程序nmap使用手册

2010年2月23日 稀饭 没有评论

其实还是建议看英文的man,对以后学习其他东西很有帮助的:)

摘要
  nmap是一个网络探测和安全扫描程序,系统管理者和个人可以使用这个软件扫描大型的网络,获取那台主机正在运行以及提供什么服务等信息。nmap支持很多扫描技术,例如:UDP、TCP connect()、TCP SYN(半开扫描)、ftp代理(bounce攻击)、反向标志、ICMP、FIN、ACK扫描、圣诞树(Xmas Tree)、SYN扫描和null扫描。从扫描类型一节可以得到细节。nmap还提供了一些高级的特征,例如:通过TCP/IP协议栈特征探测操作系统类型,秘密扫描,动态延时和重传计算,并行扫描,通过并行ping扫描探测关闭的主机,诱饵扫描,避开端口过滤检测,直接RPC扫描(无须端口影射),碎片扫描,以及灵活的目标和端口设定.
阅读全文…

收藏与分享
分类: Linux tools, linux shell 标签: , ,

6款 Twitter 的 WordPress插件

2010年2月23日 稀饭 没有评论

6款 Twitter 的 WordPress插件

Twitter 作为一款微博客的网络社会化服务,正受到越来越多人的追捧,不管是美国大选时奥巴马通过Twitter开展网络宣传方式还是在最近的印度恐怖袭击中,Twitter 全球 600 万用户散发了大量目击资料和最新消息,都说明Twitter作为一种网络新宠正在渐渐进入主流视线。而Twitter也一直是WPer的常用服务,因为可能大多数的blogger会把自己成熟的想法或观点发表在自己的博客,而把一些零碎的思索和思绪张贴在Twitter上。所以今天介绍的6款插件对喜欢Twitter的WPer一定很实用。

阅读全文…

收藏与分享
分类: 碎碎念 标签: , ,