Categories
CentOS Email

Instalare si utilizare qmHandle

Instalare:

[root]# cd /opt
[root]# wget http://jaist.dl.sourceforge.net/sourceforge/qmhandle/qmhandle-1.3.2.tar.gz
[root]# tar -xzf qmhandle-1.3.2.tar.gz
[root]# cd qmhandle-*/
[root]# mv qmHandle /var/qmail/bin/
[root]# /var/qmail/bin/qmHandle -s

Parametri:

-a: try to send queued messages now (qmail must be running)
-l: list message queues
-L: list local message queue
-R: list remote message queue
-s: show some statistics
-mN: display message number N
-dN: delete message number N
-fsender: delete message from sender
-f're': delete message from senders matching regular expression re
-Stext: delete all messages that have/contain text as Subject
-h're': delete all messages with headers matching regular expression re (case insensitive)
-b're': delete all messages with body matching regular expression re (case insensitive)
-H're': delete all messages with headers matching regular expression re (case sensitive)
-B're': delete all messages with body matching regular expression re (case sensitive)
-t're': flag messages with recipients in regular expression 're' for earlier retry (note: this lengthens the time message can stay in queue)
-D: delete all messages in the queue (local and remote)
-V: print program version

Parametri aditionali (optionali):

-c: display colored output
-N: list message numbers only
(to be used either with -l, -L or -R)

Pot fi vizualizate/sterse mai multe mesaje simultan: -d123 -v456 -d567

Categories
CentOS Email Plesk

Identificarea contului de email compromis in qmail

Daca se constata ca pe server-ul de email ajung o serie de emailuri bounce ciudate ca raspuns la unele mesaje care nu au putut fi livrate catre destinatar, este foarte posibil ca un cont de email sa fie compromis. Acelasi motiv poate sa fie si la baza faptului ca server-ul de email este listat intr-o baza de date antispam (ex: www.barracudacentral.org).

Categories
CentOS

Verificare mesaje aflate in coada de asteptare (qmail)

Pentru vizualizarea email-urilor aflata in coada de asteptare pe un server care ruleaza Qmail, se pot urma pasii de mai jos:

Categories
Plesk

Locatia log-urilor de qmail in Plesk

Locatia corecta a fisierelor ce contin log-urile de qmail este: /usr/local/psa/var/log/maillog .