~sircmpwn/aerc

2 2

fedora deps: dante-utils

Yuri Kochnev
Details
Message ID
<fa202b53add7b4618f064f6883c846d5770c5506.camel@pitt.edu>
DKIM signature
pass
Download raw message
Hello, aerc team!
Fedora 34 seems to be missing dante-utils package. Trying to display
html messages fails with the following:
/usr/share/aerc/filters/html: line 5: exec: socksify: not found
Any advice please?
Best regards,
Yuri
Details
Message ID
<CFEP78AVFO34.3RUS9QOQC6QJC@scmlaptop>
In-Reply-To
<fa202b53add7b4618f064f6883c846d5770c5506.camel@pitt.edu> (view parent)
DKIM signature
fail
Download raw message
DKIM signature: fail
On Mon 1 Nov, 2021 at 11:53 PDT, Yuri Kochnev wrote:
> Trying to display html messages fails with the following:
> /usr/share/aerc/filters/html: line 5: exec: socksify: not found

Socksify is a nice tool to prevent unwanted internet loads from HTML emails, but it's certainly not _required_.

You can copy /usr/share/aerc/filters/html to, say ~/.config/aerc/filters/html, remove socksify and SOCKS_SERVER from it (e.g. run w3m directly), and then tell aerc to use that filter instead (aerc.conf#filters).

---

Seán C McCord
ulexus@gmail.com
PGP/GPG: https://keys.openpgp.org/vks/v1/by-fingerprint/D9C871CCDEBD2C7A23D83041798DDA5251824DEA
Details
Message ID
<CFEQM1WDNBDX.WNSKVJG2YNDW@diabtop>
In-Reply-To
<fa202b53add7b4618f064f6883c846d5770c5506.camel@pitt.edu> (view parent)
DKIM signature
missing
Download raw message
Patch: +2 -3
Yuri Kochnev, Nov 01, 2021 at 19:53:
> Fedora 34 seems to be missing dante-utils package. Trying to display
> html messages fails with the following:
> /usr/share/aerc/filters/html: line 5: exec: socksify: not found
> Any advice please?

Hi Yuri,

The socksify command is not a hard requirement. You could add a Fedora
patch to remove it from the filter script.

diff --git a/filters/html b/filters/html
index db7808ac1cb4..99453715db6b 100755
--- a/filters/html
+++ b/filters/html
@@ -1,8 +1,7 @@
#!/bin/sh
# aerc filter which runs w3m using socksify (from the dante package) to prevent
# any phoning home by rendered emails
# aerc filter which runs w3m
export SOCKS_SERVER="127.0.0.1:1"
exec socksify w3m \
exec w3m \
       -T text/html \
       -cols $(tput cols) \
       -dump \

-- 
Robin
Reply to thread Export thread (mbox)