Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-28-2009, 01:17 PM
Senior Member
 
Posts: 51
Default [SOLVED] non public dns

I'm using zimbra in a local server, non public : local.dyndns.org
It's configured to get mail from the public server and deliver internally.
I configured Externel Accounts and Canonical address.
Everything is wotking perfect, except AS/AV are not filtering the emails.
I try to use fecthmail, the probem is that fecthmail cannot deliver email to a non public server, allways have this message:
Host or domain name not found. Name service error
for name=local.dyndns.pt type=A: Host not found
My fetchmail configuration file is:
poll mail.domain.com
protp pop3
user "user1"
pass "pass1"
is userx@local.dyndns.org
nokeep
fetchall

The goal is to filter emails with AV/AS.
Can you tell me if there is a solution for that?
Reply With Quote
  #2 (permalink)  
Old 04-29-2009, 12:59 AM
Moderator
 
Posts: 7,911
Default

Bug 14047 – AntiSpam doesn't work with external POP3 Account

Though there is no reason why you cannot do what you want using fetchmail; you just need to ensure you have a valid MX and A record for your domain by using a Wiki :: Split DNS architecture.
__________________
Reply With Quote
  #3 (permalink)  
Old 04-29-2009, 01:44 AM
Senior Member
 
Posts: 51
Default

I am using a split DNS and everything works fine except for fetchmail. I can use outlook and thunderbird internally and access webmail from outside. I don't know why but seems that fecthmail does not look for the local DNS.
Maybe it go trough default gateway, and since local.dyndns.org is not an MX public name it does not find it.
Reply With Quote
  #4 (permalink)  
Old 04-29-2009, 01:55 AM
Senior Member
 
Posts: 51
Default

One more thing. If I send an email from the command line in the Zimbra zerver, like this
#mail userx@local.dyndns.org

I can receive the email.
It seems that fecthmail works in a different way.
Reply With Quote
  #5 (permalink)  
Old 04-29-2009, 02:10 AM
Moderator
 
Posts: 7,911
Default

fetchmail just pushes the email into your local SMTP server. You say local.dyndns.org yet in the error message it says
Quote:
local.dyndns.pt type=A: Host not found
so is that another domain you handle ? If so then that should have a MX and associated A record aswell.
__________________
Reply With Quote
  #6 (permalink)  
Old 04-29-2009, 04:52 AM
Senior Member
 
Posts: 51
Default

Sorry, I type it incorrectly. The correct is local.dyndns.org type=A: Host not found

From a PC I can browse http://local.dyndns.org
Reply With Quote
  #7 (permalink)  
Old 04-29-2009, 04:57 AM
Moderator
 
Posts: 7,911
Default

Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
__________________
Reply With Quote
  #8 (permalink)  
Old 04-29-2009, 08:52 AM
Senior Member
 
Posts: 51
Default

cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.5.200 local.dyndns.org local zonalogic2
::1 localhost6.localdomain6 localhost6
127.0.0.1 localhost.localdomain localhost zonalogic2


cat /etc/resolv.conf
nameserver 192.168.5.200

dig local.dyndns.org mx

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

;; QUESTION SECTION:
;local.dyndns.org. IN MX

;; ANSWER SECTION:
local.dyndns.org. 86400 IN MX 10 local.dyndns.org.

;; AUTHORITY SECTION:
local.dyndns.org. 86400 IN NS 192.168.5.200.local.dyndns.org.

;; ADDITIONAL SECTION:
local.dyndns.org. 86400 IN A 192.168.5.200

;; Query time: 12 msec
;; SERVER: 192.168.5.200#53(192.168.5.200)
;; WHEN: Wed Apr 29 15:45:27 2009
;; MSG SIZE rcvd: 97



dig local.dyndns.org any

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

;; QUESTION SECTION:
;local.dyndns.org. IN ANY

;; ANSWER SECTION:
local.dyndns.org. 86400 IN SOA local.dyndns.org. ferra.local.dyndns.org. 1 7200 3600 604800 86400
local.dyndns.org. 86400 IN NS 192.168.5.200.local.dyndns.org.
local.dyndns.org. 86400 IN MX 10 local.dyndns.org.
local.dyndns.org. 86400 IN A 192.168.5.200

;; ADDITIONAL SECTION:
local.dyndns.org. 86400 IN A 192.168.5.200

;; Query time: 0 msec
;; SERVER: 192.168.5.200#53(192.168.5.200)
;; WHEN: Wed Apr 29 15:47:54 2009
;; MSG SIZE rcvd: 155


host `hostname`
local.dyndns.org has address 192.168.5.200
local.dyndns.org mail is handled by 10 local.dyndns.org.
Reply With Quote
  #9 (permalink)  
Old 04-29-2009, 09:28 AM
Moderator
 
Posts: 7,911
Default

Why is the FQDN of your server eg. local.dyndns.org the domain aswell ? Your hosts file is incorrect aswell as it should be
Code:
192.168.5.200 local.dyndns.org
::1 localhost6.localdomain6 localhost6
127.0.0.1 localhost.localdomain localhost
as you have put in a short name of local which according to your dig forms part of the domain name local.dyndns.org
__________________
Reply With Quote
  #10 (permalink)  
Old 04-29-2009, 09:49 AM
Senior Member
 
Posts: 51
Default

I have changed hosts:

cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.5.200 local.dyndns.org
::1 localhost6.localdomain6 localhost6
127.0.0.1 localhost.localdomain localhost

but still the same problem.

Should I need to configure FQDN of server different from the domain?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.