mailgraph do not count received and rejects

View: New views
4 Messages — Rating Filter:   Alert me  

mailgraph do not count received and rejects

by Carnac :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,

I have a problem. Mailgraph do not count rejects and received.

Mailgraph 1.14
Postfix 2.3

I tried to debug the mailgraph (v1.14) a little bit.

First   I   look  for  parsing, it works and forwards to "sub events",
but there are no counts.

Example log
1. debug  1231090994: client: unknown[67.207.186.81]
  -> parsing works and calls "event($time, 'received')"

2. debug received=0
 -> $sum(received) before code line "update($t) and $sum{$type}++;"
  in sub event()

3. debug 1231090994: received=0
   -> sum(received) after "my $t = shift;" in sub update()

4. debug received2=0
 -> $sum(received) after code line   "update($t) and $sum{$type}++;"
 in sub event()

 Any hints ?

 regards
 Herbert



--
Unsubscribe mailto:mailgraph-request@...?subject=unsubscribe
Help        mailto:mailgraph-request@...?subject=help
Archive     http://lists.ee.ethz.ch/mailgraph
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi


Re: mailgraph do not count received and rejects

by Hugo van der Kooij :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Carnac wrote:

> I have a problem. Mailgraph do not count rejects and received.
>
> Mailgraph 1.14
> Postfix 2.3

Can you share a set of log lines for say 3 to 5 messages?

Make sure they get to the list as verbatim as you found them in the log
file.

Also indicate which counters do seem to work.

Hugo.

- --
hvdkooij@...               http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

        A: Yes.
        >Q: Are you sure?
        >>A: Because it reverses the logical flow of conversation.
        >>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAklhr0EACgkQBvzDRVjxmYHADQCeOdnoD18+PDmnzpiUpGRG9Vgc
wmwAoK090MPJVyHUlzCLWYvrubUT+Seo
=PMiM
-----END PGP SIGNATURE-----

--
Unsubscribe mailto:mailgraph-request@...?subject=unsubscribe
Help        mailto:mailgraph-request@...?subject=help
Archive     http://lists.ee.ethz.ch/mailgraph
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi


Parent Message unknown Re: mailgraph do not count received and rejects

by Carnac :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

>> I have a problem. Mailgraph do not count rejects and received.
>>
>> Mailgraph 1.14
>> Postfix 2.3

HvdK> Can you share a set of log lines for say 3 to 5 messages?

HvdK> Make sure they get to the list as verbatim as you found them in the log
HvdK> file.

Here "reject's":

Jan  4 20:01:47 smeagol postfix/smtpd[7688]: NOQUEUE: reject: RCPT from unknown[58.33.176.54]: 554 5.7.1 <unknown[58.33.176.54]>: Client host rejected: Access denied; f
rom=<received92@...> to=<abrahamdonohue@...> proto=ESMTP helo=<54.176.33.58.broad.xw.sh.dynamic.163data.com.cn>
Jan  4 20:01:48 smeagol postfix/smtpd[7688]: NOQUEUE: reject: RCPT from unknown[58.33.176.54]: 554 5.7.1 <unknown[58.33.176.54]>: Client host rejected: Access denied; f
rom=<received92@...> to=<abrahamdonohue@...> proto=ESMTP helo=<54.176.33.58.broad.xw.sh.dynamic.163data.com.cn>


Here "received"
Jan  4 20:17:04 smeagol postfix/smtpd[14063]: connect from unknown[194.59.169.11]
Jan  4 21:17:05 smeagol postgrey[26403]: action=pass, reason=triplet found, client_name=unknown, client_address=194.59.169.11, sender=info@..., recipient=lj@
fto.de
Jan  4 21:17:05 smeagol postfix/smtpd[21089]: connect from unknown[127.0.0.1]
Jan  4 20:17:05 smeagol postfix/smtpd[14063]: NOQUEUE: client=unknown[194.59.169.11]
Jan  4 20:17:05 smeagol postfix/smtpd[21089]: 7D06C82F08B: client=unknown[194.59.169.11]
Jan  4 21:17:05 smeagol before-remote[21088]: check handlers for addr: info@...
Jan  4 21:17:05 smeagol before-queue[21086]: check handlers for addr: info@...
Jan   4 21:17:05 smeagol before-queue[21086]: check handlers for addr:
xx@...
Jan  4 21:17:05 smeagol before-remote[21088]: check handlers for addr:
xx@...
Jan  4 21:17:05 smeagol before-remote[21088]: Processing handlers...
Jan  4 20:17:05 smeagol postfix/smtpd[8841]: connect from unknown[84.245.213.74]
Jan  4 21:17:05 smeagol before-remote[21088]: hook_dir = '/usr/local/psa/handlers/before-remote'
Jan  4 21:17:05 smeagol before-remote[21088]: recipient[3] = 'xx@...'
Jan    4   21:17:05   smeagol  before-remote[21088]:  handlers  dir  =
'/usr/local/psa/handlers/before-remote/recipient/xx@...'
Jan  4 21:17:05 smeagol postfix/cleanup[21091]: 7D06C82F08B: message-id=<783192757feb0386f1feb4fc39caeb47@...>
Jan  4 21:17:05 smeagol postfix/qmgr[29577]: 7D06C82F08B: from=<info@...>, size=12777, nrcpt=1 (queue active)
Jan  4 20:17:05 smeagol postfix/smtpd[14063]: disconnect from unknown[194.59.169.11]
Jan  4 20:17:05 smeagol postfix/smtpd[21089]: disconnect from unknown[127.0.0.1]




HvdK> Also indicate which counters do seem to work.

The counters that works are sent, bounced and spam(with spamd).


Regards,

Herbert

--
Unsubscribe mailto:mailgraph-request@...?subject=unsubscribe
Help        mailto:mailgraph-request@...?subject=help
Archive     http://lists.ee.ethz.ch/mailgraph
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi


Re: mailgraph do not count received and rejects

by Carnac :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

>>> I have a problem. Mailgraph do not count rejects and received.
>>>
>>> Mailgraph 1.14
>>> Postfix 2.3

I  changed  Postfix  to  2.5  but  it doesn't help.... any ideas are welcome ;)


Regards


--
Unsubscribe mailto:mailgraph-request@...?subject=unsubscribe
Help        mailto:mailgraph-request@...?subject=help
Archive     http://lists.ee.ethz.ch/mailgraph
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi