Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
edwardvbs
New Contributor

Fortimail VM - Too many hops

Hello Everyone

 

I have a fortigate and fortimail VM setup in my lab that connects to two Exchange servers.

 

I can successfully receive external email through the Fortimail VM however when I try and send externally, It just gives me an error immediately "too many hops".

 

I have checked the fortigate and I see traffic passing for SMTP. 

 

I have policies setup on Fortimail and I can successfully validate MX records for my domain and i can telnet test externally on port 25 without issue.

 

Not sure what to change or where to check what is causing this. I even set the max hops to 200 to test and it uses all 200.

 

What I notice on the logs page is, that when I send externally, it lists the same email about 30 times, however when I receive, that mail is listed once.

 

Please can you guide me where to check this?

 

Thanks

Ed

1 REPLY 1
AEK
SuperUser
SuperUser

Hi Ed

This looks like a loop. Like if (probably) FGT or something else is sending back the mail to your FML, the FML send it again, and so. This can happen for example when you misuse DNAT on port 25, which should map only the external IP to the internal FML IP.

You said you see the mail about 30 times in the log, so can you take one session in these logs and see what is the client IP and what is the server IP?

AEK
AEK
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors