Are you using a secure connection or secure logon ?
If so avast detects that and switches to the secure SMTP port.
The Mail Shield is also expecting SMTP protocol to be used over the SMTP port/s and you are using telnet protocol, so that would also throw it into a bit of a look as all email ports are redirected so that the mail shield can scan them. If you are only using telnet then I don’t believe avast would be able to scan that traffic (even if there wasn’t an issue with the port).
we have an MS based application, using CDO.Message class for send emails
when we ran the application in a specific computer, we got an error of “transport … 465”
why 465? we didn´t know
then, we tested with telnet, and got the same error message
we realize taht the problem was not on our application, but in something in the computer
this is the reason we’ve tested with telnet, at a lower level
I want to keep avast scanning outgoing messages
but I need the application send them trough port 25, not 465
But you need to also answer the question - Are you using a secure connection or secure logon ?
Some ISPs (GoDaddy is one I believe) misuse the SMTP port 25 for secure email, avast detects that this is going to be secure and that is why it switches to the secure SMTP port 465.
What is your email program ?
If you have your email program account settings set for SSL/TLS or to use secure logon avast will detect that and change the port.
Can you confirm if your email program account settings is set for SSL/TLS or to use secure logon ?
Try going into the avastUI, Real-Time Shields, Expert Settings, SSL accounts and try changing the Encryption for that account to None and the Port to 25 and see if that sticks.