Technical Tip: How to validate the authentication between FortiMail and an email server
| Description | This article describes how to validate the authentication between a FortiMail and an email server. |
| Scope | FortiMail. |
| Solution |
execute telnettest <x.x.x.x>:25
If the answer is '334 VXNlcm5hbWU6', the authentication is Base64.
In this example, Microsoft PowerShell is used:
# User $user = "<username>" $userBase64 = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes($user)) $userBase64
For the password:
# Password $pass = "<Password>" $passBase64 = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes($pass)) $passBase64
execute telnettest <x.x.x.x>:25 <Value_For_the_user> <Value_For_the_PWD>
|




