How do you install sendmail in Linux using apt-get command?
Here is a tutorial to learn how to install sendmail using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install sendmail -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of sendmail if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install sendmail -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
x11 apps libusbip0 libmono data tds2.0 cil libsmbclient libplist1
libxcb aux0 libxfce4menu 0.1 0 libsm dev libatk1.0 0 echoping menu
libts 0.0 0 syslinux libtalloc2 openssh server libpackagekit qt 12 libical0
python3 minimal libwpd8c2a libcommons pool java libcdio10 libgtk2.0 common
libopencryptoki0 dnsmasq base libtwolame0 libmono security2.0 cil
libnet ssleay perl libgsf 1 common update notifier common libqca2
iputils tracepath xfonts 75dpi libzbar0 libmtp8 gedit common xsltproc
libgutenprint2 libsilcclient 1.1 3 libxcb atom1 erlang crypto libecj java
xserver xorg video all python debian libxml sax perl libxcomposite1
libice dev lp solve libgail18 libarchive1 xserver xorg video apm libntfs10
libaiksaurus 1.2 data libpth20 libdigest sha1 perl xserver xorg video ark
fakeroot xserver xorg video ati unattended upgrades libxrandr dev authbind
libgmime 2.4 2 libv4l 0 libcupsppdc1 ttf dejavu extra telepathy gabble
libgnome2 vfs perl libhal storage1 libmono system2.0 cil xfonts scalable
libcdio paranoia0 libgnome2 0 libcompizconfig0 libwebkit 1.0 common
squashfs tools update notifier gamin libgphoto2 port0
unetbootin translations debhelper usbmuxd libxdamage dev
libxml sax expat perl pkg config libxklavier16 libxxf86dga1 libnet dbus perl
libxine1 x libcupscgi1 libcaca0 libfile copy recursive perl libmeanwhile1
libgudev 1.0 0 libgnomecanvas2 0 xserver xorg video openchrome erlang xmerl
intel gpu tools xbase clients speedy cgi perl libmono sqlite2.0 cil
libpthread stubs0 snort rules default libavc1394 0 esound clients
libbonobo2 common libcupsdriver1 libfile homedir perl libotf0 libatk1.0 data
libsgutils2 2 libprotobuf5 gnome mime data libcanberra pulse libmodplug0c2
python pycurl squid3 common libxml parser perl link grammar dictionaries en
obexd client x11 utils libmagickcore2 liburi perl libpangomm 1.4 1 upower
libsox fmt base libotr2 libtie ixhash perl xserver xorg video s3virge
libots0 desktop file utils xserver xorg video v4l dnsutils libspectre1
x11 xkb utils libgnomeui 0 libcairo perl xserver xorg video mga
gvfs backends libxnee0 libsvga1 obex data server libgtk2 perl
libhtml parser perl libparted0debian1 xserver xorg video chips libecal1.2 7
libbeagle1 libmono corlib2.0 cil libsane libxfixes dev udisks
libimobiledevice0 libgtkmm 2.4 1c2a g++ 4.4 odbcinst1debian1 update inetd
libqt4 test libvarnish1 libgtk2 imageview perl icedtea netx transmission cli
libhyphen0 erlang syntax tools xserver xorg core liblouis data
xserver xorg video mach64 libxfconf 0 2 libibus1 ttf dustin
libzend framework php libproxy0 libjpeg progs libpst4 xterm libnspr4 dev
libxcb render util0 dev libboost program options1.40.0 libnm util1
gnome menus kdelibs5 xserver common snort common libraries libtagc0
libxcb xv0 libgl1 mesa dri libsox fmt alsa libbonobo2 0 libmagickwand2
libvte common aumix common libsctp1 libfile which perl
language pack zh hant base libgnomevfs2 common hpijs
xserver xorg video trident docbook xml libgupnp 1.0 3 libgmp3 dev
libglademm 2.4 1c2a libexo common nvidia current modaliases
libgnomevfs2 extra python software properties cups client squid common
x11proto xinerama dev libgl1 mesa glx mobile broadband provider info
libncurses5 dev xserver xorg video sis libpcap0.8 libx86 1 libfont afm perl
abiword common x11proto render dev oxygen icon theme libpisock9 libxi dev
xmms2 plugin pulse libx11 protocol perl gconf2 java common dosfstools
libgdata google1.2 1 libmono i18n west2.0 cil xauth lksctp tools
guile 1.8 libs libwps 0.1 1 libwbclient0 rpm common librrd4 po debconf
aptitude xfdesktop4 data libgomp1 icedtea 6 jre cacao scala library
libxml namespacesupport perl libedata cal1.2 6 notification daemon
libxnconfig9.0.5 wireshark common libpixman 1 dev libnspr4 0d libsqlite0
libslp1 whois trousers libdotconf1.0 xserver xorg video siliconmotion
libtimedate perl xdg user dirs default jre headless libnotify1 libcairo2
libstartup notification0 libtpm unseal0 openoffice.org style human
libgoffice 0.8 8 common xserver xorg input vmmouse libavahi glib1
gnome keyring fortune mod evolution common xfce keyboard shortcuts
libmono posix2.0 cil libcouchdb glib 1.0 2 odbcinst znc tcl g++ mono runtime
libvisual 0.4 0 telepathy salut libsigc++ 2.0 0c2a xserver xorg video savage
libfile desktopentry perl mtools libcwidget3 pidgin data libcanberra0
intltool debian libproc simple perl openjdk 6 jre lib libsdl1.2debian alsa
tcl8.4 dev libvde0 libhttp server simple perl libthai data python3.1 dcraw
libnss3 dev libgadu3 xorg docs core x11proto kb dev x11proto randr dev
libwavpack1 libqt4 opengl libsoup gnome2.4 1 libpsiconv6 libxinerama dev
libcap2 bin xserver xorg video tdfx network manager pptp pptp linux
libgtkhtml editor common gcc 4.4 avahi utils x11 session utils m17n db
libpango perl cpu checker libglitz glx1 compizconfig backend gconf
libreadline6 dev librrds perl freetds common transmission common
libglibmm 2.4 1c2a libxosd2 libobparser21 libgamin0
libcommons collections java snort common apache2 libdirectfb 1.2 0
update manager erlang runtime tools libhtml tree perl librsvg2 common
update manager core libsvn1 openjdk 6 jre headless xtrans dev python gmenu
libindicate4 libwnck22 libakonadiprivate1 libtspi1 libdevkit power gobject1
python webkit libsexy2 gstreamer0.10 gnonlin libx264 85 libxcb event1
xserver xorg video intel libmcrypt4 libindicator0 samba common librecode0
libffi5 libiec61883 0 libforms1 libvlc2 libxres1 xserver xorg input all
libmailtools perl libcairomm 1.0 1 libgdata common python aptdaemon
liblink grammar4 libgnome mag2 gettext libqt4 help xbitmaps
libpango1.0 common x11proto input dev python glade2 xmms2 plugin id3v2
libgp11 0 libgnome2 gconf perl cups common uno libs3
xserver xorg video vmware samba doc libgcr0 launchpad integration
libpixman 1 0 libsdl1.2debian libexempi3 libhpmud0 x11proto fixes dev
libxml simple perl libijs 0.35 xserver xorg video r128 xubuntu wallpapers
aumix libwww mechanize perl gcc libgdu0 libgnome2 common gdb libsilc 1.1 2
libhal1 cvs linux headers 2.6.32 74 xfonts base python xapian
apt xapian index hal xserver xorg input evdev libdbusmenu glib1
libtomcat6 java libxinerama1 libgoocanvas common libesd0
python launchpad integration libgtkimageview0 liblouis0 libept0
linux headers 2.6.32 74 generic tk8.4 dev libmikmod2
libmono system data2.0 cil oss compat iputils arping zend framework bin
libedata book1.2 2 xserver xorg video vesa libgconfmm 2.6 1c2 openssh client
libreadline5 libgdome2 0 sudo x11 xfs utils python xdg libsmi2ldbl libupnp3
libxft2 speech dispatcher libgnomevfs2 0 x11proto xext dev mono gac
libcolamd2.7.1 python vte libnm glib2 libsnmp session perl libxt dev
libconfig grammar perl kdepimlibs data libvte9 libfile basedir perl
xulrunner 1.9.2 libcroco3 modemmanager tzdata java libevent 1.4 2
gconf defaults service libxext dev python cairo libdbusmenu gtk1
libpulse mainloop glib0 libegroupwise1.2 13 libcommons dbcp java
erlang mnesia libgsf 1 114 libgtop2 common libaa1 software properties gtk
libopenobex1 rdesktop libieee1284 3 rarian compat znc perl
x11proto damage dev libgnome2 canvas perl libthai0 libxcb keysyms1
linux headers generic rsync python dbus erlang public key aptdaemon manpages
libneon27 gnutls libxapian15 libglitz1 xserver xorg video s3 xserver xorg
mono 2.0 gac libdjvulibre21 libglade2 0 libxine1 console policykit 1 gnome
xserver xorg video nv libvorbisfile3 xfonts 100dpi libspeechd2 esound common
xserver xorg video voodoo xserver xorg video fbdev module assistant
xserver xorg input wacom lxmenu data xmms2 plugin alsa im switch
python aptdaemon gtk samba ppp libxfce4util common libservlet2.5 java
libglib perl xdg utils xinit libzzip 0 13 libjs cropper squid langpack
libshout3 xserver xorg video nouveau libdv4 libhtml format perl libatasmart4
build essential libmono sharpzip2.84 cil libxau dev dpkg dev
xfce4 power manager data libxmmsclient6 thunar data python gnupginterface
libfs6 libgdata6 xserver xorg video neomagic fglrx modaliases
libtotem plparser17 libgnomecanvasmm 2.6 1c2a a2ps nvidia 96 modaliases
php5 mcrypt tcl8.4 tcl8.5 libqt4 assistant ure pinyin database libplasma3
python gobject xserver xorg input mouse erlang inets kernel package
libgtop2 7 xmms2 core squid ntfsprogs libvisual 0.4 plugins ttf dejavu
libxine1 misc plugins python3 ttf arphic bsmi00lp libusbmuxd1
libappindicator0 yelp libgnome2 wnck perl libm17n 0 libdecoration0
liblircclient0 kdepimlibs5 libgnomeui common xz utils libxfce4util4 synaptic
libxxf86misc1 m17n contrib libwebkit 1.0 2 libgupnp igd 1.0 2 gksu
libgnome keyring0 libsocket6 perl psutils libsidplay1 kdelibs bin usbutils
smartdimmer libxvmc1 language pack zh hans base gnome desktop data
opencryptoki python3.1 minimal libc ares2 libc6 dev apparmor libupower glib1
libpackagekit glib2 12 tk8.4 tk8.5 liblua5.1 0 libanthy0 libxcomposite dev
libtag1c2a libcamel1.2 14 librsvg2 2 libbonoboui2 0 tomcat6 common
libgmpxx4ldbl libwnck common libxcb render0 dev app install data
libxrender dev xmms2 plugin vorbis libxfce4util bin libxmmsclient glib1
libgksu2 0 sgml data media player info libmad0 libgnome2 perl
libxml xpath perl xorg libfile mimeinfo perl ttf arphic gbsn00lp
fortunes min bsd mailx xfonts mathml libgpgme11 libart 2.0 2
evolution data server common protobuf compiler liblaunchpad integration1
pmount gstreamer0.10 tools ca certificates java libopencore amrnb0
libcdio cdda0 imagemagick libhtml tagset perl vlc data libzephyr4
gnome user guide xserver xorg video sisusb erlang ssl libpango1.0 0
libgraphite3 libgvfscommon0 libmusicbrainz4c2a libx11 dev libwpg 0.1 1
libaiksaurus 1.2 0c2a oinkmaster libtar hal info libqt3 mt miscfiles
libxdamage1 libprelude2 x11proto composite dev gvfs linux libc dev
libdesktopcouch glib 1.0 2 openoffice.org common patch manpages dev xvfb
samba common bin libgnome menu2 language pack zh hans language pack zh hant
libwww perl xserver xorg video tseng xserver xorg video radeon
libxcb render0 vzquota libebackend1.2 0 xfconf scrollkeeper info
dvd+rw tools libexif12 libgtk2.0 bin libqt4 scripttools libglu1 mesa
libdjvulibre text libavahi gobject0 libsox1a libcupsmime1 libc dev bin
libnet libidn perl libnice0 compiz core libxcb1 dev libxcb shape0 libvala0
xserver xorg video cirrus gstreamer0.10 nice libmail sendmail perl
libbonoboui2 common libloudmouth1 0 libssh 4 perlmagick libxcb shm0
libvlccore2 binutils kdebase runtime data min12xxw libevtlog0 libxv1
znc extra libio socket ssl perl libjson glib 1.0 0 apport gtk
libxmlrpc core c3 nvidia 173 modaliases p7zip full mscompress openjdk 6 jre
libossp uuid16 libprotoc5 libsys hostname long perl libmpcdec3
libpam gnome keyring libgdata1.2 1 libxcb render util0 libopencore amrwb0
openbsd inetd bcmwl modaliases gnome icon theme xmms2 icon
indicator application libnet1 libnss3 1d gstreamer0.10 plugins base
x11proto core dev python gtk2 xmms2 client cli python gconf keyutils
adium theme ubuntu xserver xorg input synaptics libxml twig perl
libdigest hmac perl libgssdp 1.0 2 xmms2 client nycli gnome doc utils
libgtk2.0 0 regina3 dvb apps libxine1 bin libxdmcp dev
xserver xorg video rendition libpthread stubs0 dev libsysfs dev
libxcursor dev python libxml2 libedataserver1.2 11 libxkbfile1
libgnomecanvas2 common xserver xorg video i128 telepathy mission control 5
notify osd icons libjs mootools libxine1 ffmpeg libpisync1 libvdeplug2
erlang base libsort naturally perl libsoup2.4 1 libio socket inet6 perl
libstdc++6 4.4 dev libgphoto2 2 wdiff libebook1.2 9 libgdome2 cpp smart0c2a
libgtksourceview2.0 common libtag1 vanilla libxine1 libaudiofile0 libsmpeg0
libreadline dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libdb4.7 m4 procmail sendmail base sendmail bin sendmail cf sensible mda
Suggested packages:
sendmail doc rmail logcheck resolvconf sasl2 bin
The following packages will be REMOVED:
postfix
The following NEW packages will be installed:
libdb4.7 m4 procmail sendmail sendmail base sendmail bin sendmail cf
sensible mda
0 upgraded, 8 newly installed, 1 to remove and 1 not upgraded.
Need to get 2724kB of archives.
After this operation, 4137kB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid/main libdb4.7 4.7.25 9 [653kB]
Get:2 http://old releases.ubuntu.com/ubuntu/ lucid/main m4 1.4.13 3 [286kB]
Get:3 http://old releases.ubuntu.com/ubuntu/ lucid updates/main procmail 3.22 18ubuntu1.1 [158kB]
Get:4 http://old releases.ubuntu.com/ubuntu/ lucid/universe sendmail base 8.14.3 9.1ubuntu1 [358kB]
Get:5 http://old releases.ubuntu.com/ubuntu/ lucid/universe sendmail cf 8.14.3 9.1ubuntu1 [295kB]
Get:6 http://old releases.ubuntu.com/ubuntu/ lucid/universe sendmail bin 8.14.3 9.1ubuntu1 [956kB]
Get:7 http://old releases.ubuntu.com/ubuntu/ lucid/universe sensible mda 8.14.3 9.1ubuntu1 [12.4kB]
Get:8 http://old releases.ubuntu.com/ubuntu/ lucid/universe sendmail 8.14.3 9.1ubuntu1 [3488B]
Fetched 2724kB in 2s (1109kB/s)
dpkg: postfix: dependency problems, but removing anyway as you requested:
bsd mailx depends on default mta | mail transport agent; however:
Package default mta is not installed.
Package postfix which provides default mta is to be removed.
Package mail transport agent is not installed.
Package nullmailer which provides mail transport agent is not installed.
Package postfix which provides mail transport agent is to be removed.
bsd mailx depends on default mta | mail transport agent; however:
Package default mta is not installed.
Package postfix which provides default mta is to be removed.
Package mail transport agent is not installed.
Package nullmailer which provides mail transport agent is not installed.
Package postfix which provides mail transport agent is to be removed.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 204128 files and directories currently installed.)
Removing postfix ...
Processing triggers for man db ...
Processing triggers for libc bin ...
ldconfig deferred processing now taking place
Selecting previously deselected package libdb4.7.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 203967 files and directories currently installed.)
Unpacking libdb4.7 (from .../libdb4.7_4.7.25 9_amd64.deb) ...
Selecting previously deselected package m4.
Unpacking m4 (from .../archives/m4_1.4.13 3_amd64.deb) ...
Selecting previously deselected package procmail.
Unpacking procmail (from .../procmail_3.22 18ubuntu1.1_amd64.deb) ...
Selecting previously deselected package sendmail base.
Unpacking sendmail base (from .../sendmail base_8.14.3 9.1ubuntu1_all.deb) ...
Selecting previously deselected package sendmail cf.
Unpacking sendmail cf (from .../sendmail cf_8.14.3 9.1ubuntu1_all.deb) ...
Selecting previously deselected package sendmail bin.
Unpacking sendmail bin (from .../sendmail bin_8.14.3 9.1ubuntu1_amd64.deb) ...
Selecting previously deselected package sensible mda.
Unpacking sensible mda (from .../sensible mda_8.14.3 9.1ubuntu1_amd64.deb) ...
Selecting previously deselected package sendmail.
Unpacking sendmail (from .../sendmail_8.14.3 9.1ubuntu1_all.deb) ...
Processing triggers for install info ...
Processing triggers for man db ...
Setting up libdb4.7 (4.7.25 9) ...
Setting up m4 (1.4.13 3) ...
Setting up procmail (3.22 18ubuntu1.1) ...
Setting up sendmail base (8.14.3 9.1ubuntu1) ...
adduser: Warning: The home directory `/var/lib/sendmail' does not belong to the user you are currently creating.
adduser: Warning: The home directory `/var/lib/sendmail' does not belong to the user you are currently creating.
Setting up sendmail cf (8.14.3 9.1ubuntu1) ...
Setting up sendmail bin (8.14.3 9.1ubuntu1) ...
update rc.d: warning: sendmail stop runlevel arguments (0 1 6) do not match LSB Default Stop values (1)
update alternatives: using /usr/lib/sm.bin/sendmail to provide /usr/sbin/sendmail mta (sendmail mta) in auto mode.
update alternatives: using /usr/lib/sm.bin/sendmail to provide /usr/sbin/sendmail msp (sendmail msp) in auto mode.
update alternatives: warning: not replacing /usr/share/man/man8/sendmail.8.gz with a link.
You are doing a new install, or have erased /etc/mail/sendmail.mc.
If you've accidentaly erased /etc/mail/sendmail.mc, check /var/backups.
I am creating a safe, default sendmail.mc for you and you can
run sendmailconfig later if you need to change the defaults.
* Stopping Mail Transport Agent (MTA) sendmail [80G [74G[ OK ]
Updating sendmail environment ...
Validating configuration.
Writing configuration to /etc/mail/sendmail.conf.
Writing /etc/cron.d/sendmail.
Could not open /etc/mail/databases(No such file or directory), creating it.
Could not open /etc/mail/sendmail.mc(No such file or directory)
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Writing configuration to /etc/mail/sendmail.conf.
Writing /etc/cron.d/sendmail.
Turning off Host Status collection
Could not open /etc/mail/databases(No such file or directory), creating it.
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Checking filesystem, this may take some time it will not hang!
... Done.
Checking for installed MDAs...
Adding link for newly extant program (mail.local)
Adding link for newly extant program (procmail)
sasl2 bin not installed, not configuring sendmail support.
To enable sendmail SASL2 support at a later date, invoke "/usr/share/sendmail/update_auth"
Creating/Updating SSL(for TLS) information
Creating /etc/mail/tls/starttls.m4...
Creating SSL certificates for sendmail.
Generating DSA parameters, 2048 bit long prime
This could take some time
.......+...............................................+.....+++++++++++++++++++++++++++++++++++++++++++++++++++*
....+........................+......+...........................+..............+.......+...............+.................+..+......+.......................+..........+...+.....+.+..+...+...........+...+.+......+............+.........+..+...........+.....+..........+.............+.+........+.....+.......+......+....+..................+........+.+.........+.............+.+.....+..............+.+....................+++++++++++++++++++++++++++++++++++++++++++++++++++*
Generating RSA private key, 2048 bit long modulus
.............................................+++
...............................+++
e is 65537 (0x10001)
*** *** *** WARNING *** WARNING *** WARNING *** WARNING *** *** ***
Everything you need to support STARTTLS (encrypted mail transmission
and user authentication via certificates) is installed and configured
but is *NOT* being used.
To enable sendmail to use STARTTLS, you need to:
1) Add this line to /etc/mail/sendmail.mc and optionally
to /etc/mail/submit.mc:
include(`/etc/mail/tls/starttls.m4')dnl
2) Run sendmailconfig
3) Restart sendmail
Updating /etc/hosts.allow, adding "sendmail: all".
Please edit /etc/hosts.allow and check the rules location to
make sure your security measures have not been overridden
it is common to move the sendmail:all line to the *end* of
the file, so your more selective rules take precedence.
Checking {sendmail,submit}.mc and related databases...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/Makefile...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Writing configuration to /etc/mail/sendmail.conf.
Writing /etc/cron.d/sendmail.
Disabling HOST statistics file(/var/lib/sendmail/host_status).
Creating /etc/mail/sendmail.cf...
*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE() should be before MAILER()
Creating /etc/mail/submit.cf...
Informational: confCR_FILE file empty: /etc/mail/relay domains
Warning: confCT_FILE source file not found: /etc/mail/trusted users
it was created
Informational: confCT_FILE file empty: /etc/mail/trusted users
Warning: confCW_FILE source file not found: /etc/mail/local host names
it was created
Warning: access_db source file not found: /etc/mail/access
it was created
Updating /etc/mail/access...
Linking /etc/aliases to /etc/mail/aliases
Updating /etc/mail/aliases...
/etc/mail/aliases: 1 aliases, longest 4 bytes, 14 bytes total
Warning: 3 database(s) sources
were not found, (but were created)
please investigate.
Warning: These messages were issued while creating sendmail.cf
make sure they are benign before starting sendmail!
Errors in generating sendmail.cf
*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE() should be before MAILER()
* Starting Mail Transport Agent (MTA) sendmail [80G [74G[ OK ]
Setting up sensible mda (8.14.3 9.1ubuntu1) ...
Setting up sendmail (8.14.3 9.1ubuntu1) ...
Processing triggers for libc bin ...
ldconfig deferred processing now taking place
root@hiox:~