Skip to main content
Trevor_Budd
New Member
Jan 30, 2019 1:01 PM UTC
Question

Error deleting mail server. Says "used"

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
    Jan 31, 2019 1:11 AM UTC

    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

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT