Gray.me.uk - Tech and Linux Blog
  • Home
  • About
  • Contact Me
  • Services
  • Search
No Image

qmail delete all emails from specific domain in queue

September 22, 2014 MH Tech. 0

I installed qmailhandle and tried to delete using wildcards and it didn’t work. This command however does. /usr/bin/qmhandle.pl -h’\@domain’

No Image

flush the qmail queue

September 22, 2014 MH Tech. 0

To retry all the emails in the qmail queue kill -ALRM `ps ax | grep [q]mail-send | awk ‘{print $1}’`

No Image

smtp auth spam problems with qmail on plesk?

June 14, 2014 MH Tech. 0

Recently I have been getting quite a few spam problems where the spammers were using valid smtp auth accounts on my server.  They have either […]

No Image

mod_fcgid: HTTP request length 132330 (so far) exceeds MaxRequestLen (131072)

May 27, 2014 MH Tech. 0

If you get unusual errors when uploading a file via http check the error log.  If you see this error message [Tue May 27 17:55:15 […]

No Image

how to extract a list of domains from a plesk server

May 7, 2014 MH Tech. 0

I need a list of domains to use in a script for rebuilding a DNS server. This did the job. mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa […]

No Image

Track down an SMTP user login on plesk 9 Qmail install.

April 23, 2014 MH Tech. 0

A client contact me today to say he had received an email from his dedicated hosting provider stating that his server was sending out masses […]

No Image

Unusual hack. WordPress htaccess redirect for search engines only.

September 19, 2013 MH Tech. 0

I had a couple of clients complaining that their wordpress sites had been hacked. I went to their site and saw nothing out of place.  […]

No Image

Small Script to delete 1 or more emails from postfix queue

August 6, 2013 MH Tech. 0

#!/usr/bin/perl $REGEXP = shift || die "no email-adress given (regexp-style, e.g. bl.*\@yahoo.com)!"; @data = qx</usr/sbin/postqueue -p>; for (@data) { if (/^(\w+)(\*|\!)?\s/) { $queue_id = $1; […]

No Image

Problem with php mail function bouncing emails back to postmaster.

August 6, 2013 MH Tech. 0

A server I manage hosts around 200 sites each owned by different webmasters.  A number of these have form to mail style scripts.  A small […]

No Image

protect wp-login.php and wp-admin using htaccess on a dynamic IP

January 2, 2013 MH Tech. 0

Please note, I did this using a linux client on a linux server.  My desktop is linux mint and the server is Centos.  You can […]

Posts pagination

« 1 … 6 7 8 … 17 »

Search this site

Categories

Server Administration Services

I provide server administration, problem solving and other services. Please see Services option on main menu.

$5 a month for an SSD based VPS

digitalocean-logo
Plesk and CPanel licenses at much reduced prices.

Archives

Copyright © 2026 | WordPress Theme by MH Themes