mailsplit command not found

In this troubleshooting guide we learn how to fix mailsplit command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mailsplit: command not found

or when using sudo you get the following error message

sudo: mailsplit: command not found

Solutions to mailsplit: command not found

How To Fix mailsplit: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mailsplit is provided by hxtools package.

hxtools is:

A collection of tools and scripts that have accumulated over the years, and each of which seems to be too small to warrants its own project.

  • bsvplay(1) - convert BASICA music files to PCM
  • cctypeinfo(1) - show sizes of C types on the implementation it was compiled with
  • checkbrack(1) - check parenthesis and bracket count
  • declone(1) - break hardlinks
  • diff2php(1) - transform patch to self-serving PHP file
  • fd0ssh(1) - pipe for password-over-stdin support to ssh
  • fnt2bdf(1) - convert VGA raw fonts to X11 BDF
  • gpsh(1) - grep in tracklists and play audio files
  • logontime(8) - show cumulative logon time from wtmp
  • mailsplit(1) - split an mbox into single files
  • mod2opus(1) – wrapper for tracker module/MIDI to Opus transcoding
  • hxnetload(8) – show utilization of network interface
  • ofl(1) - open file lister (replaces fuser and lsof -m)
  • paddrspacesize(1) - print size of processes’ address spaces
  • pesubst(1) - perl-regexp stream substitution (replaces sed for sub-stitutions)
  • pmap_dirty(1) - display amount of RAM a process uses hard
  • proc_iomem_count(1) - show MMIO region sizes
  • qplay(1) - convert QBASIC play strings to PCM
  • qtar(1) - faster interface to tar with file ordering
  • recursive_lower(1) - recursively lowercase all filenames
  • sourcefuncsize(1) - statistical analysis of code
  • spec-beautifier(1) - program to clean up RPM .spec files
  • su1(8) - what sudo should have done
  • utmp_register(1) - make entries in the utmp/wtmp database
  • vcsaview(8) - display a screen dump in VCSA format
  • vfontas(1) - VGA font file assembler
  • wktimer(1) - work timer

To fix this problem, we can install more using the command below.

sudo apt-get -y install hxtools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install hxtools.

sudo apt -y install hxtools

Or if you have aptitude installed you can use the following command.

sudo aptitude install hxtools

Summary

In this tutorial we learn how to fix mailsplit command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.