bsd-mailx - simple mail user agent

Property Value
Distribution Ubuntu 14.04 LTS (Trusty Tahr)
Repository Ubuntu Updates Main amd64
Package filename bsd-mailx_8.1.2-0.20131005cvs-1ubuntu0.14.04.1_amd64.deb
Package name bsd-mailx
Package version 8.1.2
Package release 0.20131005cvs-1ubuntu0.14.04.1
Package architecture amd64
Package type deb
Category mail
Homepage -
License -
Maintainer Ubuntu Developers <>
Download size 58.65 KB
Installed size 179.00 KB
bsd-mailx is the traditional simple command-line-mode mail user agent.
Even if you don't use it, it may be required by other programs.
The /usr/bin/mail command provided by this package is a very simple one,
and does not include many features that can be found in more advanced
mail user agents.
For example bsd-mailx DOES NOT support:
- MIME           (i.e. no attachments, no UTF-8 or other charsets support);
- SMTP protocol  (/usr/sbin/sendmail interface only is used);
- POP3/IMAP      (bsd-mailx reads local mailboxes only);
- maildir format (traditional mbox only format is supported).
If the above features are needed, please consider installing another package
providing similar /usr/bin/mail interface:
- heirloom-mailx package,
- or mailutils package.


Package Version Architecture Repository
bsd-mailx_8.1.2-0.20131005cvs-1ubuntu0.14.04.1_i386.deb 8.1.2 i386 Ubuntu Updates Main
bsd-mailx_8.1.2-0.20131005cvs-1_amd64.deb 8.1.2 amd64 Ubuntu Main
bsd-mailx_8.1.2-0.20131005cvs-1_i386.deb 8.1.2 i386 Ubuntu Main
bsd-mailx - - -


Name Value
base-files >= 2.2.0
default-mta -
libbsd0 >= 0.2.0
libc6 >= 2.14
liblockfile1 >= 1.0
mail-transport-agent -


Name Value
mail-reader -
mailx -


Name Value
mailx << 1:20071201


Type URL
Binary Package bsd-mailx_8.1.2-0.20131005cvs-1ubuntu0.14.04.1_amd64.deb
Source Package bsd-mailx

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install bsd-mailx deb package:
    # sudo apt-get install bsd-mailx




