This software provides a Perl binding of the Sendmail Milter protocol, allowing for easier communication between mail transfer agents and mail filters.
Sendmail::PMilter is an innovative mail filtering API that is built on the Sendmail milter protocol and is coded entirely in Perl. This powerful tool allows SMTP connections to be filtered and modified during the email transfer process, making it ideal for use with Sendmail servers (and other MTAs that implement milter).
Compatibility:
It should be noted that PMilter 0.90 and later is not compatible with scripts written for PMilter 0.5 and earlier. The API has undergone a significant rework to remove the enhanced APIs and rule logic provided by PMilter 0.5 and earlier. This has been separated into a standalone package called Mail::Milter.
Usage:
To use this powerful tool, simply include the following code in your script:
use Sendmail::PMilter;
my $milter = new Sendmail::PMilter;
$milter->auto_setconn(NAME);
$milter->register(NAME, { CALLBACKS }, FLAGS);
$milter->main();
This will load the Sendmail::PMilter API, initialize the connection, and start the main loop to begin filtering and modifying email in transit.
Conclusion:
If you are looking for a reliable and powerful tool to filter and modify emails during the SMTP connection process, Sendmail::PMilter is the perfect solution. With its compatibility with Sendmail servers and other MTAs, and its easy-to-use API, Sendmail::PMilter has quickly become one of the most popular choices for mail filtering and modification.
Version 0.97: N/A