[NTLUG:Discuss] Qmail and php questions

Rob Apodaca rob.apodaca at attbi.com
Thu Feb 13 14:46:12 CST 2003


> I have qmail server installed on 192.168.0.1,
> How can I set other client (192.168.0.2) to send/receive email?
> do I have to run qmail on 192.168.0.2?
> I don't use local dns, I use hosts file as dns lookup,
> I think it should in this way, but can anyone help?

I don't know much about qmail but in order to have another machine get mail from 192.168.0.1, it needs to have some kind of pop or imap or something running. I think qmail has a pop3 server for it - don't know if it comes with base package or is an add-on. As far as hosts vs dns goes, I have always had problems sending mail to hosts which where not in a dns record. Not sure why the hosts file method has problems - maybe its just me.

> I want php invoke the qmail, how do I do? 

What do you mean by 'invoke'?

> Are there any ways for php use mail server on the other box? how to 
> set/configure it?

http://www.php.net/manual/en/function.imap-open.php



More information about the Discuss mailing list