Fortimail Transparent - Deffered session SMTP dsn=4.7.25 rejected: cannot find your hostname
Hello everyone
I have a fortimail unit configured in transparent mode located opposite the mail server in the same DMZ subnet.
After configuring the unit to be able to handle both incoming and outgoing mail traffic, both via webmail and clients (outlook, gmail etc...) everything works.
I set the proxy for incoming mails on port 1 (the one collagated to the DMZ switch and successively to the fortigate) while on port 3 connected to the server both options are in pass trought.
Coming to the point, I have printers located in some external districts of my company that show up sometimes with 192168.X.0/24 addresses or public IP address.
I see from the logs that the incoming sessions pass the spam check safely thanks in part to the authentication profile for SMTP connections AUTH
When a session arrives from a printer (I can see this since "Xerox_Scan" appears in the subject column)
Of my internal lan 192.168.0.X
the last associated mail event log reports the entry: "dsn=2.0.0, stat=Sent (Ok: queued)"
while if the session arrives from a Public Ip or Subnet from another district that shows up with 192.168.X.0/24 (again with subjective Xerox_Scan)
That would be the printers invoking a scan to an address in my domain using a dedicated account: printers@example.com
the last associated mail event log shows the entry: "dsn=4.7.25, stat=Deferred: 450 4.7.25 Client host rejected: cannot find your hostname"
Now, searching the internet the problem should reside on the reverse DNS PTR record, but I know that's not the problem since before the fortimail unit was installed everything was working normally.
Plus when connections come from a mail client like outlook even with public ip address, the problem does not exist. always presenting the entry: "dsn=2.0.0, stat=Sent (Ok: queued)"
What could it depend on?
