How to Install and Uninstall mailagent Package on Kali Linux

Last updated: May 20,2024

1. Install "mailagent" package

This guide covers the steps necessary to install mailagent on Kali Linux

$ sudo apt update $ sudo apt install mailagent

2. Uninstall "mailagent" package

Here is a brief guide to show you how to uninstall mailagent on Kali Linux:

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

3. Information about the mailagent package on Kali Linux

Package: mailagent
Version: 1:3.1-106-1
Installed-Size: 1356
Maintainer: Manoj Srivastava
Architecture: amd64
Depends: libc6 (>= 2.14), debconf (>= 1.2.0) | debconf-2.0, perl, libperl4-corelibs-perl, exim4 | postfix | sendmail | mail-transport-agent, libfile-fcntllock-perl
Size: 363796
SHA256: 0fceafb3189e4f297238efc0b5b28fbe65a6c2c25beec5220f07869d7548f118
SHA1: aa820e365801e9d6cabb0861f3403207b86bf43c
MD5sum: fa38c9b0b4d2040e6d5b79a831765323
Description: 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:
Tag: devel::interpreter, implemented-in::perl, interface::commandline,
mail::filters, role::program, scope::utility, works-with::mail
Section: mail
Priority: optional
Filename: pool/main/m/mailagent/mailagent_3.1-106-1_amd64.deb