Mail-Toaster

 view release on metacpan or  search on metacpan

doc/modules/Logs.html  view on Meta::CPAN

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mail::Toaster::Logs</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@tenten-slave.macports.org" />
</head>

<body style="background-color: white">



<ul id="index">
  <li><a href="#NAME">NAME</a></li>
  <li><a href="#METHODS">METHODS</a></li>
  <li><a href="#AUTHOR">AUTHOR</a></li>
  <li><a href="#BUGS">BUGS</a></li>
  <li><a href="#SEE-ALSO">SEE ALSO</a></li>
  <li><a href="#COPYRIGHT">COPYRIGHT</a></li>
</ul>

<h1 id="NAME">NAME</h1>

<p>Mail::Toaster::Logs - objects and functions for interacting with email logs</p>

<p>This module contains functions related to mail logging and are used primarily in maillogs. Some functions are also used in toaster-watcher.pl and toaster_setup.pl.</p>

<h1 id="METHODS">METHODS</h1>

<dl>

<dt id="new">new</dt>
<dd>

<p>Create a new Mail::Toaster::Logs object.</p>

<pre><code>    use Mail::Toaster::Logs;
    $logs = Mail::Toaster::Logs-&gt;new;</code></pre>

</dd>
<dt id="report_yesterdays_activity">report_yesterdays_activity</dt>
<dd>

<p>email a report of yesterdays email traffic.</p>

</dd>
<dt id="verify_settings">verify_settings</dt>
<dd>

<p>Does some checks to make sure things are set up correctly.</p>

<pre><code>    $logs-&gt;verify_settings;</code></pre>

<p>tests:</p>

<pre><code>  logs base directory exists
  logs based owned by qmaill
  counters directory exists
  maillogs is installed</code></pre>

</dd>



( run in 0.515 second using v1.01-cache-2.11-cpan-119454b85a5 )