How to Install and Uninstall mailagent Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 17,2024

1. Install "mailagent" package

This guide let you learn how to install mailagent on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install mailagent

2. Uninstall "mailagent" package

This is a short guide on how to uninstall mailagent on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove mailagent $ sudo apt autoclean && sudo apt autoremove

3. Information about the mailagent package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: mailagent
Priority: optional
Section: universe/mail
Installed-Size: 1260
Maintainer: Ubuntu Developers
Original-Maintainer: Manoj Srivastava
Architecture: amd64
Version: 1:3.1-81-4
Depends: libc6 (>= 2.4), debconf (>= 1.2.0) | debconf-2.0, perl, libperl4-corelibs-perl, exim4 | postfix | sendmail | mail-transport-agent, libfile-fcntllock-perl
Filename: pool/universe/m/mailagent/mailagent_3.1-81-4_amd64.deb
Size: 363936
MD5sum: 8ffa42214eb5e4255a6a12f8fedf9f92
SHA1: 8a84d0d38715a6a8771e7f4eaa0dead5dae2e146
SHA256: bb7a4e8af86bcb070e21e096fd45fc186981036827d71cc62d2eaa808e48f634
Description-en: automatic mail-processing tool and filter
Mailagent is a mail delivery agent, and can be programmed to
respond to mail in ways more sophisticated than a mail filtering
program like procmail. It is easy to configure, and very easy to
extend using Perl. Not only can the base functionality be
extended, new commands and processing methods can be added in a
modular fashion.
.
Obeying lex-like rulesets, mailagent can file mails to specific
folders (plain Unix-style folders and also MMDF and MH ones),
forward messages to third parties, pipe them to commands or post
them to newsgroups. The filtering commands that are executed on
the messages can be extended, and may rewrite the message headers
or body as desired. It can also create and process commands based
on key words contained in the body of the mail message.
.
Mailagent can be used as a vacation program, and can answer mail
automatically and with more flexibility than the command of that
name. A template can be provided for the body of the response,
and the frequency of vacation mails can also be specified. Simple
macro substitutions allow parts of the mail header to be recycled
into the vacation messages, for a more personalized reply.
.
Mailagent can also be used to set up a generic mail server,
without the hassle of the lower-level concerns like error
recovery, logging or command parsing.
.
Please note that on Debian systems, mailagent requires a catch-all
rule saving all mail into the user's home directory. Unlike other
Mail Delivery Agents such as procmail, mailagent is too extensible
to be safely made setgid mail, and so cannot lock /var/spool/mail
mailboxes.
Description-md5: 72aa1356b5be0989045069d985606928
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu