FortiMail
FortiMail provides advanced, multi-layer protection against the full spectrum of email-borne threats
pchee
Staff
Staff
Article Id 353545
Description This article describes how to allow empty 'Envelope From' emails such as automatic reply/Out of office replies to be relay to an external recipient
Scope FortiMail v7.6.3.
Solution
  1. Automatic reply/ Out of office email was not able to relay over FortiMail because the From column was empty.

 

Screenshot 2025-09-26 092651.png

 

  1. Mail server receives error 'reject=554 5.7.1 Relaying denied'.
  2. Navigate under Policy -> Access Control -> Receiving.
  3. Select the 'New+' button and set the sender to wild card '*' and Recipient to 'External'.

 

empty header.jpg

 

  1. Specify the source to be a specific mail server IP to avoid open relay from FortiMail.
  2. Set the action to 'Safe & Relay'.

 

Note:

If multiple IPs are required for the relay, choose 'IP group' instead of 'IP/Netmask' as a source:

 

70.png

 

71.png