Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Mail offline with Fetchmail and Zimbra

  1. #1
    Join Date
    May 2008
    Posts
    24
    Rep Power
    7

    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!

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    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

  3. #3
    Join Date
    May 2008
    Posts
    24
    Rep Power
    7

    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?

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    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.

  5. #5
    Join Date
    May 2008
    Posts
    24
    Rep Power
    7

    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
    - - - - - - - - - - - - - - - - -

  6. #6
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    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 http://www.zimbra.com/forums/install...sp-domain.html.

  7. #7
    Join Date
    May 2008
    Posts
    24
    Rep Power
    7

    Default

    Do you have any nick chat? Can I contact to you throught that nick?
    Here is my yahoo nick: quangkhuong0725@yahoo.com

  8. #8
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Yes and No. Please post any questions you have to the forums as most of the mods have day jobs aswell

  9. #9
    Join Date
    May 2008
    Posts
    24
    Rep Power
    7

    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?

  10. #10
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    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.

Similar Threads

  1. Replies: 2
    Last Post: 10-04-2007, 04:20 PM
  2. Reliable Zimbra installation on Debian Etch?
    By holunde in forum Installation
    Replies: 7
    Last Post: 06-21-2007, 01:01 AM
  3. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 11:34 PM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. Seeming variety of problems on suse-9.1
    By Crexis in forum Installation
    Replies: 52
    Last Post: 03-04-2006, 12:19 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
  •