config spamfilter emailbwl edit 1 set comment ' <your comments>' config entries edit 1 set action {clear|spam} set email-pattern " <mail/domain/pattern>" <-your entry list here set pattern-type {wildcard|regexp} set status {enable|disable} next edit 2 ... next next end set name " <defined-emailbwl>" next endOnce you' ve the text file you can Paste directly into the destination FTG Console or use the feature " Import Bulk CLI Commands" from System->Maintenance->Backup&Restore->Advanced menu
regards
/ Abel
ORIGINAL: abelio Sure, You need put your BWL list in FTG format. You can do that using a script (shell, perl, python, whatever) to generate a text file with your entries in the following format:I have only one question: does I have to keep up the exact alignment you posted it, or can I upload an unalligned text file ? 10x in advance.config spamfilter emailbwl edit 1 set comment ' <your comments>' config entries edit 1 set action {clear|spam} set email-pattern " <mail/domain/pattern>" <-your entry list here set pattern-type {wildcard|regexp} set status {enable|disable} next edit 2 ... next next end set name " <defined-emailbwl>" next endOnce you' ve the text file you can Paste directly into the destination FTG Console or use the feature " Import Bulk CLI Commands" from System->Maintenance->Backup&Restore->Advanced menu
The most expensive and scarce resource for man is time, paradoxically, it' s infinite.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.