Community Discussions and Support
Word docx attachment not able to opne by receivers

That's simple [:)]

Pegasus uses FILETYPE.PM by finding first match. So - cut the line with ZIP and paste it at the end of the entries.

Bye    Olaf

 

<p>That's simple [:)]</p><p>Pegasus uses FILETYPE.PM by finding first match. So - cut the line with ZIP and paste it at the end of the entries. </p><p>Bye    Olaf</p><p> </p>

Hello,

I repeatedley encountered an attachment problem: If sending a word.docx or powerpoint pptx file, it is flagged as zip file by Pegasus, at least if it cointains pictures. I can click on it in Pegasus and open it properly in Word, but other mail clients used by the receivers of my files obviously are not able to do so. Is it possbile that Pegasus send this file unzipped or does not flag it as zip file? If saving the same file as older. doc or .ppt. format, there is no problem. It is a little bit annoying to use two different file endings when working with Word or Powerpoint files.

 

Thanks for any help or suggestions.

<p>Hello,</p><p>I repeatedley encountered an attachment problem: If sending a word.docx or powerpoint pptx file, it is flagged as zip file by Pegasus, at least if it cointains pictures. I can click on it in Pegasus and open it properly in Word, but other mail clients used by the receivers of my files obviously are not able to do so. Is it possbile that Pegasus send this file unzipped or does not flag it as zip file? If saving the same file as older. doc or .ppt. format, there is no problem. It is a little bit annoying to use two different file endings when working with Word or Powerpoint files. </p><p> </p><p>Thanks for any help or suggestions. </p>

Quoted from the Pegasus Mail manual:

FILETYPE.PM -  Pegasus Mail uses this file to work out what attachment type it should associate with a given file. It is used when "Mailer decides" is chosen as the attachment type in the Attachments view of the Message editor. Having a well-stocked FILETYPE.PM file means that your messages are more likely to be sent with the information necessary to allow other programs to associate file viewers with them.  Instructions are contained within the file which is a plain text file.

MIME-MAP.PM - Pegasus Mail uses this file to translate custom MIME content types into attachment types. New MIME content types are being added all the time, and using this file allows Pegasus Mail both to generate them in outgoing mail and to recognize them in incoming mail. For example, say someone sends you a MIME message with the content type "Application/MyWordProcessor", and you have an entry that says that "Appli-
cation/MyWordProcessor" is the same as "MS-Word", then Pegasus Mail will be able to work out that it can run MS-Word to view the document.


Example by self:

Adding the following lines to FILETYPE.PM will identify the file type of .docx files as "MS-DOCX" and .xslm files as "MS-XLSX".

MS-DOCX,0,X,0,.DOCX
MS-XLSX,0,X,0,.XLSX

Taking this a step further, adding the following lines to MIME-MAP.PM will identify the file type in the Pegasus Mail reader Attachments tab as "Microsoft Office  Word Document" and" Microsoft Office Excel Spreadsheet".

application/vnd.openxmlformats-officedocument.wordprocessingml.document = MS-DOCX
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = MS-XLSX

NOTE:   "MS-DOCX" and "MS-XLSX" _MUST_  be the same text as the corresponding <file type>  entry in FILETYPE.PM

Disclaimer:  I am currently trying to diagnose oddities with the behavior of mime-map.pm & filetyp.pm entries in two PMail installs and Win7 and Win10 OSes.  Please report back if this works for you and on what OS.

