Manuel Schneider [Everything Open] writes:
Hi together,I'm using the courier-mta since around five years and I really like it.But now I finally found my way to this mailinglist because I have an odd problem, maybe I'm just overseeing something.I made a fresh OS installation with courier-0.53.2, apache-2.0.58-r2 and php-5.1.6-r6.A PHP script containing ---- 8< ---- <? mail( '[EMAIL PROTECTED]', 'Test', 'Some test text', 'FROM: [EMAIL PROTECTED]' ); ?> ---- >8 ----works somethly if called from the command line (# php script.php), but not if called via apache. The errorlog says---- 8< ---- sendmail: Unable to submit message. ---- >8 ----
You have to have some environment variable set, in your shell environment, in order for things to work for you. By trial and error you'll need to figure out what it is.
pgpLexLyjXW0d.pgp
Description: PGP signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
