Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 52

Thread: [SOLVED] Cant send mail-Pls help

  1. #11
    ask2me007 is offline Special Member
    Join Date
    Dec 2008
    Location
    India
    Posts
    110
    Rep Power
    6

    Default

    Quote Originally Posted by phoenix View Post
    No, I didn't say it was a failure it's only slightly wrong but just enough to cause a problem. Have a look at this article and see if you can find the files needed to make the changes I've mentioned.
    Thanks a lot Phoenix.I have changed th e configuration as per the article.The out put of nsllookup is

    root@pop:~# nslookup domain.com
    Server: 192.168.10.5
    Address: 192.168.10.5#53

    Non-authoritative answer:
    Name: ksfe.com
    Address: 10.10.10.3

    Whether this one is right?
    The tutorial says it will return the private address.But it returns both ipnumbers.

  2. #12
    ask2me007 is offline Special Member
    Join Date
    Dec 2008
    Location
    India
    Posts
    110
    Rep Power
    6

    Default

    I have tried again to send mail to outside domains.But it says in zimbra log as follows

    Jun 19 07:31:29 pop postfix/smtp[24763]: 6D8AB802318: to=<ask2me007@gmail.com>, relay=none, delay=0.2, delays=0.14/0.05/0.01/0, dsn=4.4.1, status=deferred (connect to 59.93.43.183[59.93.43.183]: Connection refused)
    Jun 19 07:31:29 pop postfix/smtp[24766]: 7BB8C802317: to=<ask2me007@gmail.com>, relay=none, delay=0.15, delays=0.09/0.04/0.01/0, dsn=4.4.1, status=deferred (connect to 59.93.43.183[59.93.43.183]: Connection refused)

  3. #13
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,480
    Rep Power
    56

    Default

    Quote Originally Posted by ask2me007 View Post
    The tutorial says it will return the private address.But it returns both ipnumbers.
    What is the IP address of your Zimbra server, is it this 192.168.10.5?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #14
    ask2me007 is offline Special Member
    Join Date
    Dec 2008
    Location
    India
    Posts
    110
    Rep Power
    6

    Default

    Quote Originally Posted by phoenix View Post
    What is the IP address of your Zimbra server, is it this 192.168.10.5?

    Internal IP is 192.168.10.5
    My external ip is 59.93.43.183 and we are in NAT.
    The ip of my router is 192.168.10.240

    Thanks again

  5. #15
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,480
    Rep Power
    56

    Default

    OK, it's my fauly I missed this one earlier. In your hosts file you only need the following two lines:

    Code:
    127.0.0.1 localhost.localdomain localhost
    192.168.10.5 pop.domain.com pop
    remove any other lines and try again. When you want to check your settings use the commands I gave you earlier.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #16
    ask2me007 is offline Special Member
    Join Date
    Dec 2008
    Location
    India
    Posts
    110
    Rep Power
    6

    Default

    Quote Originally Posted by phoenix View Post
    OK, it's my fauly I missed this one earlier. In your hosts file you only need the following two lines:

    Code:
    127.0.0.1 localhost.localdomain localhost
    192.168.10.5 pop.domain.com pop
    remove any other lines and try again. When you want to check your settings use the commands I gave you earlier.

    Its alright Phoneix
    I Restarted the machine.Started bind9 and seen the same error message

    Jun 19 13:26:05 pop amavis[6898]: (06898-01) FWD via SMTP: <ask@domain.com> -> <ksfebas@gmail.com>,BODY=7BIT 250 2.6.0 Ok, id=06898-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as B0911802315
    Jun 19 13:26:05 pop postfix/smtp[18845]: connect to 59.93.43.183[59.93.43.183]: Connection refused (port 25)

  7. #17
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    As Phoenix has said please post the following output again so we can check since changes have been made
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes

  8. #18
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,480
    Rep Power
    56

    Default

    Let's check that everything is working correctly. I don't know if Ubuntu installs another MTA but do you have any other mailserver running on your system? Run the following commands on your server:

    Code:
    su - zimbra
    zmcontrol status
    That should show all the services running, if the MTA isn't running then do this:

    Code:
    telnet localhost 25
    If you get a valid response from that then you have another MTA running and it needs to be stopped and disabled. If you need to stop it then restart Zimbra again and see if you can send email. If there's still the same problem then run these commands again and post the output:

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes
    Ubuntu also has Apparmor but I don't know if it's enabled by default, can you check and disable it if it's running and you should also make sure there's no firewall running on that server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #19
    ask2me007 is offline Special Member
    Join Date
    Dec 2008
    Location
    India
    Posts
    110
    Rep Power
    6

    Default

    Quote Originally Posted by uxbod View Post
    As Phoenix has said please post the following output again so we can check since changes have been made
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes


    zimbra@pop:/root$ cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    192.168.10.5 pop.domain.com pop
    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts


    zimbra@pop:/root$ cat /etc/resolv.conf
    // replace example.com with your domain name, and 192.168.0.1 with the address of your new DNS server.
    //search domain.com
    nameserver 192.168.10.5

    zimbra@pop:/root$ dig domain.com mx

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

    ;; QUESTION SECTION:
    ;domain.com. IN MX

    ;; ANSWER SECTION:
    domain.com. 1 IN MX 0 pop.domain.com.
    domain.com. 1 IN MX 10 pop.domain.com.

    ;; AUTHORITY SECTION:
    domain.com. 172028 IN NS ns2.cdit.org.
    domain.com. 172028 IN NS ns1.cdit.org.

    ;; ADDITIONAL SECTION:
    pop.domain.com. 1 IN A 59.93.43.183

    ;; Query time: 289 msec
    ;; SERVER: 192.168.10.5#53(192.168.10.5)
    ;; WHEN: Fri Jun 19 14:00:52 2009
    ;; MSG SIZE rcvd: 122



    zimbra@pop:/root$ dig domain.com any

    ; <<>> DiG 9.4.2 <<>> domain.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6479
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 3, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;domain.com. IN ANY

    ;; ANSWER SECTION:
    domain.com. 1 IN SOA ns3.cdit.org. hostmaster.cdit.org. 2002121945 10800 3600 604800 1
    domain.com. 1 IN A 200.00.00.83
    domain.com. 1 IN MX 0 pop.domain.com.
    domain.com. 1 IN MX 10 pop.domain.com.
    domain.com. 1 IN NS ns2.cdit.org.
    domain.com. 1 IN NS ns4.cdit.org.
    domain.com. 1 IN NS ns3.cdit.org.

    ;; AUTHORITY SECTION:
    domain.com. 1 IN NS ns4.cdit.org.
    domain.com. 1 IN NS ns2.cdit.org.
    domain.com. 1 IN NS ns3.cdit.org.

    ;; ADDITIONAL SECTION:
    pop.domain.com. 1 IN A 59.93.43.183
    ns2.cdit.org. 147 IN A 200.00.00.83

    ;; Query time: 331 msec
    ;; SERVER: 192.168.10.5#53(192.168.10.5)
    ;; WHEN: Fri Jun 19 14:03:43 2009
    ;; MSG SIZE rcvd: 261



    zimbra@pop:/root$ host `hostname`
    pop.domain.com has address 59.93.43.183

  10. #20
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Would you please post your named.conf and the actual zone data file please for your domain. I would guess you have put in your zone file your upstream DNS name server instead of your local one.

Page 2 of 6 FirstFirst 1234 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] mailbox and apache not running
    By rtwick in forum Administrators
    Replies: 4
    Last Post: 11-15-2008, 08:21 AM
  2. zmamavisdctl stopped and won't restart
    By alto in forum Installation
    Replies: 2
    Last Post: 04-18-2008, 12:41 AM
  3. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM
  4. Tomcat broken after upgrade to 4
    By dotslashroot in forum Migration
    Replies: 13
    Last Post: 01-31-2007, 06:05 PM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 04:55 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
  •