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 07-21-2008, 12:28 AM
Intermediate Member
 
Posts: 24
Default Fetchmail & Zimbra

Hi all,
I am newbie of Zimbra mail system. From forum, I know that I have to use fetchmail to fecth all mail from catch all acount of ISP to our local mailserver (Zimbra). For detail:

Internet
Web: Ngân h*ng TMCP Đại T*n - Great Trust Joint Stock Commercial Bank (TrustBank)
mail: mail.trustbank.com.vn (from ISP and has catchall account)
account mail: name@trustbank.com.vn

Local
Zimbra server: trustbank.com.vn (domain)
acount mail: name@trustbank.com.vn

I want to fetch mail from catchall acount to my local acount (name@trustbank.com.vn)
Please tell me how to configure fetchmail and zimbra to do this!

Thanks!
Reply With Quote
  #2 (permalink)  
Old 07-21-2008, 12:44 AM
Moderator
 
Posts: 7,928
Default

From what I read you wish to use the same domain name on your local ZCS server, so for that you will need to setup a Split DNS - Zimbra :: Wiki installation if you are being a firewall or on a private LAN. If you could perform the following on your Zimbra server and post the information would help us
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig trustbank.com.vn mx
dig trustbank.com.vn any
host `hostname` <- type exactly as these are back ticks and not double quotes
__________________
Reply With Quote
  #3 (permalink)  
Old 07-21-2008, 02:12 AM
Intermediate Member
 
Posts: 24
Default

Thanks uxbod for your reply!
I have setup split DNS.Now from my local network, when i type:
Ngân h*ng TMCP Đại T*n - Great Trust Joint Stock Commercial Bank (TrustBank) --> web (internet)
http://mail.trustbank.com.vn --> Zimbra mail (local)

so, what i have to do next?
Reply With Quote
  #4 (permalink)  
Old 07-21-2008, 02:16 AM
Moderator
 
Posts: 7,928
Default

Post the information that I have asked for You need to ensure that your domain resolves locally so that when fetchmail injects the email into Postfix it will be able to deliver it locally.
__________________
Reply With Quote
  #5 (permalink)  
Old 07-21-2008, 02:48 AM
Intermediate Member
 
Posts: 24
Default

[root@mail ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1 localhost6.localdomain6 localhost6
127.0.0.1 localhost.localdomain localhost
- - - - - - - - - - - - - - - -

[root@mail ~]# cat /etc/resolv.conf
search trustbank.com.vn
nameserver 10.0.250.3
- - - - - - - - - - - - - - - -

[root@mail ~]# dig trustbank.com.vn mx

; <<>> DiG 9.3.3rc2 <<>> trustbank.com.vn mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13845
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

;; QUESTION SECTION:
;trustbank.com.vn. IN MX

;; ANSWER SECTION:
trustbank.com.vn. 14400 IN MX 10 mail.trustbank.com.vn.

;; AUTHORITY SECTION:
trustbank.com.vn. 14400 IN NS ns1.trustbank.com.vn.

;; ADDITIONAL SECTION:
mail.trustbank.com.vn. 14400 IN A 10.0.250.3
ns1.trustbank.com.vn. 14400 IN A 10.0.250.3

;; Query time: 18 msec
;; SERVER: 10.0.250.3#53(10.0.250.3)
;; WHEN: Mon Jul 21 16:42:39 2008
;; MSG SIZE rcvd: 105
- - - - - - - - - - - - - - - -

[root@mail ~]# dig trustbank.com.vn any

; <<>> DiG 9.3.3rc2 <<>> trustbank.com.vn any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53677
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;trustbank.com.vn. IN ANY

;; ANSWER SECTION:
trustbank.com.vn. 14400 IN SOA mail.trustbank.com.vn. root.trustbank.com.vn. 2007102001 14400 3600 1209600 86400
trustbank.com.vn. 14400 IN NS ns1.trustbank.com.vn.
trustbank.com.vn. 14400 IN MX 10 mail.trustbank.com.vn.
trustbank.com.vn. 14400 IN A 10.0.250.3

;; ADDITIONAL SECTION:
ns1.trustbank.com.vn. 14400 IN A 10.0.250.3
mail.trustbank.com.vn. 14400 IN A 10.0.250.3

;; Query time: 31 msec
;; SERVER: 10.0.250.3#53(10.0.250.3)
;; WHEN: Mon Jul 21 16:46:03 2008
;; MSG SIZE rcvd: 162
- - - - - - - - - - - - - - - -

[root@mail ~]# host mail.trustbank.com.vn
mail.trustbank.com.vn has address 10.0.250.3
- - - - - - - - - - - - - - - - -
Reply With Quote
  #6 (permalink)  
Old 07-21-2008, 02:51 AM
Moderator
 
Posts: 7,928
Default

You will also need to add the FQDN of your server to /etc/hosts aswell. Apart from that all looks good to give fetchmail a try

Some useful setup instructions in this Setup Email Server with ISP Domain.
__________________
Reply With Quote
  #7 (permalink)  
Old 07-21-2008, 03:07 AM
Intermediate Member
 
Posts: 24
Default

Do you have any nick chat? Can I contact to you throught that nick?
Here is my yahoo nick: quangkhuong0725@yahoo.com
Reply With Quote
  #8 (permalink)  
Old 07-21-2008, 03:09 AM
Moderator
 
Posts: 7,928
Default

Yes and No. Please post any questions you have to the forums as most of the mods have day jobs aswell
__________________
Reply With Quote
  #9 (permalink)  
Old 07-21-2008, 03:26 AM
Intermediate Member
 
Posts: 24
Default

I dont understand the process:
ISP --> fetchmail --> zimbra --> zimbra account

Example:
ISP: catchall@trustbank.com.vn
Zimbra : khuongdq@trustbank.com.vn (local)

how can zimbra getmail from fetchmail and distribute exactly to khuongdq@trustbank.com.vn?

can you explane in detail?
Reply With Quote
  #10 (permalink)  
Old 07-21-2008, 03:30 AM
Moderator
 
Posts: 7,928
Default

you could add a alias called catchall@trustbank.com.vn to your khuongdq@trustbank.com.vn account. If you wanted everything to go to the one account then just add aliases for the respective names.
__________________
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.