LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-15-2006, 04:24 PM   #1
impulse()
Member
 
Registered: May 2006
Posts: 38

Rep: Reputation: 15
Fedora 5. Can't connect to Sendmail or Dovecot outside internet network


My Sendmail & Dovecot sevices are running fine as I can telnet to them on the local machine. I have port forwarding setup properly as I have tested it on different ports. But when I come to telnet to port 25 or 110 from another connection it refuses the connection.
When I installed Fedora I disabled firewall so I don't think it's that. Is there something I have to alter in the /etc/hosts.allow file?

Regards,
 
Old 08-15-2006, 08:09 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
sendmail binds only for localhost, you need to change that.
Quote:
vi /etc/mail/sendmail.mc
search for the line which is making sendmail bind to 127.0.0.1 (in vi just do /127.0.0.1 ), you need to add dnl to that line and then update your sendmail conf file.
Quote:
m4 sendmail.mc > sendmail.cf
service sendmail restart
and in /etc/dovecot.conf, there is a line where it says the protocols you are serving, the line is hashed, remove the hash and restart dovecot.

Last edited by w3bd3vil; 08-15-2006 at 08:16 PM.
 
Old 08-16-2006, 04:01 AM   #3
impulse()
Member
 
Registered: May 2006
Posts: 38

Original Poster
Rep: Reputation: 15
That's brilliant mate.

Thanx for the advice.
 
  


Reply



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
Relationship: sendmail <=> dovecot hfreeman Linux - Software 4 03-04-2005 10:41 AM
dovecot , sendmail and fedora core 2 ScooterB Linux - Software 6 01-05-2005 11:38 AM
Connect to internet through network kiteguy101 Linux - Newbie 1 10-22-2004 04:10 PM
cant connect internet through fedora sankar_mb Linux - Newbie 5 04-10-2004 08:43 PM
how to connect to internet through network matt_w_lambert Linux - Networking 4 02-10-2004 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:27 AM.

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