From owner-freebsd-questions@FreeBSD.ORG Thu Oct 28 15:35:32 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 34DB316A4CE for ; Thu, 28 Oct 2004 15:35:32 +0000 (GMT) Received: from mail2.swebase.com (mail2.swebase.com [213.80.38.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F15343D45 for ; Thu, 28 Oct 2004 15:35:31 +0000 (GMT) (envelope-from nocturnal@swehack.se) Received: from 213.80.36.8 ([213.80.36.8]) (authenticated user nocturnal@swehack.se) by mail2.swebase.com (mail2.swebase.com [127.0.0.1]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 38-md50000000517.tmp for ; Thu, 28 Oct 2004 17:35:05 +0200 Message-ID: <418110EC.5060200@swehack.se> Date: Thu, 28 Oct 2004 17:31:56 +0200 From: nocturnal User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Processed: mail2.swebase.com, Thu, 28 Oct 2004 17:35:05 +0200 (not processed: message from valid local sender) X-MDRemoteIP: 213.80.36.8 X-Return-Path: nocturnal@swehack.se X-MDaemon-Deliver-To: freebsd-questions@freebsd.org Subject: 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:35:32 -0000 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