Registry testing - part 13
This commit is contained in:
@@ -11,7 +11,7 @@ if eval "query('sql', 'SELECT 1 FROM blocked_senders WHERE addr=? LIMIT 1', [env
|
||||
reject "Your address has been blocked.";
|
||||
}
|
||||
|
||||
if eval "!is_local_domain('', 'localdomain.org') || is_local_domain('', 'other.org')" {
|
||||
let "reason" "'result: ' + is_local_domain('', 'localdomain.org') + ' ' + is_local_domain('', 'other.org')";
|
||||
if eval "!is_local_domain('foobar.org') || is_local_domain('other.org')" {
|
||||
let "reason" "'result: ' + is_local_domain('foobar.org') + ' ' + is_local_domain('other.org')";
|
||||
reject "is_local_domain function failed: ${reason}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user