Author Archives: admin

Email to SMS Credo

I needed to set up Emails to go to the SMS account of a customer on Credo Mobile. Most carriers publish this information, but I could not find it anywhere for Credo. So I called them up. Sorry, they can’t … Continue reading

Posted in Uncategorized | 10 Comments

Website Monitoring & send Email when down

We use a perl script to monitor our webservers, and if any are down, send an email (SMS) to the right people. With thanks and compliments to these guys Here is the perl script, monitor-website.pl #!/usr/bin/perl use Getopt::Std; # Define … Continue reading

Posted in Uncategorized | Leave a comment

whois segfaults after yum update

I did a yum update on a Centos 5.5 system and to my surprise, whois no longer worked: # whois whatever.com *** glibc detected *** whois: double free or corruption (out): 0x0013ffc0 *** ======= Backtrace: ========= /lib/libc.so.6[0x1795a5] /lib/libc.so.6(cfree+0x59)[0x1799e9] whois[0x8049b18] whois[0x8049bff] … Continue reading

Posted in Uncategorized | Leave a comment

WordPress Membership Plugins

Thinking about building a membership site using wordpress… here’s a site to check out http://wordpressmembershipplugins.net/

Posted in Uncategorized | Leave a comment

Rdist to a different directory

The more I use rdist the more I like it. I use it to back up the same directory from one server to another (ie /home/htdocs from server1 gets copied over /home/htdocs on server2) But sometimes it’s nice to be … Continue reading

Posted in Uncategorized | Leave a comment

Forward HTTP to HTTPS

Having invested in this secure certificate (not a lot of money, but some, and also some time to get everything configured right), I figure we ought to make sure people are using them. Especially on our Webmail login page where … Continue reading

Posted in Uncategorized | 1 Comment

Blocking brute force pop3 attempts with fail2ban

Brute force SSH attempts have dropped to zero since changing the port from the default to a non-standard one. Even though Denyhosts was working just fine for SSH, now it’s not even needed. However, the brute force pop3 attempts were … Continue reading

Posted in Uncategorized | Leave a comment

Javascript Email Validation

Needed to update my validation scripts and found this excellent article on the subject. The key part I needed was this: var reEmail = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/; which basically says, the first & second parts must have only letters, numbers, underscores, hyphens, … Continue reading

Posted in Uncategorized | Leave a comment

Cool Free Web Tools

Found this “ShiftCreate” stuff today while checking out IDEs. The mailing thing looks quite interesting… although “ShiftMail” sounds like “ShiftYMail” but hopefully it doesn’t live up to that name! Maybe I will try it out…

Posted in Uncategorized | 1 Comment

Weird characters in WordPress

We’ve all seen them from time to time, those funny guys that show up when utf8 goes all utf-8 or vice versa. “I’, Â, etc… Anyway thanks to this very concise tip, the problem is easily solved… for now This … Continue reading

Posted in Uncategorized | Leave a comment