LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Fedora 5. Can't connect to Sendmail or Dovecot outside internet network (https://www.linuxquestions.org/questions/linux-security-4/fedora-5-cant-connect-to-sendmail-or-dovecot-outside-internet-network-474168/)

impulse() 08-15-2006 04:24 PM

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,

w3bd3vil 08-15-2006 08:09 PM

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.

impulse() 08-16-2006 04:01 AM

That's brilliant mate.

Thanx for the advice.


All times are GMT -5. The time now is 12:46 PM.