summaryrefslogtreecommitdiff
path: root/debian/patches/105_postscreen.diff
blob: c9216cb08c0fbe3c079adb518e0b74fc35145358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: add postscreen to smtpd
Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
Origin: Vaclav Ovsik <vaclav.ovsik@gmail.com>
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730826
Forwarded: <URL|no|not-needed, useless if you have a Bug field, optional>
Applied-Upstream: <version|URL|commit, identifies patches merged upstream, optional>
Reviewed-by:
Last-Update: 2014-07-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/mailgraph.pl
===================================================================
--- trunk.orig/mailgraph.pl	2014-07-06 06:25:59.000000000 +0200
+++ trunk/mailgraph.pl	2014-07-06 07:12:45.498550902 +0200
@@ -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