sendmail just wont work

2004-10-28 Thread nocturnal
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail just wont work

2004-10-28 Thread Micheal Patterson


- Original Message - 
From: nocturnal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


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.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]