Package: mailgraph Version: 1.14-11 Severity: minor Tags: patch Dear Maintainer, thanks for packaging mailgraph! With Wheezy version of Postfix it is possible to change Postfix inet smtp service from smtpd to postscreen (details /usr/share/doc/postfix/POSTSCREEN_README.gz) for a MX host. An example of postscreen log then:
Nov 29 22:26:26 vidle1 postfix/postscreen[10282]: PREGREET 21 after 0.12 from [37.214.215.119]:52215: HELO 37.214.215.119\r\n Nov 29 22:26:26 vidle1 postfix/dnsblog[28804]: addr 37.214.215.119 listed by domain b.barracudacentral.org as 127.0.0.2 Nov 29 22:26:26 vidle1 postfix/dnsblog[10414]: addr 37.214.215.119 listed by domain zen.spamhaus.org as 127.0.0.11 Nov 29 22:26:26 vidle1 postfix/dnsblog[10414]: addr 37.214.215.119 listed by domain zen.spamhaus.org as 127.0.0.4 Nov 29 22:26:26 vidle1 postfix/postscreen[10282]: DNSBL rank 4 for [37.214.215.119]:52215 Nov 29 22:26:27 vidle1 postfix/postscreen[10282]: NOQUEUE: reject: RCPT from [37.214.215.119]:52215: 550 5.7.1 Service unavailable; client [37.214.215.119] blocked using bl.spamcop.net; from=<>, to=<kktji08-nv...@i.cz>, proto=SMTP, helo=<37.214.215.119> Nov 29 22:26:27 vidle1 postfix/postscreen[10282]: HANGUP after 0.56 from [37.214.215.119]:52215 in tests after SMTP handshake Nov 29 22:26:27 vidle1 postfix/postscreen[10282]: DISCONNECT [37.214.215.119]:52215 To parse rejected mails correctly the following fix helps: vidle1:/usr/sbin# diff -u mailgraph~ mailgraph --- mailgraph~ 2012-06-17 10:04:34.000000000 +0200 +++ mailgraph 2013-11-29 20:09:31.000000000 +0100 @@ -619,7 +619,7 @@ event($time, 'bounced'); } } - elsif($prog eq 'smtpd') { + elsif($prog eq 'smtpd' || $prog eq 'postscreen') { if($text =~ /^(?:[\dA-F]+|[\dB-DF-HJ-NP-TV-Zb-df-hj-np-tv-z]+): client=(\S+)/) { my $client = $1; return if $opt{'ignore-localhost'} and Thanks Cheers -- Zito -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org