Configuring mail settings : Configuring protected domains : Configuring removal of invalid accounts
Configuring removal of invalid accounts
This section does not apply to server mode.
Select a method by which to periodically remove quarantined spam for which an email user account does not actually exist on the protected email server.
If you select either Use SMTP server or Use LDAP server, the FortiMail unit queries the server daily (at 4:00 AM daily unless configured for another time in the CLI; see the FortiMail CLI Reference) to verify the existence of email user accounts. If an email user account does not currently exist, the FortiMail unit removes all spam quarantined for that email user account.
 
If you have also enabled Recipient Address Verification (see “Configuring recipient address verification”), the FortiMail unit does not form quarantine accounts for email user accounts that do not exist on the protected email server. In that case, invalid quarantine accounts are never formed, and this option may not be necessary, except when you delete email user accounts on the protected email server. If this is the case, you can improve the performance of the FortiMail unit by disabling this option.
1. Go to Mail Settings > Domains > Domains.
2. Either click New to create a new protected domain, or click an row to modify it.
A multisection dialog appears. Its options vary with the operation mode.
3. Click the arrow to expand the section.
4. Configure the following:
 
GUI item
Description
Disable
Do not verify that the recipient address is an email user account that actually exists.
Use SMTP server
Query the SMTP server to verify that the recipient address is an email user account that actually exists.
Use LDAP server:
Query an LDAP server to verify that the recipient address is an email user account that actually exists. Also select the LDAP profile that will be used to query the LDAP server. For more information on configuring LDAP profiles, see “Configuring LDAP profiles”.