2017 © Pedro Peláez
 

library maillog

Coercive Utility MailLog

image

coercive/maillog

Coercive Utility MailLog

  • Monday, May 14, 2018
  • by Coercive
  • Repository
  • 1 Watchers
  • 0 Stars
  • 39 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 200 % Grown

The README.md

(IN WORKS)

MailLog

Rejected email detection for Exim4 and Postfix, (*1)

Exim4

$exim = new EximBL('/var/log/exim_log_file');

echo "

";
var_dump($exim->get());
var_dump($exim->getEmails());
var_dump($exim->getNb());
echo "
";

Postfix

# Example of config
$postfix = new PostfixBL(
    '/var/log/mail.log',
    'localhost.localdomain[127.0.0.1]',
    'name0123'
);

# Set your search client
$postfix->search('no-reply\@my-domain\.email', PostfixBL::DAEMON_PICKUP);

# Parse options
$postfix->parse('bounced', true, 0, 10);

echo "

";
var_dump($postfix->getIds());
var_dump($postfix->getDatas());
var_dump($postfix->getEmails());

# Distinct emails
var_dump($postfix->getEmails(true));
echo "
";

The Versions

14/05 2018

dev-master

9999999-dev http://coercive.fr

Coercive Utility MailLog

  Sources   Download

MIT

The Requires

  • php >=7.1

 

14/05 2018

0.0.0

0.0.0.0 http://coercive.fr

Coercive Utility MailLog

  Sources   Download

MIT

The Requires

  • php >=7.1