From owner-freebsd-questions@FreeBSD.ORG Tue Nov 2 17:11:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD82416A4CE for ; Tue, 2 Nov 2004 17:11:03 +0000 (GMT) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D1F043D41 for ; Tue, 2 Nov 2004 17:11:03 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])iA2HB0m1021231; Tue, 2 Nov 2004 19:11:01 +0200 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) iA2HB0nP040973; Tue, 2 Nov 2004 19:11:00 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)iA2HB0B1040972; Tue, 2 Nov 2004 19:11:00 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 2 Nov 2004 19:11:00 +0200 From: Giorgos Keramidas To: Steel City Phantom Message-ID: <20041102171100.GB40891@orion.daedalusnetworks.priv> References: <4187B29E.3000704@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4187B29E.3000704@yahoo.com> cc: freebsd-questions@freebsd.org Subject: Re: still more sendmail trouble X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 17:11:03 -0000 On 2004-11-02 11:15, Steel City Phantom wrote: > i still can't get the mail function in PHP to work. my sendmail log > shows this > > Nov 2 10:41:36 ironcity sendmail[89186]: iA2FfagI089186: from=www, > size=473, class=0, nrcpts=0, > msgid=<200411021541.iA2FfagI089186@ironcity.showroomtech.com>, > relay=www@localhost This means that the `submit' sendmail daemon is running properly on 127.0.0.1:25 and it did receive your message. > which is a step up because before i made the changes to the rc.conf, i > would get this > > Nov 2 00:14:22 ironcity sm-msp-queue[86045]: iA1HGR7Q085413: > to=sadicutza2000@yahoo.com, ctladdr=www (80/80), delay=11:57:55, > xdelay=00:00:00, mailer=relay, pri=2190203, relay=[127.0.0.1], > dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] No submit sendmail process here. > here is what i put in my rc.conf > > sendmail_enable="NO" > sendmail_submit_enable="YES" > sendmail_outbound_enable="NO" > sendmail_msp_queue_enable="YES" > > any ideas? Do you have a properly configured HOST.mc and HOST.submit.mc in your /etc/mail directory[1]? Have you generated the sendmail.cf and submit.cf configuration files in /etc/mail and restarted sendmail after you edited rc.conf[2]? [1] The `HOST' part should be the hostname of the machine. [2] This should be as easy as: # cd /etc/mail # make && make install && make restart