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

Thread: [SOLVED] Local delivery used Split DNS, localhost problems

  1. #1
    vargadanis is offline Active Member
    Join Date
    Mar 2007
    Posts
    33
    Rep Power
    8

    Default [SOLVED] Local delivery used Split DNS, localhost problems

    Hi!

    I have a fresh install on my computer. I used Split DNS and set up a nonexistent domain name. It works fine. I can connect to the server and so on. The only problem is that I get errors when trying to send emails to the local domain.
    The error message is:
    lost connection with 127.0.0.1 while recieving initial server greetings
    What is this? I suppose it is a postfix error, right?
    The unique about this install is that it is Ubuntu8.04 with a custom patched kernel (version 2.6.22-vs2.2.0.7). I patched it for use with Linux-Vserver. The vserver runs Hoary as well.

    Thanx a lot in advance

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    The usual questions, what do the following commands show:

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    host `hostname`  <-- type that command and use backticks not single quotes
    dig yourdomain.com any
    dig yourdomain.com mx
    and post the output. How much RAM is on this Zimbra server?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    vargadanis is offline Active Member
    Join Date
    Mar 2007
    Posts
    33
    Rep Power
    8

    Default

    Hi!

    I didn't know it was important in this case, bere here you go:

    root@dreamact:~# cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    192.168.1.10 mail.dreamact.hu mail dreamact.hu
    root@dreamact:~# cat /etc/resolv.conf
    ### BEGIN INFO
    #
    # Modified_by: NetworkManager
    # Process: /usr/bin/NetworkManager
    # Process_id: 4689
    #
    ### END INFO

    search dreamact.hu
    #search mail.danis.myip.hu

    nameserver 192.168.1.10
    #nameserver 213.46.246.53
    #nameserver 192.168.1.1
    root@dreamact:~# host `hostname`
    dreamact.hu has address 192.168.1.10
    dreamact.hu mail is handled by 10 mail.dreamact.hu.
    root@dreamact:~# dig dreamact.hu any

    ; <<>> DiG 9.4.2 <<>> dreamact.hu any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49155
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;dreamact.hu. IN ANY

    ;; ANSWER SECTION:
    dreamact.hu. 604800 IN SOA dreamact.hu. admin.dreamact.hu. 2008072504 604800 86400 2419200 604800
    dreamact.hu. 604800 IN NS ns1.dreamact.hu.
    dreamact.hu. 604800 IN MX 10 mail.dreamact.hu.
    dreamact.hu. 604800 IN A 192.168.1.10

    ;; ADDITIONAL SECTION:
    mail.dreamact.hu. 604800 IN A 192.168.1.10

    ;; Query time: 1 msec
    ;; SERVER: 192.168.1.10#53(192.168.1.10)
    ;; WHEN: Fri Jul 25 12:22:52 2008
    ;; MSG SIZE rcvd: 142
    root@dreamact:~# dig dreamact.hu mx

    ; <<>> DiG 9.4.2 <<>> dreamact.hu mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1298
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;dreamact.hu. IN MX

    ;; ANSWER SECTION:
    dreamact.hu. 604800 IN MX 10 mail.dreamact.hu.

    ;; AUTHORITY SECTION:
    dreamact.hu. 604800 IN NS ns1.dreamact.hu.

    ;; ADDITIONAL SECTION:
    mail.dreamact.hu. 604800 IN A 192.168.1.10

    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.10#53(192.168.1.10)
    ;; WHEN: Fri Jul 25 12:22:53 2008
    ;; MSG SIZE rcvd: 84

    root@dreamact:~#
    I hope these infos can help you

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Apart from this line:

    Code:
    192.168.1.10 mail.dreamact.hu mail dreamact.hu
    which should read this:
    Code:
    192.168.1.10 mail.dreamact.hu mail
    the configuration seems OK.

    How much RAM is on this server? Are there any other errors in the log files? Do you get this message all the time? It's only for sending local mail that you see this message, sending external mail works OK?

    [edit]
    Sorry, I forgot to ask if you could post the exact error message you're getting.
    Last edited by phoenix; 07-25-2008 at 05:44 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    vargadanis is offline Active Member
    Join Date
    Mar 2007
    Posts
    33
    Rep Power
    8

    Default

    Hi!

    The server has more than enough ram. I use only 50% of it as of now. 2GB..
    I cannot send mails to outer domains as the domain I testing the install against is not registered. Yet local delivery should still work, shouldn't it?

    That was an attempt to send mail:
    Jul 25 12:15:13 dreamact postfix/qmgr[19049]: 377C838C3D1: from=, size=723, nrcpt=1 (queue active)
    Jul 25 12:15:13 dreamact postfix/qmgr[19049]: 20D2638C3CD: from=, size=717, nrcpt=1 (queue active)
    Jul 25 12:15:13 dreamact amavis[18474]: (!)DENIED ACCESS from IP 192.168.1.10, policy bank ''
    Jul 25 12:15:13 dreamact amavis[18484]: (!)DENIED ACCESS from IP 192.168.1.10, policy bank ''
    Jul 25 12:15:13 dreamact postfix/smtp[25258]: 20D2638C3CD: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=2286, delays=2286/0.04/0.12/0, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
    Jul 25 12:15:13 dreamact postfix/smtp[25257]: 377C838C3D1: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=2508, delays=2507/0.01/0.24/0, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
    [edit]
    When I do telnet 127.0.0.1 25 I get response from the SMTP server...
    Last edited by vargadanis; 07-25-2008 at 05:55 AM.

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by vargadanis View Post
    ul 25 12:15:13 dreamact amavis[18484]: (!)DENIED ACCESS from IP 192.168.1.10, policy bank ''.
    This is likely to be the cause of your problem. I don't know much about Ubuntu but what's causing that error - firewall or SElinux?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    vargadanis is offline Active Member
    Join Date
    Mar 2007
    Posts
    33
    Rep Power
    8

    Default

    I don't have either. I have no SELinux and no firewall...

  8. #8
    y@w's Avatar
    y@w
    y@w is offline Moderator
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    Ubuntu 8.04 comes with apparmor out of the box. There's a good chance that's causing an issue. Try disabling that.

    Code:
    /etc/init.d/apparmor stop

  9. #9
    vargadanis is offline Active Member
    Join Date
    Mar 2007
    Posts
    33
    Rep Power
    8

    Default

    Thanx for the tip but I don't have that installed either. I have a minimalistic ubuntu env. Zimbra in itself was bigger than the used env all together.

    [Edit]
    root@dreamact:/opt/zimbra/log# dpkg -l | grep appar
    root@dreamact:/opt/zimbra/log#

  10. #10
    y@w's Avatar
    y@w
    y@w is offline Moderator
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    Hmm ok. Anything in /var/log/messages?

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. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. Self-Signed SSL Certificate Causing Crash
    By VxJasonxV in forum Administrators
    Replies: 1
    Last Post: 12-06-2007, 01:24 PM
  3. Why is Tomcat shuting down ever nights?
    By trapanator in forum Administrators
    Replies: 2
    Last Post: 11-30-2006, 11:57 PM
  4. fetchmail: SMTP< 250 Ok: queued as
    By daly1 in forum Installation
    Replies: 4
    Last Post: 08-04-2006, 04:23 AM
  5. emails don't show up in inbox in browser
    By pstelzer in forum Installation
    Replies: 10
    Last Post: 12-13-2005, 10:21 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
  •