Bug ID 910777: Sending ASM report via AWS SES failed duo to wrong content type

Last Modified: May 29, 2024

Affected Product(s):
BIG-IP ASM(all modules)

Known Affected Versions:
13.1.0,,,,,,,,, 13.1.1,,,,, 13.1.3,,,,,,, 13.1.4,, 13.1.5,, 14.0.0,,,,,, 14.0.1,, 14.1.0,,,,,, 14.1.2,,,,,,,,, 14.1.3,, 14.1.4,,,,,,, 14.1.5,,,,,, 15.0.0, 15.0.1,,,,, 15.1.0,,,,,, 15.1.1, 15.1.2,, 15.1.3,, 15.1.4,, 15.1.5,, 15.1.6,, 15.1.7, 15.1.8,,, 15.1.9,, 15.1.10,,,, 16.0.0,, 16.0.1,,, 16.1.0, 16.1.1, 16.1.2,,, 16.1.3,,,,,, 16.1.4,,,

Opened: May 21, 2020

Severity: 4-Minor


When you attempt to send an ASM report via AWS SES, the message bounces with the following message: Could not send e-mails: SMTP Error: data not accepted.; Transaction failed: Expected MIME type, got ;; Error code: 554. This occurs because the BIG-IP system is sending out the report message with an empty Content-Type in the multipart MIME, which the AWS mail host cannot process.


Cannot receive ASM reports.


This is encountered in the following scenario: 1. Set up SMTP and ASM schedule report. 2. Click Send Now, and get the error message in GUI. 3. SSH into the BIG-IP system. 4. Add this line under the following snippet: [admin@bigip:Active:Standalone] ~ # chmod 644 /var/ts/dms/script/avrexport/avrmail.php [admin@bigip:Active:Standalone] ~ # vi /var/ts/dms/script/avrexport/avrmail.php if (!$mail_subject) $mail_subject = "BIG-IP Analytics Report"; if (!$mail_body) $mail_body = "Attached to this e-mail is a BIG-IP Analytics Report issued at $mail_time\n\n"; if (!$mail_from) $mail_from = 'BIG-IP Reporter'; if (!$mail_content_type) $mail_content_type = 'text/html'; <<<< Add this line for add text/html into content type. [admin@bigip:Active:Standalone] ~ # chmod 444 /var/ts/dms/script/avrexport/avrmail.php 5. Click Send Now again and it works. Note: To use AWS SES, you must verify your email address first (as a Sender). You can search SES in AWS and verify your email in Email Addresses. AWS sends an email. Click the embedded link after receipt, and then you can use it as the Sender address on the BIG-IP system.



Fix Information


Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips