Skip to content

Add lynx to the mailman core Docker image#552

Merged
maxking merged 3 commits intomaxking:mainfrom
cboylan:add-lynx
Oct 26, 2022
Merged

Add lynx to the mailman core Docker image#552
maxking merged 3 commits intomaxking:mainfrom
cboylan:add-lynx

Conversation

@cboylan
Copy link
Copy Markdown
Contributor

@cboylan cboylan commented Aug 31, 2022

Mailman's convert_html_to_plaintext setting relies on the value of
html_to_plain_text_command which is by default set to:

/usr/bin/lynx -dump $filename

This will fail on the current image because lynx is not installed.
Simply add lynx to the list of packages to install to correct this.
The file path for the lynx command installed via the Alpine package does
seem to be /usr/bin/lynx which means we don't need to update any
configuration to use this command. The defaults are sufficient.

Mailman's convert_html_to_plaintext setting relies on the value of
html_to_plain_text_command which is by default set to:

  /usr/bin/lynx -dump $filename

This will fail on the current image because lynx is not installed.
Simply add lynx to the list of packages to install to correct this.
The file path for the lynx command installed via the Alpine package does
seem to be /usr/bin/lynx which means we don't need to update any
configuration to use this command. The defaults are sufficient.
@maxking
Copy link
Copy Markdown
Owner

maxking commented Oct 26, 2022

Thanks for your contribution! :-)

@maxking maxking merged commit 2ad1221 into maxking:main Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants