From owner-freebsd-questions Sat Apr 28 19:10:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 98AB237B423 for ; Sat, 28 Apr 2001 19:10:30 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 29121 invoked by uid 100); 29 Apr 2001 02:10:29 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15083.30741.886583.523652@guru.mired.org> Date: Sat, 28 Apr 2001 21:10:29 -0500 To: Maxim Protsenko Cc: questions@freebsd.org Subject: Re: php3 + Qmail In-Reply-To: <102049642@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Maxim Protsenko types: > Hello, everyone... > There's one problem, which don't let me sleep much last 3 days... Sorry to hear that. > Please, help me to solve it... > > My friend recommneded me to use qmail under FreeBSD. > > I've downloaded version 1.03 and followed the instructions. > Everything was OK exept a few warnings during "make" process. You really should use the port. That generally adopts things to FreeBSD, and sometimes includes tools that make things easier to use on FreeBSD. qmail is in that latter clase. > At that moment qmail is able to send mail from the shell by the > command > > % echo to: maksymko@yahoo.com | /var/qmail/bin/qmail-inject > > but from my site, written in php3 IT DON'T WANT TO SEND!!! > > in > /usr/local/etc/php3.ini > I tried path to sendmail as /var/qmail/bin/qmail-inject and > /var/qmail/bin/sendmail - it didn't help. I don't know php3, but /var/qmail/bin/sendmail is right. However, that's the wrong way to set such things up on FreeBSD. You should edit mailer.conf instead. The man page discusses what should be in it. The qmail port includes the make target "enable-qmail" to install a properly configured mailer.conf for qmail. > Please, tell me what to do!!! Throw out what you've done, and install the port. > And what related to qmail must be listed by "ps" command??? qmail-lspawn, qmail-rspawn, qmail-send, qmail-clean and whatever you're using for listening to tcp ports and launching qmail-smtpd. Again, the port includes startup scripts to deal with all this stuff. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message