3 月 252013
 

错误分析1

C:\Users\Administrator>telnet mail.linuxcache.net 110 
+OK Dovecot ready. 
user hello@mail.linuxcache.net 
+OK 
pass mypasswd 
-ERR [IN-USE] Internal error occurred. Refer to server log for more information. 

Mar 25 17:56:39 pop3(hello@mail.linuxcache.net): Error: user 
hello@mail.linuxcache.net: Initialization failed: Namespace '': 
mkdir(/var/vmail/mail.linuxcache.net/hello@mail.linuxcache.net) failed: 
Permission denied (euid=8(mail) egid=12(mail) missing +w perm: /var/vmail, 
dir owned by 0:0 mode=0755)

Continue reading »

3 月 202013
 

安装Dovecot服务

添加用户

[root@mail dovecot-2.1.15]# groupadd dovenull 
[root@mail dovecot-2.1.15]# useradd -M dovenull -s /sbin/nologin -g dovenull 
[root@mail dovecot-2.1.15]# groupadd dovecot 
[root@mail dovecot-2.1.15]# useradd -M dovecot -s /sbin/nologin -g dovecot

编译安装

[root@mail dovecot-2.1.15]# ./configure --prefix=/usr/local/dovecot --with-mysql 
[root@mail dovecot-2.1.15]# make 
[root@mail dovecot-2.1.15]# make install

Continue reading »

3 月 192013
 

安装Postfix

安装依赖包

[root@mail ~]# yum install db4-devel perl

创建用户和组

[root@mail ~]# useradd -M -s /sbin/nologin postfix
 [root@mail ~]# groupadd postdrop

编译安装

[root@mail postfix-2.8.14]# make -f Makefile.init makefiles \
 > 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include/mysql \
 > -DUSE_SASL_AUTH \
 > -DDEF_SERVER_SASL_TYPE=\"/usr/local/dovecot/include/dovecot\"' \
 > 'AUXLIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm'
 [root@mail postfix-2.8.14]# make
 [root@mail postfix-2.8.14]# make install

Continue reading »