&lt;p&gt;Quoted from the Pegasus Mail manual: &lt;i&gt; FILETYPE.PM -&amp;nbsp; Pegasus Mail uses this file to work out what attachment type it should associate with a given file. It is used when &quot;Mailer decides&quot; is chosen as the attachment type in the Attachments view of the Message editor. Having a well-stocked FILETYPE.PM file means that your messages are more likely to be sent with the information necessary to allow other programs to associate file viewers with them.&amp;nbsp; Instructions are contained within the file which is a plain text file. MIME-MAP.PM - Pegasus Mail uses this file to translate custom MIME content types into attachment types. New MIME content types are being added all the time, and using this file allows Pegasus Mail both to generate them in outgoing mail and to recognize them in incoming mail. For example, say someone sends you a MIME message with the content type &quot;Application/MyWordProcessor&quot;, and you have an entry that says that &quot;Appli- cation/MyWordProcessor&quot; is the same as &quot;MS-Word&quot;, then Pegasus Mail will be able to work out that it can run MS-Word to view the document.&lt;/i&gt; Example by self: Adding the following lines to FILETYPE.PM will identify the file type of .docx files as &quot;MS-DOCX&quot; and .xslm files as &quot;MS-XLSX&quot;. MS-DOCX,0,X,0,.DOCX MS-XLSX,0,X,0,.XLSX Taking this a step further, adding the following lines to MIME-MAP.PM will identify the file type in the Pegasus Mail reader Attachments tab as &quot;Microsoft Office&amp;nbsp; Word Document&quot; and&quot; Microsoft Office Excel Spreadsheet&quot;. application/vnd.openxmlformats-officedocument.wordprocessingml.document = MS-DOCX application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = MS-XLSX NOTE:&amp;nbsp;&amp;nbsp; &quot;MS-DOCX&quot; and &quot;MS-XLSX&quot; _MUST_&amp;nbsp; be the same text as the corresponding &amp;lt;file type&amp;gt;&amp;nbsp; entry in FILETYPE.PM&lt;/p&gt;&lt;p&gt;Disclaimer:&amp;nbsp; I am currently trying to diagnose oddities with the behavior of mime-map.pm &amp;amp; filetyp.pm entries in two PMail installs and Win7 and Win10 OSes.&amp;nbsp; Please report back if this works for you and on what OS. &lt;/p&gt;

As noted by the original poster, filetype .DOCX etc are in fact standard Zip files, that can be viewed by any zip file content lister.  These DOCX et al, files are simply collections of related files, like text, images, and most dangerously is capability to embed macros. Microsoft introduced a security settings feature to prompt users when macros are detected by MS Office products.

Pegasus Mail is detecting the file product header with the following entry in Filetype.pm:

;      ZIP-Archive,0,X,0,.ZIP,S,0,PK\003
;         - Returns "ZIP-Archive" if the file's extension is ".ZIP"
;           OR the first three characters are "PK" and an ASCII 3.h   << This is what causes DOCX files to be labelled as zips

In addition, for those people employing the Pegasus Mail extension, Virscan, an  AV scan will be forced on these DOCX type files 

Martin

&lt;p&gt;As noted by the original poster, filetype .DOCX etc are in fact standard Zip files, that can be viewed by any zip file content lister.&amp;nbsp; These DOCX et al, files are simply collections of related files, like text, images, and most dangerously is capability to embed macros. Microsoft introduced a security settings feature to prompt users when macros are detected by MS Office products.&lt;/p&gt;&lt;p&gt;Pegasus Mail is detecting the file product header with the following entry in Filetype.pm:&lt;/p&gt;&lt;p&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ZIP-Archive,0,X,0,.ZIP,S,0,PK\003 ;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Returns &quot;ZIP-Archive&quot; if the file&#039;s extension is &quot;.ZIP&quot; ;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OR the first three characters are &quot;PK&quot; and an ASCII 3.h&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt; This is what causes DOCX files to be labelled as zips&lt;/p&gt;&lt;p&gt;In addition, for those people employing the Pegasus Mail extension, Virscan, an&amp;nbsp; AV scan will be forced on these DOCX type files&amp;nbsp; &lt;/p&gt;&lt;p&gt;Martin &lt;/p&gt;

Thank you very much for your help.

 

&lt;p&gt;Thank you very much for your help.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

After some time I still have reports from some of my email recipients still not being able to open my docx files. My mime-map files now reads

Text/HTML = HTML-text
application/vnd.openxmlformats-officedocument.wordprocessingml.document = MS-DOCX
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = MS-XLSX
application/vnd.openxmlformats-officedocument.presentationml.sheet = MS-PPTX
application/pdf = PDF-DOC

and my filetype

