Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 6th, 2001, 12:22 AM
jobesd jobesd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: USA
Posts: 194 jobesd User rank is Corporal (100 - 500 Reputation Level)jobesd User rank is Corporal (100 - 500 Reputation Level)jobesd User rank is Corporal (100 - 500 Reputation Level)jobesd User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 6 h 24 m 18 sec
Reputation Power: 14
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.

Reply With Quote
  #2  
Old December 6th, 2001, 02:15 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #3  
Old December 6th, 2001, 01:22 PM
jobesd jobesd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: USA
Posts: 194 jobesd User rank is Corporal (100 - 500 Reputation Level)jobesd User rank is Corporal (100 - 500 Reputation Level)jobesd User rank is Corporal (100 - 500 Reputation Level)jobesd User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 6 h 24 m 18 sec
Reputation Power: 14
I scanned my box and port 25 is not open. How or where do I make the change for port 25

Thanks Jobesd

Reply With Quote
  #4  
Old December 6th, 2001, 08:47 PM
jobesd jobesd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: USA
Posts: 194 jobesd User rank is Corporal (100 - 500 Reputation Level)jobesd User rank is Corporal (100 - 500 Reputation Level)jobesd User rank is Corporal (100 - 500 Reputation Level)jobesd User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 6 h 24 m 18 sec
Reputation Power: 14
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > can't I receive or send mail except from the linux box

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap