-
How to find which domain spamming via PHP script?
PLESK 1) Create a /var/qmail/bin/sendmail-wrapper script with the following content: #!/bin/sh (echo X-Additional-Header: $PWD ;cat) | tee -a /var/tmp/mail.send|/var/qmail/bin/sendmail-qmail “$@” Note, it should be two lines including ‘#!/bin/sh’. 2) Create a log file /var/tmp/mail.send and grant it “a+rw” rights; make the wrapper executable; rename old sendmail; and link it to the new wrapper: ~# touch…
-
How To Install Qmail-Remove
For more details on qmail-remove, you may refer to the link below. http://www.linuxmagic.com/opensource/qmail/qmail-remove 1. You have to install the gcc compiler + libraries yum install gcc gcc-c++ 2. Download qmail-remove. wget http://www.linuxmagic.com/opensource/qmail/qmail-remove/qmail-remove-0.95.tar.gz 3. Untar the downloaded file. tar -zxvf qmail-remove-0.95.tar.gz 4. Then do the following. cd qmail-remove-0.95 make make install cp qmail-remove /usr/bin/ mkdir /var/qmail/queue/yanked…
-
How to fix corrupted mails on queue in qmail or qmailtoaster.
Step 1. Download qfixq. wget http://qmail.jms1.net/scripts/qfixq Step 2. Change the file permission. chmod 700 qfixq Step 3. Stop qmail service. /etc/init.d/qmail stop Step 4. Run the script. ./qfixq After running it the first time to see what it’s going to do, you should run it a second time, in “live mode”. This will do the…