On FortiMail (in server mode) example.lab is configured as protected domain.
Configured some users, and created a alias user email id as all@example.lab and moved all the users to this.
Only specific users should send the emails to alias email id, and the rest should not.
config profile email-address-group
edit restricted
config member
edit exam2@example.lab
next
edit exam3@example.lab
next
end
next
end
config policy access-control receive
edit 1
set sender-pattern <int>
set authenticated not-authenticated
next
edit 3
set sender-pattern-type group
set sender-pattern-group restricted
set recipient-pattern all@example.lab
set authenticated authenticated
set action relay
next
edit 2
set sender-pattern <int>
set recipient-pattern all@example.lab
next
end
Column Content
Log Type History
Date 2016-12-13
Time 23:12:38
Classifier Not Spam
Disposition Accept
From exam2@example.lab
To exam1@example.lab
Subject testing for alias
Session ID uBE7CbfJ008378-uBE7CbfK008378
Client [10.5.25.24]
Level information
Type statistics
Destination IP 10.5.25.42
Length 380
Resolved FAIL
Mailer mta
Direction in
Policy IDs 3:1:3
Domain example.lab
Log ID 0200008379
Column Content
Log Type History
Date 2016-12-13
Time 23:11:44
Classifier Access Control-Reject
Disposition Reject
From exam1@example.lab
To all@example.lab
Session ID uBE7BbIt008374-uBE7BbIu008374
Client [10.5.25.24]
Level information
Type statistics
Destination IP 10.5.25.42
Length 394
Resolved FAIL
Mailer mta
Direction in
Policy IDs 2:1:0
Domain example.lab
Log ID 0200008375
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.