|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
can't I receive or send mail except from the linux box
Redhat 7.2,
I have sendmail up and running 8.11.6-3. Anyway, If I am on the Linux box I can send mail. However, If I use a windoz box to send mail I get an error. The connection to the server has failed. Account: 'xxxx.linux-dude.com', Server: 'xxxx.linux-dude.com', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket Error: 10061, Error Number: 0x800CCC0E I also get this error when mail cannot be sent. Deferred: Connection refused by xxxx.linux-dude.com But I can receive mail that was sent from the linux box to itself using the windoz box. Also, if I send mail from any account like hotmail or yahoo the email dissapears. it never gets to the server. -------------------------------------- Sendmail config using webmin -------------------------------------- I have local domain set 'xxxx.linux-dude.com' trusted user myself outgoing domain 'xxxx.linux-dude.com' relay domain 'xxxx.linux-dude.com' alias myself. ---------------------------------------------------------------- my access file looks like this localhost.localdomain RELAY localhost RELAY 127.0.0.1 RELAY xx.93.xx.240 RELAY 192.168.1.100 RELAY 192.168.1.101 RELAY xxxx.linux-dude.com RELAY ------------------------------------------------------------------ Any ideas? Thanks in advance jobesd
__________________
I only do what the voices in my head keep telling me to do. |
|
#2
|
|||
|
|||
|
1) Make sure port 25 is accepting connection to everyone except some open relay hosts where you can deny them explicity or use RBL.
2) If your SMTP server is not SSL/TLS-aware, make sure you have disabled it in your email client >> If I am on the Linux box I can send mail For your Linux box to send outgoing messages to remote hosts, it doesn't even need to be running a SMTP server at all. Imagine you launch telnet and connect to port 25 and invoke SMTP commands manually, the other end doesn't care if you are running a SMTP server. >> But I can receive mail that was sent from the linux box to itself using the windoz box Port 25 doesn't take place at all. Checking your mail, say pop3, that's port 110, and it has nothing to do with port 25. Don't ask me how to configure Sendmail, because I don't know or care. Sendmail is on the top 5 of most insecure software list (BIND, Samba, webmin and wu-ftpd being the others). Redhat as well is not so secure. Running an out-of-date version (8.12.1 being the lastest) of Sendmail on Redhat makes it extremely insecure and potentially vulnerable to local and remote exploits at any time. Then who makes the most secure software? DJB-ware -> http://cr.yp.to/djb.html |
|
#3
|
|||
|
|||
|
I scanned my box and port 25 is not open. How or where do I make the change for port 25
Thanks Jobesd |
|
#4
|
|||
|
|||
|
Problem solved
sendmail.cf file coming with RH7.2 only listens on loopback interface. u can see that in netstat -an it looks like this tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN I Commented following option and restarted the sendmail daemon. O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA Then after restarting the daemon using netstat -an. the output changed to tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN My mail now works |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > can't I receive or send mail except from the linux box |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|