]> Git — Sourcephile - sourcephile-nix.git/blob - nixpkgs/pkgs/public-inbox/accept-html.patch
mermet: dovecot: julm: increase mailQuota
[sourcephile-nix.git] / nixpkgs / pkgs / public-inbox / accept-html.patch
1 diff --git a/lib/PublicInbox/Filter/Base.pm b/lib/PublicInbox/Filter/Base.pm
2 index d54570fd..631393ee 100644
3 --- a/lib/PublicInbox/Filter/Base.pm
4 +++ b/lib/PublicInbox/Filter/Base.pm
5 @@ -13,7 +13,7 @@ sub No ($) { "*** We only accept plain-text mail, No $_[0] ***" }
6
7 our %DEFAULTS = (
8 reject_suffix => [ qw(exe bat cmd com pif scr vbs cpl zip swf swfl) ],
9 - reject_type => [ 'text/html:'.No('HTML'), 'text/xhtml:'.No('HTML'),
10 + reject_type => [
11 'application/vnd.*:'.No('vendor-specific formats'),
12 'image/*:'.No('images'), 'video/*:'.No('video'),
13 'audio/*:'.No('audio') ],