Personal Blog of Thomas Hampel - Creative Mythbusting in Development and Collaboration

Email Attachment Filters - What are the file types in each Category?

4 April 2016 Thomas Hampel
IBM Connections Cloud customers can configure Email Filters in the Account Settings / Email Filters
Recently (end of March) those filters have been updated with a new feature to filter attachments cased on a certain type.
Image:Email Attachment Filters - What are the file types in each Category?
But what exactly are the file types that are being filtered when you enable this feature for a specific category?
Image:Email Attachment Filters - What are the file types in each Category?
IBM Connections Cloud is using IBM (Lotus) Protector for Mail Security, which allows to filter attachment based on mime types.
Attachment categories displayed here relate to the media type analysis module of IBM Protector which describes in detail which file types or file extensions are being filtered.

Here is a more detailled list of file types in each category.
Please note that this list is going to change in the future so I can not provide any guarantuee for completeness.

Application or Executable Files
  • AUTOCAD file (dwg)
  • BitTorrent meta info file (torrent)
  • DOS executable (com, exe, sys)
  • DOS/Windows Executable file format (com, exe, scr, sys)
  • Dynamic Link Library (cpl, dll, drv, ocx, x32)
  • Executable and Linkable Format (elf, so)
  • Microsoft Outlook's Transport Neutral Encapsulation Format (dat, tnef)
  • Integrated Color Management file (icm)
  • Java class file (class)
  • Library file format (a, lib)
  • Link [Shortcut Windows file format] (lnk)
  • Lotus Notes database (nsf)
  • MS Compiled HTML file (chi, chm)
  • MS Outlook Electronic Mail file [according to RFC 822] (eml)
  • MS Outlook Internet Account File (iaf)
  • MS Outlook Message file (msg, oft)
  • MS Outlook Personal information STore (pst)
  • MS Outlook Windows Address Book file (wab)
  • Object files (o, obj)
  • PKCS #7 Signature (p7m, p7s, pkcs7)
  • Self-extracting ZIP file format (exe)
  • Symbian Installation file (sis, sisx)
  • Tex Device Independent document (dvi)
  • TrueType Font (ttf)
  • Windows Helpfile (gid, hlp)
  • Windows Program Information File (pif)
  • Windows Registry file (reg)

