PDA

View Full Version : Sendmail/Qmail and PHP?



tbishop61
03-15-2004, 08:51 AM
After a fair bit of work, I got Knoppix 3.3 installed on my hard drive. I didn't chance anything about the email setup, but I can only partially send email from KMail and from the command line.

Mail sent to an address at thebishop.net goes through, mail sent to a twjb.com address fails, with the error message:

failed: router unet_hosts: DNS error: Unknown host.

My router file is untouched since I installed it:


net_addrs: driver=gethostbyaddr, transport=smtp;
check_for_local, fail_if_error

inet_hosts: driver=bind, transport=smtp; defer_no_connect, -
local_mx_okay, defnames,
gateways=uu.net:uucp:+:cunyvm.cuny.edu:bitnet

When I try to send mail from a php script, using the mail() function, it fails silently. That is what I was originally trying to do, the rest is just debugging.

Any ideas?

Thanks in advance,
Tim