Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

AP9630 SMTP Used to work with firmware 6.2.0, does not with 6.5.6 when connecting to EXIM4

APC UPS Data Center & Enterprise Solutions Forum

Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • AP9630 SMTP Used to work with firmware 6.2.0, does not with 6.5.6 when connecting to EXIM4
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
BillP
Administrator BillP Administrator
5060
voidstar_apc
Janeway voidstar_apc
196
Erasmus_apc
Sisko Erasmus_apc
112
Teken
Spock Teken
109
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to APC UPS Data Center & Enterprise Solutions Forum
Solved
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 02:01 AM . Last Modified: ‎2024-03-11 12:17 AM

0 Likes
11
1177
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 02:01 AM . Last Modified: ‎2024-03-11 12:17 AM

AP9630 SMTP Used to work with firmware 6.2.0, does not with 6.5.6 when connecting to EXIM4

I have an SMT1000 with firmware "UPS 09.2 (ID18)" and an AP9630 HW Revision 08 running firmware 6.5.6. I have a local SMTP relay to Amazon SES via EXIM 4. The configuration is pretty straightforward (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-exim.html).

When I first got the card it worked perfectly with my local relay. The burn-in test says it shipped with firmware 6.2.0. When I upgraded to 6.5.6 SMTP notifications no longer function. The test result in the browser says "Test E-mail sent successfully" and the last server response is 221 but no email is ever received.

DNS is set correctly. I've tried using the FQDN and IP address of the SMTP server. Neither work. There's no auth and no SSL since it's an internal server.

This setup works perfectly with all the services on my network. In looking at the EXIM 4 logs, when I send an SMTP message with the AP9630 "Test" function, this is what comes back from AWS SES: SMTP error from remote mail server after end of data: 554 Transaction failed: Unknown encoding

It looks like there is a 2nd attempt which also gets rejected with a different error message: SMTP error from remote mail server after MAIL FROM:<> SIZE=3849: 501 Invalid MAIL FROM address provided (and indeed the from address appears blank in the logs).

Any thoughts?

Labels
  • Labels:
  • UPS Management Devices & PowerChute Software
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 02:02 AM . Last Modified: ‎2024-03-11 12:17 AM

0 Likes
0
1177
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 02:02 AM . Last Modified: ‎2024-03-11 12:17 AM

Thanks for the ballpark. That good because I'm not going to be able to do anymore work on this for a while. Also I have a work around.

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 11
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 02:01 AM . Last Modified: ‎2024-03-11 12:17 AM

0 Likes
0
1177
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 02:01 AM . Last Modified: ‎2024-03-11 12:17 AM

Hi Dan,

There are a lot of changes between 6.2.0 and 6.5.6 so we'll have to do a little investigation here.

Is it possible to get a packet capture between the NMC and the mail relay? 

And correct me if I am wrong but the communication path is NMC->EXIM4 Mail Relay->Amazon SES ? 

The only thing that was done was upgrading the NMC? What is going through my mind is how do we know the communication between EXIM4 mail relay and Amazon SES is OK? I think you're saying it is because you don't have problems with any other items using this service, right?

We'd normally check into what is going on with a packet capture and ideally, if you can get a packet capture on the older firmware and newer firmware where it fails to compare. (I can provide the older firmware if you're willing to downgrade and check). We can also try a few other point revisions to see if we can see when it fails. I am not sure if you'll be able to take time to do this though but it'd be helpful for us to see if there is something we can change to fix this.

My only concern is if we only get a packet capture between NMC->EXIM4 Mail Relay, assuming you can do it, I'd hope we also can capture the data specific to this SMTP convo between EXIM4 and Amazon SES to see what is happening on that leg of the communication path.

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 02:01 AM . Last Modified: ‎2024-03-11 12:17 AM

0 Likes
0
1177
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 02:01 AM . Last Modified: ‎2024-03-11 12:17 AM

  • A packet capture is easy. I already created one with tcpdump. Just give me someplace to upload it.
  • The communication path you cited is correct
  • Yes, the only change made was upgrading the firmware
  • I configured the relay with Amazon SES using Amazon's recommended configuration. It has worked fine for years. Getting a packet capture of this conversation might be tricky as it's encrypted but I'm sure I can get some more detail if desired using EXIM's logging.
  • Sure I can downgrade firmware if you have a process to do that and can provide binaries. Downgrades are typically dicey. I'm going to assume I backup my configuration first, factory default it, downgrade the firmware and factory default it again. Or something like that.
Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 02:01 AM . Last Modified: ‎2024-03-11 12:17 AM

0 Likes
0
1177
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 02:01 AM . Last Modified: ‎2024-03-11 12:17 AM

In looking at the dump of the 6.5.6 firmware SMTP communication, I see this:

Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding:

The 2nd field has no value, which is exactly what AWS SES is complaining about.

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 02:01 AM . Last Modified: ‎2024-03-11 12:17 AM

0 Likes
0
1177
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 02:01 AM . Last Modified: ‎2024-03-11 12:17 AM

