Problème de winmail.dat Watchguard

Xavier Mustin

Administrator
Staff member
#1
Les attachements arrive en Winmail.dat , lié à une ancienne version de Mime avec certains serveurs pour contourner ce problème , voici la solution

Why do email attachments sent through the SMTP proxy appear as Winmail.dat attachments? [Fireware XTM v11.x, Fireware 10.x]
Date Updated
02/03/2010 04:56 PM
Applies to — Fireware XTM v11.x, Fireware 10.x
This may occur when the SMTP proxy on the Firebox strips some of the headers out of the email. If the email client does not have the header information needed to interpret the attachment, the email client incorrectly displays the attachment as a winmail.dat file. To correct this issue, you must add three headers to the SMTP proxy on the Firebox:
  1. Start policy manager for the Firebox or WatchGuard XTM device.
  2. Double click on the SMTP proxy used for inbound email or right click the SMTP proxy policy and select Modify Policy.
  3. Click the Properties tab.
  4. Click the View/Edit Proxy icon next to the proxy action drop-down list.
  5. In the Categories tree, select Headers.
  6. Add these three patterns to the Rules list, and set the If matched action to Allow.
X-MS-Has-Attach:*
X-MS-TNEF-Correlator:*
X-MimeOLE:*
By default, these mime types are not listed in the Headers section of the SMTP proxy. The SMTP proxy strips any headers not listed in the headers list. After you add these headers, the SMTP proxy does not strip them, and the email client can correctly interpret the attachment.
 

Xavier Mustin

Administrator
Staff member
#2
Watchguard Firewall and Winmail.dat attachments
BY ADMIN, ON OCTOBER 18TH, 2013
This is technically a re-port from Watchguards Site, but since it doesn’t come up all the time in searching I decided to add it here.

If you implement the SMTP proxy and the senders outside for whatever reason use RTF for their emails and include an attachment, you don’t get the complete email.

You can have the sender restore their settings to default (HTML) or do plain text and it will work, or you can modify the proxy on your end:

  1. Start Policy Manager for your XTM device.
  2. Double-click the SMTP-Proxy used for inbound email.
    Or, right-click the SMTP-proxy and select Modify Policy.
    The New/Edit Policy dialog box appears with the Policy tab selected.
  3. Adjacent to the Proxy action drop-down list, click View/Edit Proxy.
    The SMTP Proxy Action Configuration dialog box appears.
  4. From the Categories tree, select Headers.
  5. In the Pattern text box, type each of these patterns and click Add to add them to the Rules list.
    • X-MS-Has-Attach:*
    • X-MS-TNEF-Correlator:*
    • X-MimeOLE:*
  6. From the If matched drop-down list, select Allow.
  7. From the Categories tree, select Content Types.
  8. In the Pattern text box, type application/ms-tnef and click Add.
    The pattern appears in the Rules list.
  9. From the If matched drop-down list, select Allow.
  10. From the Categories tree, select Filenames.
  11. In the Pattern text box, type winmail.dat and click Remove.
    The winmail.dat pattern is removed from the Rules list.
  12. From the None matched drop-down list, select Allow.
 
Haut