From owner-freebsd-questions@FreeBSD.ORG Thu Oct 28 15:44:26 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 5F5F916A4CE for ; Thu, 28 Oct 2004 15:44:26 +0000 (GMT) Received: from smtp1.tsgincorporated.com (smtp1.tsgincorporated.com [67.66.242.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0567343D41 for ; Thu, 28 Oct 2004 15:44:24 +0000 (GMT) (envelope-from micheal@tsgincorporated.com) Received: from localhost (localhost.tsgincorporated.com [127.0.0.1]) by smtp1.tsgincorporated.com (Postfix) with ESMTP id 84DA93A73CE; Thu, 28 Oct 2004 10:44:23 -0500 (CDT) Received: from smtp1.tsgincorporated.com ([127.0.0.1])port 10024) with ESMTP id 69849-05; Thu, 28 Oct 2004 10:44:22 -0500 (CDT) Received: from smtp3.tsgincorporated.com (support.tsgincorporated.com [67.66.242.9]) by smtp1.tsgincorporated.com (Postfix) with ESMTP id 7CEA73A73BF; Thu, 28 Oct 2004 10:44:22 -0500 (CDT) Received: from micheal (micheal.tsgincorporated.com [67.66.242.77]) by smtp3.tsgincorporated.com (Postfix) with SMTP id 30CBD62896; Thu, 28 Oct 2004 10:44:22 -0500 (CDT) Message-ID: <086601c4bd04$ff014a50$4df24243@tsgincorporated.com> From: "Micheal Patterson" To: "nocturnal" , References: <418110EC.5060200@swehack.se> Date: Thu, 28 Oct 2004 10:44:19 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Scanned: by amavisd-new at tsgincorporated.com Subject: Re: sendmail just wont work 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: Thu, 28 Oct 2004 15:44:26 -0000 ----- Original Message ----- From: "nocturnal" To: Sent: Thursday, October 28, 2004 10:31 AM Subject: sendmail just wont work > Hi > > I don't think i'll be lying when i say that i've setup close to a > hundred FreeBSD servers(or 100 times) and the last one i setup was for a > dedicated server customer but it has me stumped cuz sendmail just wont > work on it, i used to get some localhost related errors in > /var/log/maillog which i did not save. > It did say something about Connection refused by localhost. In rc.conf i > have sendmail set to NONE since it's not a smtp server, only a webserver > and i have other webservers which have the sendmail option in rc.conf > set to NONE but on them people can use the php mail function just fine. > The issue is mainly that they want to use the mail() function in PHP but > i've also tried just sending mails from the command line with sendmail > and with the t argument but it never works. > > I don't know what else to say, if you need more info about the system > then ask me. It's FreeBSD 4.10 and here are some config files. > > /etc/hosts > ::1 localhost.polarfilm.com localhost > 127.0.0.1 localhost.polarfilm.com localhost > #213.80.36.150 web01.polarfilm.com web01 > #213.80.36.150 web01.polarfilm.com. > > --------------------------------------------------------- > /etc/rc.conf > defaultrouter="secret" > font8x14="iso15-8x14" > font8x16="iso15-8x16" > font8x8="iso15-8x8" > hostname="web01" > ifconfig_fxp0="inet secret netmask secret" > inetd_enable="NO" > kern_securelevel_enable="NO" > keymap="swedish.cp850" > nfs_reserved_port_only="YES" > scrnmap="iso-8859-1_to_cp437" > sendmail_enable="NONE" > sshd_enable="YES" > hostname="secret" > usbd_enable="NO" > moused_type="NO" > moused_enable="NO" > linux_enable="YES" > --------------------------------------------------------- > -- > > > > With kind regards > > Stefan > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" In your /etc/hosts.allow file add "sendmail: 127.0.0.1 : allow" and see if it helps. -- Micheal Patterson Senior Communications Systems Engineer 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.