On Mon, 2 Feb 2004, Tobias Oetiker wrote:

> you might want to look at david schweikerts mailgraph for
> inspiration
>
> http://people.ee.ethz.ch/~dws/software/mailgraph/

If you happen to run sendmail instead of postfix you might want to add:

        elsif($prog eq 'sendmail') {
                if($text =~ /mailer=local/ ) {
                        event($time, 'received');
                }
                if($text =~ /stat=Sent/ ) {
                        event($time, 'sent');
                }
                if($text =~ /lost input channel/ ) {
                        event($time, 'rejected');
                }
                if($text =~ /ruleset=check_rcpt/ ) {
                        event($time, 'bounced');
                }
                if($text =~ /sender blocked/ ) {
                        event($time, 'bounced');
                }
                if($text =~ /sender denied/ ) {
                        event($time, 'bounced');
                }
                if($text =~ /recipient denied/ ) {
                        event($time, 'bounced');
                }
        }

Somewhere along the list of programs and events.

Hugo.


-- 
 All email sent to me is bound to the rules described on my homepage.
    [EMAIL PROTECTED]           http://hvdkooij.xs4all.nl/
            Don't meddle in the affairs of sysadmins,
            for they are subtle and quick to anger.

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to