How to Install and Uninstall mailagent Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 17,2024

1. Install "mailagent" package

Learn how to install mailagent on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install mailagent

2. Uninstall "mailagent" package

Please follow the instructions below to uninstall mailagent on Ubuntu 21.10 (Impish Indri):

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

3. Information about the mailagent package on Ubuntu 21.10 (Impish Indri)

Package: mailagent
Architecture: amd64
Version: 1:3.1-106-1
Priority: optional
Section: universe/mail
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Manoj Srivastava
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1361
Depends: libc6 (>= 2.7), 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-106-1_amd64.deb
Size: 351200
MD5sum: 1711b8c4187b3d1cee5d8720506dd767
SHA1: c2a04742c4467835243dd08b9eb4196aa2b29b94
SHA256: 4a67d4bfbf6b274fbc0caa10a3efa5261ce87d56d44004f92aa56a2191c3f473
SHA512: ea996d16bbcde3252e4c732b7893c3166dab5f8d94cf7774f64f4c44c01ade72f07c02fc14e441d24602129246889a5efbd8de2e3afec08c9e8ced0b801ef8aa
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