LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   etc/hosts.allow (https://www.linuxquestions.org/questions/linux-software-2/etc-hosts-allow-17622/)

Pedroski 04-03-2002 02:59 PM

etc/hosts.allow
 
Still having trouble with my email. Can anyone give me an example of the correct syntax for the above file.
I am dad@linux on my PC. Linux is the name in HOSTNAME.
Or is it better to set hosts.deny? They configure sendmail, right?
I can download email, but not send
On trying to send I get :
SMTP error
Command CONNECT
connection refused.

Which is no fun! Thanks to anyone who answers!

Peter

DavidPhillips 04-03-2002 06:00 PM

sounds like you are not configured to listen on the external interface, If this is sendmail then it defaults to local only and will need to have a line changed in the sendmail.cf file

this line is the default... local only

DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA

you can either delete it or change the .mc file from
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
to this
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
and rebuild sendmail.cf.

DavidPhillips 04-03-2002 06:02 PM

hosts.allow will do nothing unless you also use hosts.deny


All times are GMT -5. The time now is 03:36 AM.