Skip to content

Commit

Permalink
PolicydSPF: build bump + small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxwin committed Jul 3, 2017
1 parent fcd0a3c commit 3c50070
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions incubator/PolicydSPF/backend/PolicydSPF.pm
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ EOF
$fileContent .= $confSnippet;
}

my $rs = $file->set( $fileContent );
$rs ||= $file->save( );
$file->set( $fileContent );

my $rs = $file->save( );
$rs ||= $mta->postconf(
(
'policy-spf_time_limit' => {
Expand Down Expand Up @@ -156,8 +157,9 @@ EOF
$fileContent = replaceBloc(
"# Plugin::PolicydSPF - Begin\n", "# Plugin::PolicydSPF - Ending\n", '', $fileContent
);
$rs = $file->set( $fileContent );
$rs ||= $file->save( );

$file->set( $fileContent );
$file->save( );
}

=back
Expand Down
4 changes: 2 additions & 2 deletions incubator/PolicydSPF/info.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
'email' => 'team@i-mscp.net',
'version' => '1.2.0',
'require_api' => '1.4.0',
'date' => '2017-07-01',
'build' => '2017070100',
'date' => '2017-07-03',
'build' => '2017070300',
'name' => 'PolicydSPF',
'desc' => 'Provides Simple Postfix policy server for RFC 4408/7208 SPF checking.',
'url' => 'https://wiki.i-mscp.net/doku.php?id=plugins:policydspf'
Expand Down

0 comments on commit 3c50070

Please sign in to comment.