Public bug reported:
Today I noticed that pdf attachments aren't declared as application/pdf anymore
but application/octet-stream.
I found that /etc/mime.types seems to be ignored and
it only works again if I add "application/pdf pdf" to my $HOME/.mime.types.
However the fine mutt manual says:
When you add an attachment to your mail message, Mutt searches your personal
mime.types file at $HOME/.mime.types, and then the system mime.types file at
/usr/local/share/mutt/mime.types or /etc/mime.types
Actually strace shows only this:
openat(AT_FDCWD, "/home/andy/.mime.types", O_RDONLY) = 3
openat(AT_FDCWD, "/usr/local/etc/mime.types", O_RDONLY) = 3
openat(AT_FDCWD, "/usr/local/share/mutt/mime.types", O_RDONLY) = -1 ENOENT (No
such file or directory)
Any idea what might have happened recently?
Thanks,
Andy
PS: "SYSCONFDIR" is looking strange - So I assume this is an ubuntu
specific bug
$ mutt -v
Mutt 2.0.0 (2020-11-07)
...
SYSCONFDIR="/usr/local/etc"
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: mutt 1.13.2-1ubuntu0.4
ProcVersionSignature: Ubuntu 5.4.0-62.70-generic 5.4.78
Uname: Linux 5.4.0-62-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
CasperMD5CheckResult: skip
Date: Wed Mar 17 22:50:43 2021
SourcePackage: mutt
UpgradeStatus: Upgraded to focal on 2020-07-26 (233 days ago)
** Affects: mutt (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug focal third-party-packages
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1919562
Title:
/etc/mime.types is ignored
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutt/+bug/1919562/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs