Skip to main content
nplljw
New Member
February 20, 2025
Question

Fortianlyzer testing email server prompts' Command fail. Return code 67 '

  • February 20, 2025
  • 3 replies
  • 3317 views

Hello, I encountered an error while testing on Fanalyzer's email server. According to“ https://community.fortinet.com/t5/FortiAnalyzer/Troubleshooting-Tip-How-to-understand-the-email-SMTP-issues-and/ta-p/245012 I have conducted the following checks on this knowledge base:
1. Fananalyzer can normally access the Internet and smtp.qq.com
2. We have not imposed restrictions on ports 25 and 587
3. The username and password of the account are both correct (both the authorization code and the real password have been tried and the same error has been reported)
I hope to receive everyone's help, thank you

mail setting 截图.png命令行测试.png

3 replies

AEK
SuperUser
SuperUser
February 20, 2025

Hi

Usually port 25 doesn't allow authentication.

You may try with port 587.

AEK
nplljw
nplljwAuthor
New Member
February 20, 2025

截图2.pngUsing port 587 is also not possible

AEK
SuperUser
SuperUser
February 20, 2025

578 is STARTTLS, so you should disable the "secure-option", just like 25.

AEK
AEK
SuperUser
SuperUser
February 20, 2025

The second 334 code from the SMTP server should be followed by the encrypted password from FAZ side, while here it seems that FAZ is closing the connection (if I'm not wrong).

Just in case, can you confirm your credentials are correct?

Also can you share a screenshot from the GUI of your SMTP config on FAZ?

AEK
nplljw
nplljwAuthor
New Member
February 20, 2025

I can send emails normally by configuring a custom email server on Fortigate with the same password (the passwords filled in in FAZ and FGT are authorization codes)截图5.png

AEK
SuperUser
SuperUser
February 20, 2025

Is it the same configuration on FGT? Can you share the config to compare?

AEK
AEK
SuperUser
SuperUser
February 20, 2025

Can you add this:

set from yourusername@qq.com

 

AEK
AEK
SuperUser
SuperUser
February 20, 2025

Also try retype your password in the SMTP config and validate.

AEK
nplljw
nplljwAuthor
New Member
February 21, 2025

Hello, we have tried to reconfigure the password and set the from email address, but the same error still occurs截图11.png截图12.png