Qmail Mail Queue
Qmail. Someone’s got to use it and sadly it seems to be the preferred MTA for Plesk or CPanel. Given my deep love for control panels, to view the queue size and mails in QMail: Queue Size:...
View ArticleEPEL Repo Install
Centos 5 (i386) rpm -Uvh http://mirrors.ukfast.co.uk/sites/dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm Centos 6 (x86_64) rpn -Uvh...
View ArticleFind Mail Source With QMail/Plesk
Shamelessly taken from http://kb.parallels.com/1711 There is a way to determine from what folder the PHP script that sends mail was run. Note: Depending on your OS and Plesk version, the paths can...
View ArticleQmail Change Outbound Interface
Like with any decent MTA, you should be able to change the bind from which mails are sent from. Surprisingly, Qmail actually has this functionality! You’ll need to create a plain text file with the...
View ArticleSpam Checker
Spam Checker Handy website for parsing emails to see what SpamAssasssin score they might get
View ArticleParallels Plesk PCI Compliance
Plesk is handy enough to include a couple of scripts for assisting users in becoming PCI compliant (thankfully) /usr/local/psa/admin/bin/pci_compliance_resolver –help It will give options for panel,...
View ArticleWordPress File Permissions
In the interests of keeping WordPress as locked down as is reasonably possible, directory and file permissions should be set accordingly: find ~/public_html -type d -exec chmod 755 {} \; find...
View ArticleMagento Database Credentials Location
If you need to update the database configuration for Magento the configuration file is held in: <doc_root>/app/etc/local.xml This is very useful following operations such as new databases,...
View ArticlePlesk 10 Turn On SpamAssassin For All Accounts
for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e “select concat(mail.mail_name,\”@\”,domains.name) as address from mail,domains,accounts where mail.dom_id=domains.id and...
View ArticleRude Linux Command
Somewhat dark, but hey-ho. Date; wine; talk; touch; unzip; touch; strip; gasp; finger; gasp; groupadd; mount; fsck; nice; more; yes; wait; watch; gasp; man paste; eject; gasp; umount; make clean; kill;...
View ArticlePlesk Rebuild Web Config
To rebuild Plesk’s web config: Plesk 11 /usr/local/psa/admin/bin/httpdmng –reconfigure-all Older Versions /usr/local/psa/admin/bin/websrvmng -a Filed under: Linux Tagged: httpdmng, linux, plesk,...
View ArticleKernel Housekeeping
Linux loves a bit of housekeeping and the kernel is no exception. This is often noticed as the generally small /boot partition fills up. You could manually purge older kernel versions but RHEL makes...
View ArticleMySQL Through SSH Tunnel
Below is my way of connecting to a remote MySQL server via an SSH tunnel. Fairly self explanatory but I can never quite remember the exact format for SSH tunnels. ssh -f -L 3307:127.0.0.1:3306...
View Articlersync Bandwidth Limit
It’s the –bwlimit switch. For example: rsync -avz /home/user/Music foo@bar.com:/dest/to/new/folder --bwlimit=2000 The bwlimit switch is in Kb/s Filed under: Linux Tagged: bandwidth, limit, linux,...
View ArticlerSync Progress
To show the status of rsync transfers as they happen use the –progress switch. rsync -aWv /home/user/Music foo@bar.com:/dest/to/new/folder –progress Music/Artist/Album/05-Song.mp3 7136020 100%...
View ArticleLinux Passwords
Just a small one for those occasional times when user management is needed. To force a user to change their password upon next login # chage is the command chage -d 0 [username] Occasionally you get...
View ArticleRenaming Volume Groups
After getting my hands on a fresh OS install from a managed hosting company (who shall remain nameless), the LVM set up looked like this: ]# df -h Filesystem Size Used Avail Use% Mounted on...
View Article-bash: /bin/rm: Argument list too long
Always one to make you smile/growl when trying to delete the contents of a directory (depends on how it got in that state I guess!) rm -rf clientmqueue/* -bash: /bin/rm: Argument list too long find,...
View ArticleWordPress Import Failure
When trying to import a WordPress XML dump from another instance, after submitting the upload it returned a blank screen containing only “Import WordPress”. A quick check of the php logs showed the...
View Article
More Pages to Explore .....