Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Deferred Mail

  1. #1
    gorilly is offline Intermediate Member
    Join Date
    Mar 2008
    Posts
    16
    Rep Power
    7

    Default Deferred Mail

    Hi

    i have set up a test server (open source)

    Its all running ok but i'm having trouble sending and receiving mail - everything ends up in the deferred queue and the origin ip is 172.0.0.1

    Now im pretty sure i have my hosts file correct,
    it reads (this is exactly what it reads)
    172.0.0.1 localhost.localdomain localhost
    192.168.0.10 mail.gorillystestdomain.co.uk mail
    on my domain i have set an A record to point at my external ip of my zimbra server 90.X.X.X
    then i have set an MX record.

    can't see what im doing wrong!

    thanks

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

    Default

    As you are on a internal LAN have you follows this guide ? Split DNS - Zimbra :: Wiki

    Also, if you are still having problems please post the following :-

    Code:
    cat /etc/resolv.conf
    dig domain.com mx
    dig domain.com ns
    host `hostname` <-- note backticks
    
    * Note: replace domain.com with your own

  3. #3
    gorilly is offline Intermediate Member
    Join Date
    Mar 2008
    Posts
    16
    Rep Power
    7

    Default

    i will have a try with BIND.

    should zimbra really be in a DMZ then?

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

    Default

    Quote Originally Posted by gorilly View Post
    should zimbra really be in a DMZ then?
    that really depends on your security policy

  5. #5
    gorilly is offline Intermediate Member
    Join Date
    Mar 2008
    Posts
    16
    Rep Power
    7

    Default

    not the best idea then!

    ok so i have now installed and configured bind9 and ran dig

    root@mail:/home/cup# dig thepressurepoint.co.uk mx

    ; <<>> DiG 9.3.2 <<>> thepressurepoint.co.uk mx ;; global options: printcmd ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 9967 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;thepressurepoint.co.uk. IN MX

    ;; Query time: 22 msec
    ;; SERVER: 192.168.0.20#53(192.168.0.20) ;; WHEN: Tue Mar 25 11:53:58 2008 ;; MSG SIZE rcvd: 40

    root@mail:/home/cup# dig thepressurepoint.co.uk ns

    ; <<>> DiG 9.3.2 <<>> thepressurepoint.co.uk ns ;; global options: printcmd ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 55448 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;thepressurepoint.co.uk. IN NS

    ;; Query time: 1 msec
    ;; SERVER: 192.168.0.20#53(192.168.0.20) ;; WHEN: Tue Mar 25 11:54:15 2008 ;; MSG SIZE rcvd: 40





    if i run an mx lookup externally i get the ip external ip of my router / zimbra server.

    25 is fwd

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

    Default

    dig is not returning anything. what do you have in your /etc/resolv.conf ? it looks like from the dig you are pointing at :-

    Code:
    ;; SERVER: 192.168.0.20#53(192.168.0.20)
    so if you have installed BIND on your Zimbra server you need to update resolv.conf to point at 192.168.0.10 instead. This should then resolve the NS and MX correctly.

  7. #7
    gorilly is offline Intermediate Member
    Join Date
    Mar 2008
    Posts
    16
    Rep Power
    7

    Default

    hi sorry server is on 20 not 10 i made a typo earlier

    in resolv.conf i have

    search thepressurepoint.co.uk
    nameserver 192.168.0.20
    Last edited by gorilly; 03-25-2008 at 05:15 AM.

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

    Default

    something is wrong in your zone files then. what does /var/log/messages show when you start up BIND ?

  9. #9
    gorilly is offline Intermediate Member
    Join Date
    Mar 2008
    Posts
    16
    Rep Power
    7

    Default

    just looked (didnt know to look there)

    yes its not working correctly, i will try and fix it

    Mar 25 12:37:20 mail named[9427]: starting BIND 9.3.2 -u bind
    Mar 25 12:37:20 mail named[9427]: found 2 CPUs, using 2 worker threads
    Mar 25 12:37:20 mail named[9427]: loading configuration from '/etc/bind/named.conf'
    Mar 25 12:37:20 mail named[9427]: listening on IPv4 interface lo, 127.0.0.1#53
    Mar 25 12:37:20 mail named[9427]: listening on IPv4 interface eth0, 192.168.0.20#53
    Mar 25 12:37:20 mail named[9427]: command channel listening on 127.0.0.1#953
    Mar 25 12:37:20 mail named[9427]: command channel listening on ::1#953
    Mar 25 12:37:20 mail named[9427]: zone 0.in-addr.arpa/IN: loaded serial 1
    Mar 25 12:37:20 mail named[9427]: zone 127.in-addr.arpa/IN: loaded serial 1
    Mar 25 12:37:20 mail named[9427]: /etc/bind/zones/rev.0.168.192.in-addr.arpa:1: unknown RR type 'example.com'
    Mar 25 12:37:20 mail named[9427]: zone 0.168.192.in-addr.arpa/IN: loading master file /etc/bind/zones/rev.0.168.192.in-addr.arpa: unknown class/type
    Mar 25 12:37:20 mail named[9427]: zone 255.in-addr.arpa/IN: loaded serial 1
    Mar 25 12:37:20 mail named[9427]: zone localhost/IN: loaded serial 1
    Mar 25 12:37:20 mail named[9427]: zone thepressurepoint.co.uk/IN: loading master file /etc/bind/zones/example.com.db: file not found

  10. #10
    gorilly is offline Intermediate Member
    Join Date
    Mar 2008
    Posts
    16
    Rep Power
    7

    Default

    this is driving me nuts now

    ; <<>> DiG 9.3.2 <<>> thepressurepoint.co.uk mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65034
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;thepressurepoint.co.uk. IN MX

    ;; ANSWER SECTION:
    thepressurepoint.co.uk. 38400 IN MX 10 mail.thepressurepoint.co.uk.

    ;; AUTHORITY SECTION:
    thepressurepoint.co.uk. 38400 IN NS mail.thepressurepoint.co.uk.

    ;; Query time: 1 msec
    ;; SERVER: 192.168.0.20#53(192.168.0.20)
    ;; WHEN: Tue Mar 25 13:35:34 2008
    ;; MSG SIZE rcvd: 75

    root@mail:/home/cup# dig thepressurepoint.co.uk ns

    ; <<>> DiG 9.3.2 <<>> thepressurepoint.co.uk ns
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60664
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;thepressurepoint.co.uk. IN NS

    ;; ANSWER SECTION:
    thepressurepoint.co.uk. 38400 IN NS mail.thepressurepoint.co.uk.

    ;; Query time: 1 msec
    ;; SERVER: 192.168.0.20#53(192.168.0.20)
    ;; WHEN: Tue Mar 25 13:35:37 2008
    ;; MSG SIZE rcvd: 59
    any better?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 01:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 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. Issues...
    By timothyalangorman in forum Administrators
    Replies: 3
    Last Post: 11-19-2007, 10:43 AM
  5. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM

Posting Permissions

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