Re: qmail uses FQDN when sending from PHP

2000-08-21 Thread Andrew Richards
Jim, Hmm. It's not clear where your confusion lies. However, you may like to set control/defaulthost (that's normally /var/qmail/control/defaulthost); here's the section of the qmail-inject man page: . defaulthost .Default host name. Default: me, if that is supplied; .

Re: qmail uses FQDN when sending from PHP

2000-08-21 Thread Sean C Truman
k,1024); fputs ($sock, "QUIT\r\n"); $recv = fgets($sock,1024); fclose($sock); } ? --- PHP ends here -------- ----- Original Message - From: Andrew Richards [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: M

qmail uses FQDN when sending from PHP

2000-08-20 Thread J!M
Hello all, I'm setting up qmail as my smtp server to use with PHP. When I create an email using PHP, even when I specify a From header as [EMAIL PROTECTED], the message is sent with the From header reading [EMAIL PROTECTED], with server.bar.com being the FQDN of my server. I have foo.com

Re: qmail uses FQDN when sending from PHP

2000-08-20 Thread Alexander Pennace
On Sun, Aug 20, 2000 at 08:24:15PM +, J!M wrote: Hello all, I'm setting up qmail as my smtp server to use with PHP. When I create an email using PHP, even when I specify a From header as [EMAIL PROTECTED], the message is sent with the From header reading [EMAIL PROTECTED], with

Re: qmail uses FQDN when sending from PHP

2000-08-20 Thread J!M
Hi Alexander, Thanks for the help. I am using qmail-inject, I think, and am sending the message through the vanilla PHP mail(); function. qmail is rewriting the From header and the ReplyTo header that I specify in the PHP script. I believe that I deleted all sendmail components when