Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-03-2002, 02:59 PM   #1
Senior Member
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 14.04
Posts: 1,544

Rep: Reputation: 44

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
connection refused.

Which is no fun! Thanks to anyone who answers!

Old 04-03-2002, 06:00 PM   #2
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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 file

this line is the default... local only

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

you can either delete it or change the .mc file from
DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')
to this
dnl DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')
and rebuild
Old 04-03-2002, 06:02 PM   #3
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
hosts.allow will do nothing unless you also use hosts.deny


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
External Hosts Resolve but Local Hosts Do Not kjm9 Linux - Networking 7 11-19-2005 03:51 PM
hosts.allow & hosts.deny question... jonc Linux - Security 9 03-05-2005 09:41 PM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 03:52 PM
hosts.deny and hosts.allow defaults? gui10 Linux - Security 5 12-20-2001 01:57 AM
hosts.allow / hosts.deny fistz Linux - Newbie 1 04-19-2001 07:00 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration