Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Thomas Kristensen on October 24, 2002, 03:32:43 PM
-
Hi,
I realize subject has been covered a few times in these forums, however I haven't found a solution that works.
Setup is SME 5.5, update 2. I've made some php pages that shoots off emails using the mail function. This works great as long as I send email to users on my own domain, as soon as I target email addresses outside my domain these entries show up in the qmail/current log:
@400000003db7ca9517a87afc info msg 1638507: bytes 614 from qp 1831 uid 100
@400000003db7ca951913e23c end msg 1638507
hence nothing happens. I've tried altering the php.ini file and restarting the httpd after each change. Apparently this has something to do with the sendmail_path parameter but I've had no luck in changing it to something that works.
I really appreciate any help you can give...
Cheers,
Thomas Kristensen
-
Duh, sorry for the disturbance... It turns out that I am unable to keep track of my variablenames and if you send an email to nowhere it gets nowhere :-)
So, it was _all_ my own fault...
Cheers,
Thomas
-
You could always issue a shell_exec() to the /bin/mail function, I believe there are security issues with the PHP mail function:
http://www.securiteam.com/unixfocus/5SP0M2080W.html
As an FYI, the path to sendmail is /usr/sbin/sendmail
Hope this helped,
Nathan