config emailfilter block-allow-list
Configure anti-spam block/allow list.
config emailfilter block-allow-list
Description: Configure anti-spam block/allow list.
edit <id>
set name {string}
set comment {var-string}
config entries
Description: Anti-spam block/allow entries.
edit <id>
set status [enable|disable]
set type [ip|email-to|...]
set action [reject|spam|...]
set addr-type [ipv4|ipv6]
set ip4-subnet {ipv4-classnet}
set ip6-subnet {ipv6-network}
set pattern-type [wildcard|regexp]
set pattern {string}
next
end
next
end
config emailfilter block-allow-list
Parameter |
Description |
Type |
Size |
Default |
---|---|---|---|---|
name |
Name of table. |
string |
Not Specified |
|
comment |
Optional comments. |
var-string |
Not Specified |
|
config entries
Parameter |
Description |
Type |
Size |
Default |
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
status |
Enable/disable status. |
option |
- |
enable |
||||||||||
|
|
|||||||||||||
type |
Entry type. |
option |
- |
ip |
||||||||||
|
|
|||||||||||||
action |
Reject, mark as spam or good email. |
option |
- |
spam |
||||||||||
|
|
|||||||||||||
addr-type |
IP address type. |
option |
- |
ipv4 |
||||||||||
|
|
|||||||||||||
ip4-subnet |
IPv4 network address/subnet mask bits. |
ipv4-classnet |
Not Specified |
0.0.0.0 0.0.0.0 |
||||||||||
ip6-subnet |
IPv6 network address/subnet mask bits. |
ipv6-network |
Not Specified |
::/128 |
||||||||||
pattern-type |
Wildcard pattern or regular expression. |
option |
- |
wildcard |
||||||||||
|
|
|||||||||||||
pattern |
Pattern to match. |
string |
Not Specified |
|