Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: Using Zimbra with Fetchmail - Problems!

  1. #11
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default Crontab

    Quote Originally Posted by Finn
    I've set-up crontab to do fetchmail every 5 minutes (crons.cron file in the root directory with 5 * * * * fetchmail -k on it and start with crontab crons.cron
    Somewhat offtopic, but I think that crontab entry will run 5 minutes after every hour, not every 5 minutes (which would be */5 * * * * ...)

  2. #12
    Linsys is offline Intermediate Member
    Join Date
    Sep 2005
    Location
    Johannesburg, South Africa
    Posts
    19
    Rep Power
    9

    Default

    Thanks you all for your help. It turned out that my /etc/fetchmailrc file had errors. It was originally generated by SuSE YaST. I created a new one from scratch and disabled DNS lookup in Zimbra and everything works fine.

  3. #13
    ljfrench is offline Junior Member
    Join Date
    Sep 2005
    Location
    Allentown, PA
    Posts
    6
    Rep Power
    9

    Default Finally got mine working

    Here's what I had to do in my fetchmailrc file to make it work:

    # .fetchmailrc file
    defaults proto pop3
    user "mailuser" is ssl user here
    poll mail.domain.com
    username user@domain.com password ******** is ssl user here
    smtpname user@localdomain
    ;

    I also have to execute "fetchmail -d time" as the user.

  4. #14
    wkearney99 is offline Junior Member
    Join Date
    Dec 2005
    Location
    Bethesda, MD USA
    Posts
    7
    Rep Power
    9

    Question using fetchmail for delivering to a sub-folder?

    I've used fetchmail for ages to pull mail from external pop and imap accounts. I'm using a uw-imap server and it's dmail program to push the message directly into a local user's folder. I call it from cron using a fetchmail config that contains:

    poll external.imap.server proto imap port 143
    user 'imapuser' with password 'somepass' is localuser here
    folders INBOX
    mda '/usr/local/bin/dmail %T+mail/Inbox-external'

    This logs in to the external server as a user named 'imapuser' and then pulls mail from a folder named INBOX on that server. It then pushes it into a folder called "Inbox-external" for the local user named 'localuser'. Works great. But it depends on the deliver tool and the c-client library to handle it.

    The destination folder is manually created ahead of time, so I'm not expecting fetchmail to create them automagically (but that'd sure be handy in a few cases...)

    I specifically DO NOT want to just dump all these messages into the local user's base-level "Inbox". I like having them each in their own folder, it makes it easier to keep tabs on where the message came from, independently of the other services.

    Is there an equivalent way to accomplish this with zimbra?

  5. #15
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default fetchmail and sorting

    You could, perhaps, fetch the mail locally, run it through a script to add a header (X-FETCHMAIL-MIGRATE, or whatever) then feed it into zimbra, with a filter rule to look for your custome header and file the mail away.

  6. #16
    wkearney99 is offline Junior Member
    Join Date
    Dec 2005
    Location
    Bethesda, MD USA
    Posts
    7
    Rep Power
    9

    Default

    Quote Originally Posted by marcmac
    You could, perhaps, fetch the mail locally, run it through a script to add a header (X-FETCHMAIL-MIGRATE, or whatever) then feed it into zimbra, with a filter rule to look for your custome header and file the mail away.
    Ugh, that's waaaay too much hassle. Having to write the fetchmail config and then also have to use the web interface to manually create the filter? As opposed to just using fetchmail to put it right where it belongs?

    It's not just the inbox on the remote servers either. There are a number of other folders on the remote server that I'm pulling from as well. Some of the remote accounts have their own filtering running and will have already moved messages out of the inbox into other destinations. If they're already in a desired place then it'd be a bit of a waste to have to set that up all over again in zimbra.

  7. #17
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default imap

    Quote Originally Posted by wkearney99
    Ugh, that's waaaay too much hassle. Having to write the fetchmail config and then also have to use the web interface to manually create the filter? As opposed to just using fetchmail to put it right where it belongs?

    It's not just the inbox on the remote servers either. There are a number of other folders on the remote server that I'm pulling from as well. Some of the remote accounts have their own filtering running and will have already moved messages out of the inbox into other destinations. If they're already in a desired place then it'd be a bit of a waste to have to set that up all over again in zimbra.
    You could deliver them with an IMAP client, but I have no idea how you'd integrate that with fetchmail.

  8. #18
    wkearney99 is offline Junior Member
    Join Date
    Dec 2005
    Location
    Bethesda, MD USA
    Posts
    7
    Rep Power
    9

    Default

    Quote Originally Posted by marcmac
    You could deliver them with an IMAP client, but I have no idea how you'd integrate that with fetchmail.
    There's the possibility of using something like imapsync to pull them instead of fetchmail. The downside being loss of other fetchmail features and a separation out from how POP is handled.

    I'm still left wondering, is there no utility for zimbra that parallels tools like dmail from uw-imap, or deliver from cyrus-imapd?

  9. #19
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Quote Originally Posted by wkearney99
    There's the possibility of using something like imapsync to pull them instead of fetchmail. The downside being loss of other fetchmail features and a separation out from how POP is handled.

    I'm still left wondering, is there no utility for zimbra that parallels tools like dmail from uw-imap, or deliver from cyrus-imapd?
    Yes imapsync would work. Your correct that we don't have dmail or deliver like tools. Zimbra's focus has been on enterprise email, and thus email aggregation which your after is not our current primary goal, since that in most cases is a personal or home user need. That said if someone gets dmail or deliver to work with Zimbra or creates a similar tool we'd take a look at integrating it.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  10. #20
    wkearney99 is offline Junior Member
    Join Date
    Dec 2005
    Location
    Bethesda, MD USA
    Posts
    7
    Rep Power
    9

    Default

    Quote Originally Posted by KevinH
    Zimbra's focus has been on enterprise email, and thus email aggregation which your after is not our current primary goal, since that in most cases is a personal or home user need.
    It seems a bit of a dodge to go claiming the situation is outside the realm of enterprise mail. Zimbra doesn't have the functionality, that's fine. But leave the marketing double-speak out of it.

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  2. Removing hostname from hosts file fixed prob.
    By lemur in forum Installation
    Replies: 10
    Last Post: 06-13-2007, 06:29 PM
  3. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10:34 PM
  4. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM
  5. Mail logs
    By Rick Baker in forum Installation
    Replies: 8
    Last Post: 01-17-2006, 04:33 PM

Posting Permissions

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