Koozali.org: home of the SME Server

Feitchmail strange behavior

asgeir

Feitchmail strange behavior
« on: October 28, 2006, 09:54:34 PM »
Hi!

I am trying to sync two imap servers so that i can change over from an external service to our own SME server. However, i'm getting some rather strange results for some of my users.

When downloading mail via fetchmail from the external to the internal server some users get their messages altered.

It looks like it could be related to MIME or something but i am having trouble pinpointing what's wrong.

Because of some earlier problems i've set the MX in the DNS locally to point at the external server, but i cant see this as a problem.

The problem is as follows. Fetchmail starts to download messages, all looks well and is well for the first 100 messages. Then there is a message containing an attachment, a Excel spreadsheet, let's name it Spreadsheet.xls. This message gets rather screwed up, and then, most of the messages after that one are altered to contain the following, and only this, as text:

Content-Type: application/msword;
name="Spreadsheet.xls"
Content-Disposition: inline;
filename="Spreadsheet.xls"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Mailer: MIME-tools 5.419 (Entity 5.419)

Even if the message is ok, all of the following messages have the same attachment Spreadsheet.xls.

Anyone got any ideas?

Asgeir

asgeir

Some revelations but no solution
« Reply #1 on: October 29, 2006, 02:49:00 AM »
When looking more into the problem, it seems to have something to do with ms-tnef. There seems to be something fishy about this plugin for qpsmtp. When turned off, the problem was gone, but the attachment is now a file called WINMAIL.DAT.

Not many attachments in this encoding, so i'll leave it turned off.

Offline jonic

  • *
  • 103
  • +1/-0
Feitchmail strange behavior
« Reply #2 on: October 29, 2006, 11:30:02 AM »
You could use IMAPcopy to synchronize your servers (http://home.arcor.de/armin.diehl/imapcopy/imapcopy.html).
I've never used it but I read on this forum that it gets the job done.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Feitchmail strange behavior
« Reply #3 on: October 29, 2006, 03:35:03 PM »
Quote from: "jonic"
You could use IMAPcopy to synchronize your servers (http://home.arcor.de/armin.diehl/imapcopy/imapcopy.html).
I've never used it but I read on this forum that it gets the job done.


You can use any IMAP client program to move messages from one IMAP server to another.

Offline jonic

  • *
  • 103
  • +1/-0
Feitchmail strange behavior
« Reply #4 on: October 29, 2006, 04:04:28 PM »
Quote from: "CharlieBrady"


You can use any IMAP client program to move messages from one IMAP server to another.


You are correct of course, but I think IMAPcopy would be far more easier to setup for a large number of email accounts.