News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Kae Verens' Blog:
Moving email from qmail to postfixadmin
September 05, 2008 @ 09:30:05

In this new blog post Kae Verens shares a method he came up with to change over about 300 domains' worth of email over from qmail to posfix in an orderly, automated fashion.

Yesterday we had to move about 300 domains from one machine to another. We bought a new machine recently and are taking this opportunity to move from Qmail (difficult to use, in my opinion) towards Postfix. After doing one or two by hand, i decided that's stupid - why not just automate the whole thing.

The script reads from vqadmin and pushes that information over to mailadmin who makes the emails over on the postfix side. The script makes heavy use of the cURL extension to get the job done.

0 comments voice your opinion now!
move email postfix qmail mailadmin automate vqadmin


DeveloperTutorials.com:
Writing an Email Autoresponder Script with PHP
January 04, 2008 @ 15:58:00

The DeveloperTutorials website has a new article that steps you through the creation of an autoresponder script for an email account (in qmail).

It's very convenient for users to be able to communicate with web applications (or businesses) via email, but it's not always easy for the employees of the company to respond. Some of the email requests could be complex, and others could be simple but occur very frequently. So it's a real advantage when we can write scripts to respond to user emails for us.

The tutorial sets up a basic structure for you to work from including places for the addresses and extra headers for the response. You can also download the code to have it to follow along with (or play around with yourself).

0 comments voice your opinion now!
email autoresponder script qmail address header email autoresponder script qmail address header


Tobias Schlitt's Blog:
Qmail and PHPs mail() function
September 18, 2006 @ 07:57:44

Anyone noticing some "quirkiness" happening when they use the eZ Mail component in their scripts and bounce the messages off of a Qmail server, might want to check out this helpful hint from Tobias Schlitt on how he solved it.

While working with the eZ Mail component, for sending some emails comfortably, I noticed some issue with my Qmail installation. With some email accounts that received the emails, the headers were broken and had double line break characters, so the complete email was broken. That (weirdly) happened only with some servers (e.g. Gmail), while my own server handeled the emails gracefully.

He discovers that the issue lies on Qmail's side, where the sendmail wrapper for it looks for a "n" instead of a "rn" line PHP sends at the end of a line. Thankfully, it's an easy fix with the eZ Mail component:


<?php
ezcMailTools
::setLineBreak"\n" );
?>
Check out this page for more information on this functionality.

2 comments voice your opinion now!
qmail ezcomponent mail endofline newline carriage return qmail ezcomponent mail endofline newline carriage return



Community Events





Don't see your event here?
Let us know!


opinion security interview release composer install application podcast introduction voicesoftheelephpant laravel tool package version community language framework series symfony library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework