amavis: fix output result checking
This commit is contained in:
parent
1d06721b96
commit
357914b44e
|
@ -20,6 +20,7 @@ The **patch** part changes incrementally at each release.
|
|||
### Fixed
|
||||
* evoacme: better error when apache2ctl fails
|
||||
* spamassassin: add missing right for amavis
|
||||
* amavis: fix output result checking
|
||||
|
||||
### Security
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ $smtp->close();
|
|||
|
||||
print "$result\n";
|
||||
|
||||
if ($result =~/2.5.0 Ok, id=[^,]+, BOUNCE/) {
|
||||
if ($result =~/2.7.0 Ok, discarded, id=[^,]+ - INFECTED: Eicar-Test-Signature/) {
|
||||
print "OK - All fine\n";
|
||||
exit 0;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue