Sendmail problem

My sendmail doesn't seem to work. I know my internet is working and I have a connection as I am using the wireless card right now. What could be the problem.
One strange thing is that I tried connecting to the local host by
telnet and it says connection refused.
Why could be the problem?

I give this command at the prompt

(cat fileame) | sendmail

May be I need to change the sendmail configuration? How to do that if I really have to change the configuration.

when i run
#mail -v- q
I get this

Running /var/spool/mqueue/j3UGa8mk003842 (sequence 10 of 10)
<>... Deferred: Connection timed out with

Why is it doing Deffered ?
What does it means?
Any solutions

Who is Participating?
David PiniellaConnect With a Mentor Commented:
if it works w/ DSL and not Cable, that's not a firewall issue (iptables doesn't "know" the connection is different,) so stopping iptables won't really do anything.

Different behaviour with different ISPs points to it being a ports issue from your upstream provider.
syedasimmeesaqAuthor Commented:
Ok I figured it out. I checked it with DSL and it worked fine.  I was checking it with cable when it was not working. I still am interested in knowing what cause cable not to work and dsl to work. both have dchp.
David PiniellaCommented:
blocked ports on your ISPs end, possibly. Contact them and ask. I know some US Cable co's are blocking the mail ports (I think Cox did and am pretty sure Comcast does as well...)
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

check if in your /etc/mail/

dont have a line like this
O DaemonPortOptions=Port=smtp,Addr=, Name=MTA

if you habve this line modify to this

O DaemonPortOptions=Port=smtp, Name=MTA

and restart sendmail
syedasimmeesaqAuthor Commented:
I had that one opt out already.
:-) I am pulling my hair thinking about what is actually happening. Takes one connection but not the other one. Amazing ..ain't it.
How bout

service iptables stop

Then try it??
Just checking - been there many times with iptables...Permanant dent in forehead.

So, if you do netstat -anpt|grep LIST

is sendmail binding to your IP:24 or

syedasimmeesaqAuthor Commented:
No I called ISP and got the answer of blocked port. So you were right Mr. dpiniella

Thanks for reply to stephen and pablouruguay. I appreciate your comments

Thanks YOu
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.