You need to use imapsync to migrate mail and keep the original dates, do a search of the fourms and wiki for information on how to use imapsync.Originally Posted by rungsan
Hi all - I didn't want to make a new thread, so I resurrected this one.
I've got zimbra (4.5.5) running fine on Ubuntu Server 6.06lts, and I'm using fetchmail to aggregate my multiple mail accounts, setup through webmin.
My question is this, regarding the web interface: everything seems to be working properly, except Zimbra is reporting messages as being received when fetchmail polls the mail servers, not the original time the message was sent. Now, the original time the message was sent is still in the header, and it is listed in the reading pane "sent by" field. However, in the list of messages itself, in the "Received" field, the time and dates are shown as the time of fetchmail polling (in my case, every 15 minutes) and not the original send time.
Now the real oddity - I ran zimbra in a test setup under Ubuntu Desktop 6.10 for about a month and I didn't notice this happening. As a matter of fact, I'm fairly certain the list of messages was showing the original send date as found in the header.
Any ideas? I understand Zimbra's MTA is receiving the mail at the time fetchmail is polling - and hence that's when the message is actually "being received" by Zimbra - but I swear this wasn't the functionality in my test.
Last edited by javamon; 06-14-2007 at 07:31 AM.
Logic of fetchmail is taken care by zimbra, i guess cause in particular accounts preferences , there is way of combining internal and external acount, so it solves the purpose of fetchmail
Change the lower case to upper case and it will remove the emails from the remote server. A quick search for fetchmail, via any reputable engine, would have found that
if i say vi /opt/zimbra/conf/my_fetchrc i get, poll pop.gmail.com port 995 protocol POP3 plugin "openssl s_client -quiet -connect pop.gmail.com:995" user firstname.lastname@example.org password 'mypassword' smtpname email@example.com keep
i see that automatically a keep is put at the bottom, so i had tried to remove it and put a flush there but stil the emails keep remaining in my gmail account,
fetchmail -d 900 -F -v -f /opt/zimbra/conf/my_fetchrc is this the correct way of doing it? i need it to run as a Daemon underground after every 15 minutes but deleting the mails from my gmail account
Put it in the fetchrc file as I think that over writes the command line.
you know i have tried to use "flush" or "nokeep" via webmin, but still mesages are remaining in my gmail account, i think its a gmail problem, not the fetchmail script dont you think so?
Today, I found this thread. I'm downloaded 2 files config above
- The file zmfetchercfg.txt I changed to zmfetchercfg.conf and copy to /opt/zimbra/conf/
- The file my_fetchrc copy to /opt/zimbra/conf/
But when i run commandI saw an errorfetchmail -v -c -f /opt/zimbra/conf/my_fetchrc
fetchmail:/opt/zimbra/conf/my_fetchrc:1: syntax error at zmfetchercfg
What is wrong in my config. I'm running CentOS 64bit version 6 and Zimbra 8.0.4
Please help me. Thank you.
Last edited by trannghia86; 08-26-2013 at 03:12 AM.