dspam: better error message if dspam_bin is not found
This commit is contained in:
parent
b0f5618d72
commit
3127f4d4c5
@ -216,7 +216,7 @@ sub register {
|
|||||||
$self->{_args}{dspam_bin} ||= '/usr/local/bin/dspam';
|
$self->{_args}{dspam_bin} ||= '/usr/local/bin/dspam';
|
||||||
|
|
||||||
if ( ! -x $self->{_args}{dspam_bin} ) {
|
if ( ! -x $self->{_args}{dspam_bin} ) {
|
||||||
$self->log(LOGERROR, "dspam not found: ");
|
$self->log(LOGERROR, "dspam CLI binary not found: install dspam and/or set dspam_bin");
|
||||||
return DECLINED;
|
return DECLINED;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user