Package: mailgraph Version: 1.12-2.1 Once a user uses a mail-retrieval tool like fetchmail in conjunction with a MTA like postfix for local mail distribution the mail will be sent to a local user's mailbox and thus should be considered as 'mail receiving'.
Without this patch the mails would just stay unaccounted for the graphs. Signed-off-by: Patrick Ringl <[EMAIL PROTECTED] -- --- mailgraph.old 2007-05-26 17:47:14.000000000 +0200 +++ mailgraph 2007-05-26 15:06:46.000000000 +0200 @@ -510,6 +510,15 @@ if($text =~ /\bstatus=bounced\b/) { event($time, 'bounced'); } + # + # Once a user uses a mail-retrieval tool like fetchmail in conjunction with a MTA like postfix for local mail distribution + # the mail will be sent to a local user's mailbox and thus should be considered as 'mail receiving'. + # + # Without this patch the mails would just stay unaccounted for the graphs. + # + elsif($text =~/\bstatus=sent\b/) { + event($time, 'received'); + } } elsif($prog eq 'smtpd') { if($text =~ /^[0-9A-F]+: client=(\S+)/) { -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]