sendmail just wont work
nocturnal
nocturnal at swehack.se
Thu Oct 28 08:35:32 PDT 2004
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
More information about the freebsd-questions
mailing list