fix opening wrong log file (was used for debugging purposes only)

This commit is contained in:
Jordi Sanfeliu 2017-07-05 15:19:23 +02:00
parent 2aef7a31d6
commit 399300ae9e
1 changed files with 1 additions and 2 deletions

View File

@ -343,8 +343,7 @@ sub mail_update {
$rbl = 0;
if(-r $config->{mail_log}) {
my $date = strftime("%b %e", localtime);
# open(IN, $config->{mail_log});
open(IN, "/tmp/postfix-mail.log");
open(IN, $config->{mail_log});
if(!seek(IN, 0, 2)) {
logger("Couldn't seek to the end ($config->{mail_log}): $!");
return;