2015-01-05 - Marc Deslauriers <>
bsd-mailx (8.1.2-0.20131005cvs-1ubuntu0.14.04.1) trusty-security; urgency=medium
* SECURITY UPDATE: shell command injection
- Apply OpenBSD patches from Todd Miller (taken from Debian update):
+ 80-remove_T.patch (remove undocumented/obsolete -T option)
+ 81-minus_f.patch (adjust -f processing)
+ 82-expandaddr.patch (fix CVE-2014-7844)
+ 83-nosendmail.patch (make -- work for option parsing suppression)
- CVE-2014-7844
2013-10-06 - Robert Luberda <>
bsd-mailx (8.1.2-0.20131005cvs-1) unstable; urgency=low
* New upstream version from OpenBSD CVS repository.
* Remove 23-Treat-new-line-only-messages-as-empty-ones.patch, introduced 
in 1:8.1.2-0.20071017cvs-1 so that bsd-mailx will behave like other mailx
implementations and will not treat messages containing a single new line 
only as an empty ones (LP: #607099, reopens #355545).
* Extend description of this package to mention the fact that bsd-mailx lacks
many features that may be found in other packages like heirloom-mailx
or mailutils (closes: #508303).
* Add 26-Fix-confusing-error.patch to make a message given when -b is used
without -t less confusing (closes: #327809).
* Fix 00-Makefile.patch not to override CC and pass CPPFLAGS while compiling.
* debian/rules:
+ apply patch from Ubuntu to respect DEB_HOST_GNU_TYPE when selecting CC 
for cross-compiling;
+ do not try to run make clean on unpatched Makefile.
* Bump Standards-Version to 3.9.4 (no changes).
2011-11-20 - Robert Luberda <>
bsd-mailx (8.1.2-0.20111106cvs-1) unstable; urgency=low
* New upstream version from OpenBSD CVS repository.
* Drop the additional source files from EXT directory, use libbsd-dev
instead. Move EXT to debian.
* 00-Makefile: don't override CFLAGS set in environment.
* Switch to dpkg-source 3.0 (quilt) format.
* Use debhelper v9 and tiny debian/rules file.
* debian/control:
+ Build-Depends on libbsd-dev;
+ Standards-Version: 3.9.2;
+ use Breaks instead of versioned Conflicts;
+ add Vcs fields;
+ reformat the dependencies fields with `wrap-and-sort' command.
* Include full text of BSD licence in copyright (lintian).
2010-03-14 - Robert Luberda <>
bsd-mailx (8.1.2-0.20100314cvs-1) unstable; urgency=low
* New upstream version from OpenBSD CVS repository.
* Follow upstream and stop installing the outdated documentation 
(closes: #455708); also remove doc-base file.
* debian/control:
+ depend on default-mta instead of exim4 (closes: #555495);
+ add ${misc:Depends} dependency (lintian);
+ Standards-Version: 3.8.4 (no changes).
2009-10-10 - Robert Luberda <>
bsd-mailx (8.1.2-0.20090911cvs-2) unstable; urgency=medium
* Fix a bogus "can't send mail: sendmail process failed" errors appearing 
rarely on systems under heavy loads (closes: #550116).  
Many thanks to Ivan Zahariev <famzah(at)> for his investigation
and patch.
2009-09-11 - Robert Luberda <>
bsd-mailx (8.1.2-0.20090911cvs-1) unstable; urgency=low
* New upstream release from OpenBSD repository.
* Fix grammar in description (closes: #515781). 
* Drop mailx transitional package.
* Bump debhelper compat mode to 7. 
* Standards-Version: 3.8.3
2008-11-09 - Robert Luberda <>
bsd-mailx (8.1.2-0.20081101cvs-2) unstable; urgency=low
* Upload to unstable.
2008-11-01 - Robert Luberda <>
bsd-mailx (8.1.2-0.20081101cvs-1) experimental; urgency=low
* New upstream release.
* Lower priority of mailx package to extra.
* Standards-Version: 3.8.0 (no changes).
* Remove duplicated `it' from description (lintian).

See Also

Package Description
bsdutils_2.20.1-5.1ubuntu20.9_amd64.deb Basic utilities from 4.4BSD-Lite
bsh-doc_2.0b4-15ubuntu0.14.04.1_all.deb Documentation for bsh
bsh_2.0b4-15ubuntu0.14.04.1_all.deb Java scripting environment (BeanShell) Version 2
btrfs-tools_3.12-1ubuntu0.2_amd64.deb Checksumming Copy on Write Filesystem utilities
busybox-initramfs_1.21.0-1ubuntu1.4_amd64.deb Standalone shell setup for initramfs
busybox-static_1.21.0-1ubuntu1.4_amd64.deb Standalone rescue shell with tons of builtin utilities
byobu_5.77-0ubuntu1.2_all.deb powerful, text based window manager and shell multiplexer
bzr-doc_2.6.0+bzr6593-1ubuntu1.6_all.deb easy to use distributed version control system (documentation)
bzr_2.6.0+bzr6593-1ubuntu1.6_all.deb easy to use distributed version control system
ca-certificates_20170717~14.04.2_all.deb Common CA certificates
camlp4_4.01.0-3ubuntu3.1_amd64.deb Pre Processor Pretty Printer for OCaml
casper_1.340.2_amd64.deb Run a "live" preinstalled system from read-only media
ceilometer-agent-central_2014.1.5-0ubuntu2_all.deb ceilometer central agent
ceilometer-agent-compute_2014.1.5-0ubuntu2_all.deb ceilometer compute agent
ceilometer-api_2014.1.5-0ubuntu2_all.deb ceilometer api service