- or download this
if ($line =~ /relay=127\.0\.0\.1/) {
my ($id, $to, $status) = (split /\s+/, $line, 10)[5,6,9];
...
if (defined $messages{$id}{to2} ) { print ", $messages{$id}{t
+o2}"; }
print "\n";
}
- or download this
Nov 16 10:28:51 66AE820809D Terry.Puser@ourdomain.com carols@th
+eirdomain.com.au, daleb@theirdomain.com.au[, ...]
- or download this
Nov 16 10:28:51 smtp3 postfix/smtpd[17709]: connect from mailserver.ou
+rdomain.gov.au[168.x.x.x]
Nov 16 10:28:51 smtp3 postfix/smtpd[17709]: 66AE820809D: client=mailse
+rver.ourdomain.gov.au[[168.x.x.x]
...
Nov 16 10:28:52 smtp3 postfix/smtp[19429]: 883822080A4: to=<carols@the
+irdomain.com.au>, relay=mailhost.theirdomain.com.au[203.x.x.x], delay
+=1, status=sent (250 Message queued)
Nov 16 10:28:52 smtp3 postfix/smtp[19429]: 883822080A4: to=<daleb@thei
+rdomain.com.au>, relay=mailhost.theirdomain.com.au[203.x.x.x], delay=
+1, status=sent (250 Message queued)
Nov 16 10:28:52 smtp3 postfix/qmgr[9315]: 883822080A4: removed