OpenOffice-Document,0,X,0,.ODT
MS-Word,1,S,0,\219\165\045
PCEXE,1,X,0,.EXE,S,0,MZ
PCEXE,1,X,0,.DLL,S,0,MZ
ZIP-archive,0,X,0,.ZIP,S,0,PK\003
MS-Richtext,0,X,0,.RTF,S,0,{\092rtf
Program-source,0,X,0,.C,X,0,.H,X,0,.PAS,X,0,.RC,X,0,.CPP,X,0,.BAS,X,0,.ASM
GIF-image,0,X,0,.GIF,S,0,GIF
JPEG-image,0,X,0,.JPG,S,6,JFIF
BMP-image,0,X,0,.BMP,X,0,.DIB,S,0,BM
WAV-sound-file,1,S,0,RIFF,S,8,WAVE
WAV-sound-file,0,X,0,.WAV
WordPerfect,0,S,1,WPC
Excel-sheet,0,X,0,.XLS
Excel-chart,0,X,0,.XLC
MS-Access,0,X,0,.MDB
AVI-Movie,1,S,0,RIFF,S,8,AVI
AVI-Movie,0,X,0,.AVI
Windows-help,1,X,0,.HLP,S,0,?_\003
HTML-text,0,X,0,.HTM
HTML-text,1,S,0,<HTML>
PGP-Public-Key,0,R,0,BEGIN PGP PUBLIC
PGP-encrypted,0,X,0,.PGP
Text,0,X,0,.TXT
MS-DOCX,0,X,0,.DOCX
MS-XLSX,0,X,0,.XLSX
MS-PPTX,0,X,0,.PPTX
PDF-DOC,0,X,0,.PDF
PNG-image,0,X,0,.PNG
AI-image,0,X,0,.AI

 When I sent or receive my own emails, the files are still annotated as zip archive. Maybe this should be cahnged?

&lt;p&gt;After some time I still have reports from some of my email recipients still not being able to open my docx files. My mime-map files now reads&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Text/HTML = HTML-text application/vnd.openxmlformats-officedocument.wordprocessingml.document = MS-DOCX application/vnd.openxmlformats-officedocument.spreadsheetml.sheet = MS-XLSX application/vnd.openxmlformats-officedocument.presentationml.sheet = MS-PPTX application/pdf = PDF-DOC &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;and my filetype &lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;OpenOffice-Document,0,X,0,.ODT MS-Word,1,S,0,\219\165\045 PCEXE,1,X,0,.EXE,S,0,MZ PCEXE,1,X,0,.DLL,S,0,MZ ZIP-archive,0,X,0,.ZIP,S,0,PK\003 MS-Richtext,0,X,0,.RTF,S,0,{\092rtf Program-source,0,X,0,.C,X,0,.H,X,0,.PAS,X,0,.RC,X,0,.CPP,X,0,.BAS,X,0,.ASM GIF-image,0,X,0,.GIF,S,0,GIF JPEG-image,0,X,0,.JPG,S,6,JFIF BMP-image,0,X,0,.BMP,X,0,.DIB,S,0,BM WAV-sound-file,1,S,0,RIFF,S,8,WAVE WAV-sound-file,0,X,0,.WAV WordPerfect,0,S,1,WPC Excel-sheet,0,X,0,.XLS Excel-chart,0,X,0,.XLC MS-Access,0,X,0,.MDB AVI-Movie,1,S,0,RIFF,S,8,AVI AVI-Movie,0,X,0,.AVI Windows-help,1,X,0,.HLP,S,0,?_\003 HTML-text,0,X,0,.HTM HTML-text,1,S,0,&amp;lt;HTML&amp;gt; PGP-Public-Key,0,R,0,BEGIN PGP PUBLIC PGP-encrypted,0,X,0,.PGP Text,0,X,0,.TXT MS-DOCX,0,X,0,.DOCX MS-XLSX,0,X,0,.XLSX MS-PPTX,0,X,0,.PPTX PDF-DOC,0,X,0,.PDF PNG-image,0,X,0,.PNG AI-image,0,X,0,.AI &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;When I sent or receive my own emails, the files are still annotated as zip archive. Maybe this should be cahnged? &lt;/p&gt;
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft