August 2012
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories

August 2012
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Linux Commands – Not Usual

Check Validity of a Certificate File (PEM File) # openssl x509 -in Certificates.pem -inform PEM -text -noout -enddate Certificate: Data:

Version: 3 (0x2)

Serial Number:

5b:84:3e:8f:d3:1e:fc:67

Signature Algorithm: sha1WithRSAEncryption

Issuer: C=US, O=Sabe Inc., OU=Sabe Relations, CN=Sabe Certification Authority

Validity

Not Before: Oct 1 11:56:10 2011 GMT Not After : Sep 30 11:56:10 2012 GMT

Sometime […]

Qmail Handle Admin

Qmail Handle Admin

 

QmHandle, a perl script which gives you greater functionality – allows you to view and manage the ‘qmail’ message queue.

It can be install by excuting the following commands cd /usr/bin wget -O – “http://easynews.dl.sourceforge.net/sourceforge/qmhandle/qmhandle-1.2.0.tar.gz” | tar xzf

Following commands are useful to manage the queue

# List emails by subject […]

Qmail : How does it work ?

Qmail : How does it work ?

Qmail programs & configuration files Qmail works using about 15 small programs. It also uses a pretty large number of configuration files. At the beginning, this may appear as quite confusing. Once you are familiarised with these configuration files & programs, qmail administration will be easier.

Qmail programs

[…]

qmail: queue wrong owner # 4.3.5 error

qmail: queue wrong owner # 4.3.5 error

 

1. download and run queue-repair to fix the queue http://pyropus.ca/software/queue-repair/ 2. make sure qmail-queue is owned by qmailq # chown -Rf qmailq qmail-queue 3. set qmail-queue’s user id bit (to run qmail-queue as qmailq user) # chmod u+s qmail-queue

don’t go playing with your qmail files if […]

How to check mail queue in qmail?

/var/qmail/bin/qmail-qstat

# nice find /var/qmail/queue/mess/ -type f | xargs grep ‘^From: ‘ | awk ‘{print $2}’ | sort | uniq -c | sort -n | tail

# nice -20 find /var/qmail/queue/mess/ -type f |xargs egrep ‘^From|^To’ |sort -k1 |uniq |sort -k2 |uniq -c -f 1 |sort -n |tail

Postfix-SMTP-AUTH-TLS-Howto

Postfix-SMTP-AUTH-TLS-Howto

Version 1.0 Author: Falko Timme <falko [dot] timme [at] projektfarm [dot] de> Last edited 12/31/2003

You can find the latest version of this document at http://www.howtoforge.com

This document describes how to install a mail server based on postfix that is capable of SMTP-AUTH and TLS. It should work (maybe with slight changes […]

Configure NOD32 and Postfix as Antivirus Gateway

Configure NOD32 and Postfix as Antivirus Gateway

 

 

Requirements: 1. Postifx (2.0.18) http://www.postfix.org/download.html 2. Cyrus-sasl (2.1.17) http://asg.web.cmu.edu/sasl/ 3. NOD32 for Linux Mail Server (2.09-1) http://www.nod32.si/download/download.htm Introduction In this article, we are going to use Postfix as an antivirus gateway. The reason why to do so is that, other MTAs (Qmail, Sendmail, Courier etc) do […]

mod_cband (Apache 2 module of the traffic control like mod_throttle & mod_bandwidth) usage

As in the past to apache 1 mod_throttle gasanghoseuteubyeol the measure and limit traffic was possible. Limiting the traffic to the hosting is required. Used in any domain that Knowing very important job. But, apache2 could only give this guy writes. Is search. cband found. mod_throttle and function and the structure and almost identical, mod_bandwidth […]

kernel tuning Apache performance

Source:

Here all of the website is an example kernel tuning for improved performance. Try one of those boring study. (Actually, I do not know) I’m just the only data is transferred.

References http://www.apache.org/docs/misc/perf-tuning.html web performance tunning – O’Reilly

Keep in mind, however, have some points. In order to improve website performance, rather than the […]

qmail multiple domains support

 

Some time ago I wrote an article about qmail e-mail accounts setting. Since that time I needed to specify multiple domains with same e-mail names, like: – info@examle.com to deliver mails to info_example user – info@example1.com to deliver mails to info_example1 user – test@example.com to deliver mails to test_example user

This article describes how […]