whitelist: added debug log message & std plugin
entries.
This commit is contained in:
parent
cd4eda80e1
commit
7b420252f0
@ -94,6 +94,12 @@ automatically allow relaying from that IP.
|
|||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
|
||||||
|
use lib 'lib';
|
||||||
|
use Qpsmtpd::Constants;
|
||||||
|
|
||||||
my $VERSION = 0.02;
|
my $VERSION = 0.02;
|
||||||
|
|
||||||
# Default is to merge whitelists in per_recipient mode
|
# Default is to merge whitelists in per_recipient mode
|
||||||
@ -144,6 +150,7 @@ sub check_host {
|
|||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$self->log(LOGDEBUG, "skip: $ip is not whitelisted");
|
||||||
return DECLINED;
|
return DECLINED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user