Archival Files
  • 7-Zip archive (7z)
  • ACE archive (ace)
  • ALZip archive (alz)
  • Amiga LZX archive (lzx)
  • APPLE single or double Encoded Macintosh file
  • ARC archive (arc)
  • ARJ archive (arj)
  • BlakHole archive (bh)
  • BZip2 archive (bz2, tbz)
  • Copy In/Out archive (cpio)
  • Debian binary package (deb)
  • Gnu ZIP archive (emz, gz, tgz, wmz)
  • HQX archive [BinHex'd file] (hqx)
  • Installshield CAB archive (cab, hdr)
  • ISO9660 image (iso)
  • LH ARC archive (lha, lzh)
  • Linux RedHat Package Manager archive (rpm)
  • MacBinary encoded file (bin)
  • MBOX archive (mbox, mbx)
  • Media Disk Image File (ldf, mdf)
  • Microsoft Compressed file
  • MIME HTML web page archive (mht)
  • MS Cabinet archive (cab)
  • Parity Archive volume set (par, par2)
  • PGP Zip file (pgp)
  • RAR archive (r00, r01, r02, rar)
  • Squeeze archive [HLSQZ
  • SQWEZ] (sqz)
  • Standard unix compress (taz, z)
  • StuffIT archive (sit)
  • StuffIT X archive (sitx)
  • UHArc archive (uha)
  • Ultra Compressor 2 archive (uc2)
  • Unix Tape Archive (tar)
  • UUEncoded ASCII file (uu, uue, xxe)
  • ZIP archive [includes Java ARchives] (jar, pk3, zip)
  • ZOO archive (zoo)
  • [Mac OS X] Disk Image (dmg)

Image or Photo Files
  • Animated cursor file (ani)
  • ART image (art)
  • Bitmap pixel graphic for Windows or OS/2 (bmp, dib)
  • Corel Vector Graphic Drawing (cdr)
  • DJVU scanned image (djv, djvu)
  • AutoCAD Drawing Interchange Format (dxf)
  • Enhanced Windows Meta File image (emf)
  • DOS Encapsulated PostScript binary file (eps)
  • GEM raster image (gem, img)
  • CompuServe Graphics Interchange Format (gif)
  • Windows icon or cursor resource file (cur, ico)
  • Interchange File Format image (iff)
  • JPEG Network Graphics (jng)
  • JPEG 2000 compliant image (j2k, jp2)
  • Joint Photographic Expert Group compliant image (jfif, jif, jpe, jpeg, jpg)
  • LuraWave image (lwf)
  • Multiple-image Network Graphics (mng)
  • Portable Any Map (pam)
  • Portable Bit Map [ASCII format] (pbm)
  • Portable Bit Map [binary format] (pbm)
  • Zsoft Paintbrush image (pcx)
  • Portable Grey Map [ASCII format] (pgm)
  • Portable Grey Map [binary format] (pgm)
  • PICTOR / PC Paint image file (pic)
  • Portable Network Graphics image (png)
  • Portable Pixel Map [ASCII format] (ppm)
  • Portable Pixel Map [binary format] (ppm)
  • Adobe Photoshop image (psd)
  • Paint Shop Pro image (jsl, pfr, psp, tub)
  • Sun Raster image (ras, sun)
  • Utah Run Length Encoded bitmap image (rle)
  • Silicon Graphics bitmap Image (sgi)
  • Still Picture Interchange Format File image (spf)
  • StarView Metafile (svm)
  • Truevision Targa image (tga)
  • Tagged Image File Format (tif, tiff)
  • Windows Meta File image (wmf)
  • WordPerfect Graphic (wpg)
  • X11-BitMap image (xbm)
  • GIMP XCF image (xcf)
  • X11-PixMap image (xpm)

Video or Multimedia
  • Apple QuickTime MOVie file (mov, qt)
  • Audio Video Interleaved animation (avi, divx)
  • DVD Video movie (vob)
  • FLashVideo (flv)
  • Matroska file (mka, mks, mkv)
  • Microsoft Media [Advanced Streaming Format
  • Motion Pictures Experts Group movie file (m1v, mpe, mpeg, mpg)
  • MPEG-4 video (m4v, mp4)
  • NullSoft Video file (nsv)
  • OGG Vorbis movie file (ogm)
  • RealMedia [audio and video] files (ra, ram, rm)
  • RealPlayer Internet Video Recording (ivr)
  • SGI movie (movie)
  • ShockWave Flash file (swf)
  • VivoActive video file (viv)
  • Windows Media Audio
  • Windows Media Video] files (asf, wma, wmv)
  • XBOX file (xbe, xex, xpr, xtf)

Audio or Sound
  • Audio Interchange File Format (aif, aiff)
  • CN=MusePack/O=MPEG Plus (mp+, mpc, mplus, mpp)
  • Creative Labs sound (voc)
  • Free lossless Audio Codec (flac)
  • MPEG-1 Layer 3 audio stream (mp2, mp3)
  • MPEG-4 Audio (m4a)
  • Musical Instrument Digital Interface sound file (mid, midi, rmi)
  • OGG Vorbis sound file (ogg)
  • Standard Windows WAVeform audio format (wav)
  • Sun Audio file (au, snd)
  • VQF sound file (vqf)

Text or Document Files
  • Corel WordPerfect Document (wp5, wpd)
  • Hangul Word Processor 3 document (hwp)
  • Lotus 123 Spread-/Worksheet (123, wk2, wk3, wk4)
  • Lotus Freelance Presentation (mas, prz, sym)
  • Microsoft Access DataBase (mda, mdb, mde, mdt)
  • Microsoft Compound Document format (doc, dot, fla, msi, msm, msp, oft, pot, ppa, pps, ppt, vsd, vss, vst, wiz, xla, xls, xlt)
  • Microsoft eBook (lit)
  • MIME HTML document (mht)
  • MS Excel Spreadsheet document (xla, xls, xlt)
  • MS Office 2007 Excel spreadsheet document (xlsb, xlsm, xlsx, xltm, xltx)
  • MS Office 2007 PowerPoint presentation (potm, potx, ppsm, ppsx, pptm, pptx)
  • MS Office 2007 Word document (docm, docx, dotm, dotx)
  • MS PowerPoint presentation (pot, ppa, pps, ppt)
  • MS Word Document (doc, dot, wiz)
  • MS Word for Macintosh document (mcw)
  • OASIS Open Document Format for Office Applications (odc, odf, odg, odi, odm, odp, ods, odt, otg, otp, ots, ott)
  • 6 document (stc, std, sti, stw, sxc, sxd, sxi, sxm, sxw)
  • Word for Windows 2.0 Document (doc)
  • Write document (wri)
IBM Connections Cloud is constantly being updated, so file types might very well be changed or updated in the future.
Your milage may vary :)

References and further reading

Comments [0]

IBM Connections Plug-ins for IBM Notes - without logging in at Greenhouse

25 March 2016 Thomas Hampel
IBM Social Software already posted the availability of the new IBM Connections Plug-Ins for Notes.which adds support for Connections Cloud.
In order to get this plug in you would normally have to browse to the Greenhouse Solutions Catalog , log in , find the package of interest, and then click "Get Download".

Maybe you noticed that the zip file itself is not hosted on Greenhouse, so you do not need to log in at all for downloading it.
Just head over to developerWorks and grab the file directly using this link:
Comments [0]
Tagged with: Connections Notes

IBM Stammtisch in Dresden - IBM Connect Comes to You - 8.April.2016

23 March 2016 Thomas Hampel
Hallo IBM Community!

wir, d.h. Anett Hammerschmidt und ich, laden euch wieder herzlich zur IBM Connect Comes to You in Dresden ein.
Unser Motto für diesen Abend lautet "Make Every Moment Count" , und so haben wir folgende Highlights geplant:
  • Update & What's next - Neues rund um die IBM Messaging & Collaboration Produkte
  • Einem -noch geheimen-  'Special Guest'
  • Die Zukunft schon jetzt erleben, Live und in Farbe!
  • Ein IBM Quiz (...ja es gibt etwas zu gewinnen)
Auch diesmal steht das Kennenlernen und Pflegen neuer und alter Kontakte im Mittelpunkt, quasi Social Networking live erleben.


Datum: 08. April 2016
Von 17:00 Uhr bis ...


Augustiner an der Frauenkirche
An der Frauenkirche 16/17
01067 Dresden
Image:IBM Stammtisch in Dresden - IBM Connect Comes to You - 8.April.2016
Webgeschreibung siehe Google Maps, parken ggf. bei QPark Frauenkirche / Neumarkt


Bitte über den nachfolgenden Button anmelden, so können wir die Plätze im Lokal besser planen und ggf. mehr Tische reservieren.
Zur Anmeldung

17:00 Uhr - Welcome Reception
17:30 Uhr - IBM Connect Comes to You. (mit LiveDemo)
ab 19:00 - Social Networking Live Demo mit #Lotusbeer
21:00 - IBM Quiz (es gibt Preise zu gewinnen!)

Kurzentschlossene können auch ohne Anmeldung einfach vorbeikommen, bitte direkt bei Anett ( +49-176-10315855 ) anrufen

Wir freuen uns auf Euch!
Anett Hammerschmidt und Thomas Hampel
Comments [0]
Tagged with: Dresden IBM Stammtisch Community

Enable Apple TouchID support in IBM Verse mobile App for IBM Connections Cloud Users

22 March 2016 Thomas Hampel
In general IBM Verse mobile app on iOS supports Apple's TouchID for authentication.
And we might agree that using fingerprints for unlocking phone is not only a convenient way for busy people, its also more secure than a 4 (or 6) digit passcode that anyone can get by shoulder surfing

According to Going Mobile with IBM Verse ( see slide #44 ) this feature seems to be available only for on premises Domino servers so unfortunately IBM Connections Cloud users cant use it.
Well... lets see :)

First some basics

To enable TouchID support In an on premises environment, an admin needs to update the on prem Domino Directory using this template which contains a new tab for IBM Verse Security settings.
Image:Enable Apple TouchID support in IBM Verse mobile App for IBM Connections Cloud Users
Which can be allowed or prohibited...
Image:Enable Apple TouchID support in IBM Verse mobile App for IBM Connections Cloud Users
and of course those settings are applied to a user using Domino policies.
Applying the same policy to a Connections Cloud (hybrid configuration) user unfortunately has no effect. TouchID support will remain disabled.
So far about the simple stuff.

Peeking into Policies and Profiles:

When enabling this setting in an OnPrem environment, a field named "devPapplAppTouchID" is set to "1" in the policy settings document.
Taking a closer look into the user's mail file using NotesPeek the same field name can be found in a profile document called "travelerprofile"
Image:Enable Apple TouchID support in IBM Verse mobile App for IBM Connections Cloud Users
Comparing this traveler profile document of an OnPrem user with a user in Connections Cloud shows that the field does not exist. if this is the only reason for the TouchID not to work, lets try to set it :)

Activate TouchID support for Connections Cloud users

All we need to do is set the field "devPapplAppTouchID" to a value of "1" in the "travelerprofile".
To do that use the following code in an agent or button...

     Dim s As New NotesSession
     Dim profile As NotesDocument
     Set profile = s.CurrentDatabase.GetProfileDocument ("travelerprofile")
     If Not profile.IsNewNote And profile.IsValid Then
             If profile.getitemvalue ("devPapplAppTouchID")(0) = "" Then
                     Call profile.replaceitemvalue ("devPapplAppTouchID","1")
                     Msgbox "TouchID support has been enabled."
             End If
     End If

Once this code runs against the current mail file the missing field is set and a couple of minutes later TouchID support for the IBM Verse App will be enabled on your Phone.
Hint : In case you're working in a local replica, make sure to replicate

Please note the method described above is not officially supported, so please use at your own risk!


Comments [0]
Tagged with: Cloud Connections Notes Traveler

Root Cause for ’Type mismatch in method OP_UNARY’

21 March 2016 Thomas Hampel
Quickly creating a mail with Buttons containing LotusScript can cause headaches.
It just takes a few lines of code for running into undocumented error messages here is a small example:
Image:Root Cause for ’Type mismatch in method OP_UNARY’
will result in:
Image:Root Cause for ’Type mismatch in method OP_UNARY’

Changing "if not ..." to "is ..." like shown here
Image:Root Cause for ’Type mismatch in method OP_UNARY’
will result in a slightly different error message "Type mismatch in method IfCoerceBool: Unknown found, Uknown expected"
Image:Root Cause for ’Type mismatch in method OP_UNARY’
Do you spot the problem???

What is the root cause?

The property "IsNewDoc" acutally is a property of NotesUIDocument but is not a valid property of the NotesDocument class.
For testing if a NotesDocument is a new document, use the property IsNewNote
When creating a new button within the body of a new mail, Option Declare is not enabled by default like it is in the Designer client, so the error was not detected when saving the source code.
with Option Declare enabled its easier to spot the problem...
Image:Root Cause for ’Type mismatch in method OP_UNARY’


Comments [0]
Tagged with: Development Error Notes
Thomas Hampel, All rights reserved.