Showing posts from March, 2011

OpenCa Certificate Request - Sign email - encrypt email

Now, i am using certificate to security email. In fact, use digital signature to sign email, certificate to encrypt email. I am using OpenCA to CA server, postfix mail server ( in last tutorial). When deploy this PKI, i meet many error. And i collected some tricks: Use mozilla thunderbird as mail client. Because if using OutLook, we must add CA cert to Trusted Root CA. But in windows XP and 2003 server SP1, your machine don`t understand SHA-2. So, CA cert will be show error: The integrity of this certificate can not be guaranteed. Use Win7 or hotfix to fix it. Secondly, when you intialization CA server, you must very concentration on it, because if you mistake, you will use many time to repaird. Easier way is re-install OpenCA. So, that is my video demo: HD quality :) or Medifire: ------------------------------------------------------------ Thanks for reading --------------------------------------------------------------------------

Mail Server Tutorial with Virtual User and Domain, use MySql Postfix Dovecot Postfixadmin

First, we will edit CentOS reposiblity to yum postfix support mysql #vim /etc/yum.repos.d/CentOS-Base.repo [base] exclude=postfix [update] exclude=postfix [centosplus] enabled=1 includepkgs=postfix #yum install -y postfix To test: #postconf -m Notice to mysql Next to datbase, use mysql: #mysql -u root -p mysql>  CREATE DATABASE postfix; mysql>  CREATE USER mail@localhost IDENTIFIED BY '123456'; mysql>  GRANT ALL PRIVILEGES ON postfix.* TO mail; mysql> show databases; Then, vmail user: #groupadd -g 5000 vmail #useradd -g vmail -u 5000 vmail -d /home/vmail -m Config postfix: #vim /etc/postfix/ myhostname = server.hbn.local mydomain = hbn.local myorigin = $mydomain inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost mynetworks =,   Add: virtual_mailbox_domains = mysql:/etc/postfix/ virtual_mailbox_maps = mysql:/etc/postfix/ virtu

Install Ubuntu with Wubi

Today, i had some works with perl on Linux, so i tried to install Ubuntu on my desktop. I chose Wubi to install it, because i haven`t got DVD-RW or USB. So sad. It is first time i install with Wubi. All work is very good. But when i restarted, my computer login to XP. I thinked:"Ubuntu iso file errors?". But i install successfully in windows.  So i find It is good, line "G:\wubildr.mbr =Ubuntu" append to it. I notice to timeout line: Timeout=0. Yes, that is. So i change it to 30. But i cann`t write the change. File read only. Oh mu god. Next, i must use google. Open MyComputer, Right Click, Chose Property, Chose Advance. Chost Setting in Starup. Change Timeout. Ok to complete. Restart, Menu boot appeared. Install now. ------------------------------------------------------------ Thanks for reading -------------------------------------------------------------------------- All my Lab: Linux Lab -- window