You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old May 10th, 2022, 03:00 PM   #1
plcnewbie26
Member
Spain

plcnewbie26 is offline
 
Join Date: Jan 2019
Location: Office
Posts: 7
Allen Bradley Sending email to Port 2525

hi, I have a PLC that has been running for a few years now, and recently the SMTP was moved to a different server and IP address.

we noticed that the emails are no longer being received but the PLC is still saying that it successfully sent the email.

after investigating, it was discovered that the port # it's using to send the email is port 25. but it was originally configured (or sending) to port 2525. I'm not sure where to change this setting.

anything will help!

Thank you,
  Reply With Quote
Old May 10th, 2022, 03:19 PM   #2
lfe
Member
France

lfe is offline
 
Join Date: Jun 2007
Location: Barcelona
Posts: 692
A very common problem today by which devices such as scanners, PLC, HMI, etc. fail sending email is that they use TLS 1.0 or 1.1 protocols that are considered insecure and are rejected by more and more servers.

If your PLC says that it was sent successfully, it is probably not a port problem since it seems that it was able to connect.

Nor does it mean that it is that SMTP server that rejects the email, it may be that it is rejected by another intermediate server before reaching the recipient.

The solution is to update the firmware of the device so that it uses TLS 1.2 or later
__________________
Suppanel HMI
  Reply With Quote
Old May 10th, 2022, 03:40 PM   #3
plcnewbie26
Member
Spain

plcnewbie26 is offline
 
Join Date: Jan 2019
Location: Office
Posts: 7
Quote:
Originally Posted by lfe View Post
A very common problem today by which devices such as scanners, PLC, HMI, etc. fail sending email is that they use TLS 1.0 or 1.1 protocols that are considered insecure and are rejected by more and more servers.

If your PLC says that it was sent successfully, it is probably not a port problem since it seems that it was able to connect.

Nor does it mean that it is that SMTP server that rejects the email, it may be that it is rejected by another intermediate server before reaching the recipient.

The solution is to update the firmware of the device so that it uses TLS 1.2 or later
do you mean update the SMTP server to use TLS 1.2? or the PLC?
  Reply With Quote
Old May 10th, 2022, 03:48 PM   #4
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is offline
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 16,513
This is a great question.

What exact model of A-B controller is sending the e-mail ? Please provide as much detail as you can about the configuration and program.
  Reply With Quote
Old May 10th, 2022, 03:50 PM   #5
lfe
Member
France

lfe is offline
 
Join Date: Jun 2007
Location: Barcelona
Posts: 692
Quote:
Originally Posted by plcnewbie26 View Post
do you mean update the SMTP server to use TLS 1.2? or the PLC?
The PLC
__________________
Suppanel HMI
  Reply With Quote
Old May 10th, 2022, 04:03 PM   #6
plcnewbie26
Member
Spain

plcnewbie26 is offline
 
Join Date: Jan 2019
Location: Office
Posts: 7
Quote:
Originally Posted by lfe View Post
The PLC
I see. im guessing the only way to do this is via firmware updates?
  Reply With Quote
Old May 10th, 2022, 04:19 PM   #7
plcnewbie26
Member
Spain

plcnewbie26 is offline
 
Join Date: Jan 2019
Location: Office
Posts: 7
Quote:
Originally Posted by Ken Roach View Post
This is a great question.

What exact model of A-B controller is sending the e-mail ? Please provide as much detail as you can about the configuration and program.
the controller is a CompacLogix L35E. firmware 20.

I did receive information that the smtp server is using TLS 1.2 now when it was 1.1 before
  Reply With Quote
Old May 10th, 2022, 04:27 PM   #8
lfe
Member
France

lfe is offline
 
Join Date: Jun 2007
Location: Barcelona
Posts: 692
Quote:
Originally Posted by plcnewbie26 View Post
the controller is a CompacLogix L35E. firmware 20.

I did receive information that the smtp server is using TLS 1.2 now when it was 1.1 before
What defines the version of TLS is the sender, in your case the PLC

That rather sounds like the SMTP server used to accept TLS 1.1 and now it only accepts 1.2
__________________
Suppanel HMI
  Reply With Quote
Old May 10th, 2022, 04:31 PM   #9
lfe
Member
France

lfe is offline
 
Join Date: Jun 2007
Location: Barcelona
Posts: 692
Quote:
Originally Posted by plcnewbie26 View Post
I see. im guessing the only way to do this is via firmware updates?
Or in the PLC configuration, if it allows choosing the TLS version
__________________
Suppanel HMI
  Reply With Quote
Old May 10th, 2022, 05:04 PM   #10
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is offline
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 16,513
Thanks !

The 1769-L35E had a pretty limited e-mail feature, and it's documented in the User Manual (publication 1769-UM011) and in the RA Knowledgebase.

To my knowledge, the "EmailConfigstring" string that is used in those examples should contain only the hostname of the email server, or its IP address. There is no way that I know about to designate a TCP port number other than 25.

For better or for worse, the e-mail feature in those controllers did not support authentication. You may need a specially-configured old-stuff-only e-mail server, proxy, or relay.
  Reply With Quote
Old May 13th, 2022, 07:43 PM   #11
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is offline
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 16,513
On second thought: there at least three e-mail sample code releases in that era, including one described in Knowledgebase document QA26900 that includes a port number on the end of the SMTP address string and allowed basic authentication (though not encryption).

If you can post some details about the code that's running in the 1769-L35E, it might help folks narrow down which example you're using.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Powerflex 753 - Disable Manual Operation ASF LIVE PLC Questions And Answers 13 October 22nd, 2019 11:41 PM
Rs232 to SLC 5/03 Problem YorkMa LIVE PLC Questions And Answers 17 June 2nd, 2017 01:37 PM
allen bradley coms port jimmydbkr LIVE PLC Questions And Answers 2 February 19th, 2017 12:08 AM
Serial port stops sending data... nikhilec2007 LIVE PLC Questions And Answers 0 April 25th, 2016 05:48 AM
Sending an email with ML 1400 Sudds LIVE PLC Questions And Answers 3 October 6th, 2011 06:50 PM


All times are GMT -4. The time now is 03:40 PM.


.