October 2024
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  

Categories

October 2024
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  

Manage the ‘qmail’ message queue using qmHandle

Manage the ‘qmail’ message queue using qmHandle Solution

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

[…]

Deferral in qmail: CNAME_lookup_failed_temporarily. _ (# 4.4.3)

I tried to send e-mail from the system to realize fax transmission. However, I attempted to send to eFax’s e-mail address (domain part efaxsend.com), but in the qmail mail log

Deferral: CNAME_lookup_failed_temporarily. _ (# 4.4.3)

It is recorded as a differer and can not be sent.

As a cause,

I can not resolve the destination […]

maybe-recordio

Install and use maybe-recordio script

Maybe-recordio is a little script written by John M. Simpson which makes it possible for an SMTP service to selectively enable recordio for certain IPs, so you can see what they are doing without filling up your log files with a lot of extra stuff you don’t need to see […]

qlogtools

Install qlogtools

This package is a set of tools that are useful in analyzing or producing logs from qmail and other packages. Those tools are mainly useful if you plan to make use of qmailanalog or other mail log analyzer

A the end, you ‘ll have following additional commands in /usr/local/bin/

multipipe – Supervise […]

mtrack qmail

cd /downloads/scripts/ wget http://qmail.jms1.net/scripts/mtrack wget http://qmail.jms1.net/scripts/strack chmod 751 mtrack strack cp /downloads/scripts/mtrack /var/qmail/bin/ cp /downloads/scripts/strack /var/qmail/bin/

ln -s /var/qmail/bin/mtrack /usr/bin/ ln -s /var/qmail/bin/strack /usr/bin/

Use it cat /var/log/qmail/qmail-send/current | mtrack cat /var/log/qmail/qmail-smtpd/current | strack cat /var/log/qmail/qmail-smtpdssl/current | strack

You should have such result @400000004e46646a134478e4 starting delivery 27: msg 654065 to remote nospam@test.com @400000004e46647f195ff2e4 delivery 27: […]

How to clear the Qmail Queue

Clear & Clean Qmail Queue Completely, Safely & Fast!

This script should not remove anything it should not remove, and it should clear all e-mail from your qmail queue safely so you can start sending mail normally again. (This is for qmail only and not a solution for any other mail programs.) You’re going to […]

qmqtool

cd /downloads/ tar zxvfp /downloads/qmqtool-1.14.tgz

cd /downloads/qmqtool-1.14/ ./configure –perl=/usr/bin/perl –qmaildir=/var/qmail

You should have such result found perl: /usr/bin/perl found qmail directory: /var/qmail qmqtool will be installed in: /usr/local/script documentation will be installed in /usr/local/man

if any of these values need changing, try ./configure –help

Making sure this package is intact.. src/qmqtool syntax OK …done. […]

spamdyke

Installing spamdyke is pretty simple.

1) Have a working qmail installation that runs from tcpserver. If you can’t send and receive email, stop and go to one of the following sites for help: http://www.lifewithqmail.org/ http://www.qmailrocks.org/ http://www.qmailtoaster.org/

If you’re using QmailToaster, there’s no need to install spamdyke by hand. Use the spamdyke installation script in […]

qmHandle

#compter les mails dans la liste d’attente /var/qmail/bin/qmail-qstat

#qmHandle lister les mails (l : liste, c : couleur) qmHandle -l -c

#stop qmail /etc/init.d/qmail stop

#pour lister qmail-remove -p @domainesuspect.com

#pour lister et remove (l’ordre des paramètres compte) qmail-remove -r -p @domainesuspect.com

#start qmail /etc/init.d/qmail stop

#forcer traitement de file d’attente qmHandle -a […]

Qmail delivery problems

We’re a PA partner and have clustered Qmail with 4 servers + NFS storage. We’ve seen an issue where Qmail throws the following error:

failure: Sorry,_I_could_not_find_a_mail_exchanger_or_IP_address._(#5.4.4)/

This is a permanent error and means Qmail will not retry, the sender will receive an NDR (Non delivery reply / bounce back).

I’ve seen 3 causes so far […]