Thanks Dan.

We have had a problem several years ago that I recall with Content-Transfer-Encoding not populating correctly causing some certain spam filters to reject it whereas other tools and email clients had no issue. I will see if my colleague could check to see if is getting populated or not at the code level in our modern 6.5.6 firmware and the 6.6.4 that is due to come out within a few days. Might need a few days on that but perhaps this problem has reappeared and is a problem in your setup too now. Do other devices have this populated that you're using and are working correctly?

Regarding downgrade, it shouldn't be too difficult or disruptive as you're staying within 6.X.X firmware revs (6.X to 5.X would be more concerning). You can back up your config.ini if you'd like prior but your settings should still stay and you won't see any major problems or have to reset your card or IP address. Settings that aren't available on the older rev may just go away and I am not 100% sure if they'll stick or get defaulted again when you upgrade. So, having the config.ini will be good so you could re-upload it when you re-upgrade to restore the "new" or different settings 6.5.6 offers.

If you do have the time and access, you can indeed downgrade, reset NMC to defaults, even upload your config.ini from 6.5.6 (some settings may not apply if they aren't present on the old firmware), then proceed to test. From there, reupgrade, reset to defaults, re-apply config.ini. This will ensure integrity of the system but to tell you the honest truth, I never do this type of thing between these point versions embarassed 

Try this link for the older firmware: ftp://ftp.apc.com/restricted/hardware/nmcard/firmware/sumx/620/apc_hw05_aos620_sumx620_bootmon108.ex...

If it prompts for a password, use jupiter for username and Pl@n3t#5 for password. I do know 6.2.0 has a bug with TLS (hence why we made 6.2.1) so if you use HTTPS for web access, it may not work on a modern browser since years later, now they've blocked SSL and may error out.

I assumed you were using a Smart-UPS based on 6.2.0 but let me know if you have another device/UPS type - Symmetra, etc.

If you have any questions or need clarification before you get started, let me know. But I guess the first thing you could check is if the Content-Transfer-Encoding is populating on the older rev?

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 02:01 AM . Last Modified: ‎2024-03-11 12:17 AM

0 Likes
0
1177
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 02:01 AM . Last Modified: ‎2024-03-11 12:17 AM

Also, are you willing to share the dump or log files you took for reference with any info we should know? You can email them here which goes direct to my Box storage: Email_I.4ygpieocp6gtkedj@u.box.com 

If you have an alternate method you'd like to share via, let me know.

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 02:02 AM . Last Modified: ‎2024-03-11 12:17 AM

0 Likes
0
1177
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 02:02 AM . Last Modified: ‎2024-03-11 12:17 AM

Moving between different firmware revisions was relatively painless. It was a simple process of downloading each one, letting the wizard do the upgrade or downgrade over the NMC, re-run tcpdump and send a test message. Below are the results. Looks like the problem started in 6.5.0. Since 6.4.6 works just fine I will run that until an update is available. Thanks.

6.2.0 (Works)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

6.4.6 (Works)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

6.5.0 (FAIL)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding:

6.5.6 (FAIL)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding:

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 02:02 AM . Last Modified: ‎2024-03-11 12:17 AM

0 Likes
0
1177
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 02:02 AM . Last Modified: ‎2024-03-11 12:17 AM

Hi Dan,

Thanks for the great info and taking the time to test.

Can you send the pcap from 6.4.6 where it is working and shows the Content_Transfer_Encoding field populated properly to the Box folder? I want to show development and get a bug logged with all of your findings. They need to see what is populating there in Hex.

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 02:02 AM . Last Modified: ‎2024-03-11 12:17 AM

0 Likes
0
1177
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 02:02 AM . Last Modified: ‎2024-03-11 12:17 AM

OK, I got the files, thanks again. I'll see if we can get this fixed ASAP, assuming it is just that field that needs to be fixed, but even if we do, you won't see it in the release coming tomorrow of course (6.6.4), but the release after that. 

To make sure that it is fixed with population of Content-Transfer-Encoding, are you able to test a beta assuming we could make one at some point?

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 02:02 AM . Last Modified: ‎2024-03-11 12:17 AM

0 Likes
0
1177
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 02:02 AM . Last Modified: ‎2024-03-11 12:17 AM

Yes I can test a beta. I have a second set of identical hardware with the same problem.

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 02:02 AM . Last Modified: ‎2024-03-11 12:17 AM

0 Likes
0
1177
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 02:02 AM . Last Modified: ‎2024-03-11 12:17 AM

OK, I won't get too ahead of myself but I will reach out when/if I can send something. I think it'd be more like a few weeks till I'd have something, just to set your expectations.

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 02:02 AM . Last Modified: ‎2024-03-11 12:17 AM

0 Likes
0
1178
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-30 02:02 AM . Last Modified: ‎2024-03-11 12:17 AM

Thanks for the ballpark. That good because I'm not going to be able to do anymore work on this for a while. Also I have a work around.

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of