Back to exam

FCP_FML_AD-7.4 Cheatsheet

FortiMail 7.4 Administrator

Download free PDF

SMTP fundamentals and deployment

Read the SMTP conversation

  • **SMTP** transfers mail between MTAs and accepts submissions from MUAs. **IMAP** synchronizes mailbox access; **POP3** retrieves messages. An MTA delivers to another MTA using SMTP.
  • **220** is the server greeting. **EHLO** identifies the client and requests ESMTP capabilities; **HELO** is the basic SMTP greeting. Extensions can include STARTTLS and AUTH.
  • **MAIL FROM** supplies the envelope sender; **RCPT TO** supplies each envelope recipient. These routing addresses can differ from the visible **From**, **To** and **Cc** headers.
  • **DATA** starts message transfer after a **354** response. Headers, including **Subject**, precede a blank line and the body. A line containing only a period ends DATA; **250** confirms acceptance.
  • **4xx** replies indicate temporary failure and normally lead to retries; **5xx** replies indicate permanent failure. SMTP acceptance transfers responsibility for delivery, but does not prove arrival in the final mailbox.

Direction and DNS

  • **Incoming email** has an envelope recipient in a protected domain. **Outgoing email** has a recipient outside protected domains. A protected sender address alone does not determine message direction.
  • **Transparent-mode connection direction** uses the destination IP: a protected domain SMTP server means incoming; another SMTP server means outgoing. Evaluate this separately from the RCPT TO domain.
  • An **incoming connection** can carry outgoing email, and an outgoing connection can carry incoming email. Use the configured protected server address and recipient domain as separate tests.
  • **MX records** identify a recipient domain's mail exchangers; **A/AAAA** resolve host addresses. Reliable DNS also supports sender checks, DKIM public-key retrieval and access to FortiGuard services.

Gateway, server and transparent modes

  • **Gateway mode** relays and scans mail for a separate protected mail server. **Server mode** also hosts user mailboxes. **Transparent mode** intercepts SMTP on the traffic path.
  • In **transparent mode**, the built-in MTA can be used implicitly; clients need not address it directly. The selected proxy or relay behavior controls the actual next hop.
  • The **built-in MTA** can queue undeliverable mail, retry delivery and generate DSNs. For external delivery it can use a configured relay host or resolve the recipient domain's MX records.
  • **Use client-specified SMTP server to send email** selects the outgoing non-queueing proxy. It preserves the client's chosen server, passes authentication through, and does not retry a failed connection. Plan the path to avoid scanning mail twice.

Access control, profiles and troubleshooting

Receive permission versus delivery

  • **Access receive rules** control whether an SMTP client may send or relay mail. Match the actual connecting IP, envelope patterns and authentication status; a claimed sender domain is not proof of trust.
  • To **require SMTP authentication**, enforce authenticated status in the applicable receive rule and remove broader rules that permit the same traffic unauthenticated. Enabling an authentication service only makes it available.
  • Mail to an **unprotected recipient domain** requires relay authorization. Restrict relay to authenticated users or explicitly trusted sources; a protected MAIL FROM address must not create an open relay.
  • **Access delivery rules** govern FortiMail's connection to the next-hop server, including applicable TLS requirements. Receive permission and delivery security address opposite sides of the SMTP relay.

Policy selection and log evidence

  • **IP policies** match connection attributes and apply session-level controls. **Recipient policies** match envelope sender and recipient patterns and select the applicable inspection profiles.
  • **Exclusive** means the IP policy takes precedence over recipient-policy matching. With it disabled, applicable recipient policies can also apply. Check this flag when expected user-specific scanning is absent.
  • Separate trusted **outbound relay traffic** from external senders with suitable IP policies and session profiles. Sender-reputation checks applied to a shared internal relay can affect many users behind that relay.
  • Read **Policy ID** fields in order: access-control rule, IP policy, recipient policy. A **0** indicates no matching policy at that stage; a zero recipient field can result from no match or exclusive IP-policy handling.
  • **SYSTEM** identifies system-level policy context, not an automatic rejection. Correlate policy IDs with message/session identifiers, direction, action and delivery status. In history logs, **Mailer mta** identifies the built-in MTA; **proxy** identifies proxy processing.
  • A growing **deferred queue** means mail awaits another delivery attempt. Check next-hop DNS, routing, SMTP replies, TLS and reputation controls. Distinguish failure to accept from the upstream sender from failure to deliver downstream.

Sender validation and message protection

Sender and authentication reputation

  • **Sender reputation** evaluates SMTP-client behavior, including spam, infected messages and invalid recipients. Configured thresholds can throttle, temporarily reject or block clients.
  • **Local sender reputation** is behavior learned by FortiMail. **FortiGuard IP reputation** queries a reputation service. Identify which mechanism acted before changing a profile or clearing learned state.
  • **Authentication reputation** tracks failed login activity. Inspect the entry's IP, violation, access type and expiry to identify the affected service; do not infer an SSH or administrative failure from the IP alone.
  • **Monitor-only** records potential authentication blocks; enforcement applies the configured blocking period. Distinguish authentication abuse from a sender's message-quality reputation.

Antispam checks and DKIM signing

  • **FortiGuard URL filtering** rates links; **FortiGuard IP reputation** rates sending IPs. **DNSBL** checks a DNS-based address list; **SURBL** checks domains or URIs found in message content.
  • **BATV** tags outbound envelope return addresses and validates returning bounces. It helps reject backscatter: DSNs caused by attackers forging your organization's sender addresses.
  • **Spam outbreak protection** uses outbreak intelligence. Read the configured action or monitor setting to determine whether a detection is logged, held or blocked; the feature name alone does not specify disposition.
  • **DKIM signing** requires a protected-domain key pair, publication of its public key in a selector TXT record, and outbound signing enabled in the matching session profile. Keep the private key on FortiMail.
  • **DKIM verification** checks a received signature using DNS; enabling verification does not enable outbound signing. **SPF** evaluates sending-host authorization for the envelope domain; neither mechanism encrypts message content.

Malware inspection, sandboxing and DLP

  • **Antivirus scan profiles** select inspection behavior; **antivirus action profiles** select what happens after detection. Removing infected content, adding replacement text and quarantining an original are distinct actions.
  • **System quarantine** and **personal quarantine** have different access and release workflows. Check which copy is stored and which copy, if any, proceeds to the recipient.
  • **FortiSandbox scan timeout** is how long FortiMail waits for a result. **Scan result expiry** controls local cache retention; **statistics interval** controls status retrieval. These settings solve different timing problems.
  • **Scan-and-wait** waits for sandbox results; **scan-only** submits without waiting. Configure failure and timeout handling deliberately rather than assuming an unanswered submission is clean.
  • **DLP scan rules** combine selected message locations, dictionaries or data patterns, conditions and actions. A literal subject keyword differs from a structured credit-card-number match in the body or attachment.
  • Evaluate **AND/OR conditions**, sender/recipient scope and scanned locations together. Matching a sender selector alone does not imply that every content condition matched.

Transport security and secure message delivery

TLS and MTA-STS

  • **STARTTLS** upgrades an SMTP session after capability negotiation. **SMTPS** starts with TLS immediately, commonly on port 465. SMTP relay commonly uses port 25; message submission commonly uses port 587.
  • Allowing **SMTP over SSL/TLS** enables secure connections but does not by itself reject every plaintext connection. Use the appropriate receive or delivery rule and TLS profile to enforce the required security.
  • **TLS profiles** define transport requirements, certificate checks and failure handling. Distinguish receiving-client requirements from security on FortiMail's outbound connection to a destination MTA.
  • **MTA-STS** checks a recipient domain's published transport-security policy. Enable domain checking globally, then select the required MTA-STS behavior in the applicable TLS profile. **Check External Domain** limits global checking to external destinations.

IBE delivery and account lifetime

  • **Identity-Based Encryption (IBE)** provides secure message access using the recipient's identity. Recipients access the secure service without first obtaining an S/MIME certificate.
  • **Push** delivers the encrypted message to the recipient; FortiMail does not retain that message as pull-delivery storage. **Pull** retains the message on FortiMail and sends a notification for secure retrieval.
  • The **maximum push size** is a delivery-method threshold. A message exceeding that limit uses pull delivery. The encryption algorithm and **action on failure**, such as enforcing TLS or dropping with a DSN, are separate settings.
  • **Registration expiry** limits the initial registration window. **Inactivity expiry** measures time since the user's last access and can require re-registration. Neither setting is a promise of continuous authenticated access.
  • Treat **account expiry**, password-reset expiry and secure-message retention separately. An expired IBE user must re-register when a new secure-message notification arrives; portal reachability is essential to retrieval.

Server services, archiving and availability

User resources and archived mail

  • In **server mode**, resource profiles group user-service settings such as mailbox quota, retention and access to supported client or collaboration features. Assign profiles to match the needs of different user groups.
  • For calendar integration, obtain the relevant **service URLs** from webmail user preferences. A **free/busy URL** exposes availability information and serves a different purpose from calendar publishing or subscription.
  • **Archive policies** select which messages are copied and where they are retained. Check sender/recipient patterns, spam exclusions and the destination archive or journal account together.
  • **Archiving** retains selected correspondence; **quarantine** isolates messages for review. Archive-account access permissions determine who may search retained mail and are separate from the policy's message-match conditions.

Choose the HA design

  • **Active-passive HA** uses a primary for mail processing and a standby for failover. Configure mail-data and MTA-queue synchronization according to the storage design.
  • **Active-active HA** lets all members process mail, with a load balancer distributing connections and removing unhealthy members. Configuration synchronization does not replicate every member's live SMTP sessions.
  • **Server-mode active-active** requires central mail storage on an NFS-capable NAS so users' mail is not scattered across appliances. Protect the NAS as part of the availability design.
  • **Mixed-model HA** requires the same firmware version. The least capable model constrains group capacity and configuration limits; a larger primary does not remove those limits.

Heartbeat, failover and monitoring

  • Use isolated **heartbeat and synchronization links**, preferably with redundancy. Give peers distinct interface IPs on the appropriate subnet and configure peer addresses consistently.
  • A **virtual IP** is the shared service identity used during failover. Keep it distinct from each member's own address. Heartbeat selection, virtual-IP action and port monitoring are separate controls.
  • **Interface monitoring** detects local link faults; **service monitoring** detects selected service failures. Compare configured and effective HA roles when investigating failover.
  • **HA centralized monitoring** requires the advanced management license. Enable the feature to view member health and aggregate mail statistics from the primary; license FortiGuard services on every member that uses them.