Sendmail problem

Posted on 2005-05-01
Last Modified: 2010-03-18
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

Question by:syedasimmeesaq
    LVL 9

    Author Comment

    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.
    LVL 9

    Expert Comment

    by:David Piniella
    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...)
    LVL 14

    Expert Comment

    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
    LVL 9

    Author Comment

    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.
    LVL 1

    Expert Comment

    How bout

    service iptables stop

    Then try it??
    LVL 9

    Accepted Solution

    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.
    LVL 1

    Expert Comment

    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

    LVL 9

    Author Comment

    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now