Since external delivery worked, I was pretty sure it had something to with Postfix and not PHP. On closer inspection though it turned out that it was a little bit of both:
My PHP script used /r/n to create newlines in mail(). This worked like intended in PHP 4.3x and Postfix 1.x but it most certainly didn't work in PHP 5.x and Postfix 2.x :o)
All I had to do was remove the /r from the headers in my script and I was good to go. It still strikes me as odd though, that /r/n worked for external mailboxes but not for local mailboxes.
So, in case you're having problems with PHP mail() and Postfix, be sure to check that you're not using /r/n to create newlines. It won't work for local users.
Regards, Thomas _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
