Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 2004 17:31:56 +0200
From:      nocturnal <nocturnal@swehack.se>
To:        freebsd-questions@freebsd.org
Subject:   sendmail just wont work
Message-ID:  <418110EC.5060200@swehack.se>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?418110EC.5060200>