November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

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

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 […]

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 […]

his address no longer accepts mail quick fix

To fix this edit these files: vi /var/qmail/control/rcpthosts vi /var/qmail/control/virtualdomains

Remove the line with this domain from both files then restart Qmail: /etc/init.d/qmail restart

Force qmail to process the outbound queue

Normally, qmail will be able to process the mail queue without any interaction from the system administrator, however, if you want to force it to process everything that is in the queue right now, you can do so:

#kill -ALRM `pgrep qmail-send`

If for some peculiar reason you don’t have pgrep on your server, you […]

qmHandle

Download qmHandle from SourceForge. You actually only need the script ‘qmHandle’ so use that if you have it handy. Upload it to the server and untar it if necessary. You may download the file directly from SourceForge using the wget command:

# wget http://sourceforge.net/projects/qmhandle/files/qmhandle-1.3/qmhandle-1.3.2/qmhandle-1.3.2.tar.gz/download

Then decompress the file using the tar command:

# tar -xvzf […]

Setting up Roundcube Qmail

The Roundcube webmail software is available in

The ports for Roundcube webmail is available in /var/www/html/roundcube. To install roundcube, you will need to type the following (as root):

# cd /usr/ports/mail/roundcube # make install clean

The ports system will install Apache, PHP4, and MySQL if you do not have them on your system. By default, […]