Tag Archives: email

Procmail with Qmail + Vpopmail

Following the qmail threads in this blog, and after a successful experience filtering emails in the server with a php script! time was upon to thinker a bit with the elder of all email server filters, Procmail – the mail … Continue reading

Posted in Geek Stuff | Tagged , , , , | Leave a comment

.qmail delivery filtering by adress and subject

My goal was simple, to filter incoming emails by subject and to address (on a catch-all address…) in the server and move the matches to a specific folder instead of the normal delivery. I’m running a Qmail+Vpopmail system, and these … Continue reading

Posted in Geek Stuff | Tagged , , , , , , | 1 Comment

PHP Email validation function

My PHP email validation function nowadays is: function isEmail($value, $network_validation = true) { // Create the syntactical validation regular expression // (broken in 2 lines for better readability) $regexp = “/^([_a-z0-9-]+)(\.[_a-z0-9-]+)*@”. “([a-z0-9-]+)(\.[a-z0-9-]+)*(\.[a-z]{2,4})$/i”; // Validate the syntax if(preg_match($regexp, $value)) { if … Continue reading

Posted in Geek Stuff | Tagged , , , | Leave a comment