Skip to main content
Trevor_Budd
New Member
January 30, 2019
Question

Error deleting mail server. Says "used"

  • January 30, 2019
  • 1 reply
  • 2938 views

Hi, my FortiAnalyzer was set up with an errorneous mail server definition (typo). I have created the correct mail server entry and am trying to delete the bad one. However the delete failed with the error "used". I found 2 event handlers that were using the bad mail server definition and corrected them. However there appears to be more places where it is in use. How do I find all instances where the bad mail server definition is used?

    1 reply

    rduggal_FTNT
    Staff
    Staff
    January 31, 2019

    Hello Trevor,

     

    - Take the un-encrypted backup of the config file from FAZ (System Settings -> Dashboard -> System Configuration ->  Backup)

     

    - Rename the config file and change the format from .dat to .gzip2

    - Decompress it and again rename and change the format to .dat

    - Open the file with file editor (large file editor or online tools works fine)

    -Search for the name of the "mail server" profile that you want to delete and you'll find the references

     

    Thanks & Regards

    Ravi Shankar Duggal

    Fortinet Inc