Results 1 to 6 of 6

Thread: [SOLVED] External mail and smtp timed out error - Ubuntu 8.04

  1. #1
    Join Date
    Mar 2009
    Location
    colachel
    Posts
    28
    Rep Power
    6

    Default [SOLVED] External mail and smtp timed out error - Ubuntu 8.04

    Hi

    I have installed the zcs-5.0.14 in ubuntu 8.04 server. Now I can able to send and receive mail locally. And I can able to send mail to external mail like gmail.com. But when ever I try to send mail from gmail.com to my domain I can't able to get a mail.

    Here I am pasting the /etc/hosts/, nsswitch.conf and dig result. Also I can able to connect the server using SMTP port from out side. Nmap result showing port is in filter state. Kindly help me regarding this issue. No firewall is installed in my system.

    ====================================
    root@rctjct:~# host `hostname`
    rctjct.in has address 122.166.40.27
    rctjct.in mail is handled by 10 smtp.rctjct.in.

    root@rctjct:~# cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    122.166.40.27 smtp.rctjct.in rctjct.in

    root@rctjct:~# cat /etc/nsswitch.conf
    # /etc/nsswitch.conf
    #
    # Example configuration of GNU Name Service Switch functionality.
    # If you have the `glibc-doc-reference' and `info' packages installed, try:
    # `info libc "Name Service Switch"' for information about this file.

    passwd: compat
    group: compat
    shadow: compat

    hosts: files dns mdns
    networks: files

    protocols: db files
    services: db files
    ethers: db files
    rpc: db files

    netgroup: nis

    root@rctjct:~# dig rctjct.in mx

    ; <<>> DiG 9.4.2 <<>> rctjct.in mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25702
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;rctjct.in. IN MX

    ;; ANSWER SECTION:
    rctjct.in. 79391 IN MX 10 smtp.rctjct.in.

    ;; AUTHORITY SECTION:
    rctjct.in. 76106 IN NS ns2.keltron.org.
    rctjct.in. 76106 IN NS ns1.keltron.org.

    ;; ADDITIONAL SECTION:
    ns2.keltron.org. 14972 IN A 59.145.111.67
    ns1.keltron.org. 14972 IN A 59.145.111.66

    ;; Query time: 59 msec
    ;; SERVER: 125.22.47.125#53(125.22.47.125)
    ;; WHEN: Fri Mar 27 12:12:49 2009
    ;; MSG SIZE rcvd: 127

    nmap -PN rctjct.in

    Starting Nmap 4.62 ( Nmap - Free Security Scanner For Network Exploration & Security Audits. ) at 2009-03-27 11:25 IST
    Interesting ports on ABTS-KK-Static-027.40.166.122.airtelbroadband.in (122.166.40.27):
    Not shown: 1686 closed ports
    PORT STATE SERVICE
    22/tcp filtered ssh
    25/tcp filtered smtp
    67/tcp filtered dhcps
    68/tcp filtered dhcpc
    80/tcp filtered http
    98/tcp filtered linuxconf
    102/tcp filtered iso-tsap
    110/tcp open pop3
    135/tcp filtered msrpc
    143/tcp open imap
    303/tcp filtered unknown
    389/tcp open ldap
    444/tcp filtered snpp
    465/tcp open smtps
    636/tcp filtered ldapssl
    728/tcp filtered unknown
    739/tcp filtered unknown
    890/tcp filtered unknown
    912/tcp filtered unknown
    972/tcp filtered unknown
    993/tcp open imaps
    995/tcp open pop3s
    1080/tcp filtered socks
    1241/tcp filtered nessus
    1723/tcp filtered pptp
    3128/tcp filtered squid-http
    5000/tcp filtered upnp
    6588/tcp filtered analogx
    6667/tcp filtered irc

    ================================================== =


    Awaiting for your response.

    Regards,
    Sahab

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Welcome to the forums

    I have just tried connecting to your IP on port 25 and it is not responding. If you connect locally does it return the SMTP banner okay ? If so, then it would appear that a firewall is blocking connections.

  3. #3
    Join Date
    Mar 2009
    Location
    colachel
    Posts
    28
    Rep Power
    6

    Smile

    Hi

    Thanks for your reply, I can able to connect smtp using locally but outside not connecting.

    root@rctjct:~# telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.localdomain.
    Escape character is '^]'.
    220 smtp.rctjct.in ESMTP Postfix


    Can you tell how can we open the port state filtered state to open. Here my smtp port in filtered state.

    25/tcp filtered smtp

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Your /etc/hosts file is incorrect, have a read of the documentation and correct it. Try connecting to your server on it's FQDN not an IP or localhost.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Have you disabled IPTables ?

  6. #6
    Join Date
    Mar 2009
    Location
    colachel
    Posts
    28
    Rep Power
    6

    Smile

    Hi All

    Thanks for all response. Our ISP block the smtp prort, Now they release the port and the issue has been resolved.

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. server dropped connection
    By ferra in forum Installation
    Replies: 20
    Last Post: 10-06-2008, 05:32 PM
  3. Issues...
    By timothyalangorman in forum Administrators
    Replies: 3
    Last Post: 11-19-2007, 10:43 AM
  4. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 08:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •