datentraeger

geistige Umweltverschmutzung

Sieve Filter Attachments

February 24, 2016 Mail

Sieve ist witzig. Habe jetzt eben mal einen Filter zum doc rejecten gemacht. Klappt ganz gut…und ist (neben der Grundsatz-Diskussion über freie Software) eigentlich auch gar nicht abwegig, wenn man die Crypto-Trojaner etc betrachtet, die derzeit rumschwirren…

Hier die gekürzte Fassung:

require ["reject","body","regex"];
if anyof (body :raw :regex ["filename=.*\.doc","filename=.*\.docx"]) {
 reject text:
You sent the attachment in Microsoft Word/Excel format, a secret proprietary format, so I cannot read it.
If you send me the plain text, ODT or PDF, then I could read it.

Would you please reconsider the use of Word format for communication with other people? Thank you.
.
;
}

Gnu Social

Firefox in sid angelangt

Search
Posts
  • Overleaf
  • wir haben 300’000 !!
  • ZNAP Wallet
  • wtf m$ S3150 ?!?
  • systemd failed status entfernen
Archives
Categories
Tags
3D-Printing Android Apple Arch Backup BBOS/QNX cli Container Database Debian/GNU Linux Docker foo.li FSFE git Gnome Gnusocial Groupware irc IT Java LaTeX lvm Mail Mobile Movies Multimedia Music Nonsense Office Packaging PHP Puppet Redmine SQL Think-About Uncategorized Vaping vim Virtualisierung Web Win WTF www-links X11 XMPP
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Blogroll
  • Datentraeger Pics
  • foo.li systeme + software
  • GnuSocial.li
Proudly powered by WordPress | Theme: Doo by ThemeVS.