Empty SMTP greetings on a Symantec Messaging Gateway produce Command Line Interface errors

book

Article ID: 155780

calendar_today

Updated On:

Products

Messaging Gateway

Issue/Introduction

When either one or both the Inbound  and Outbound SMTP greeting fields are empty on a Symantec Messaging Gateway, any mta-control command that performs a task on a queue is showing an error on the Command Line Interface (CLI).   The greeting configuration is available at this location: Protocols->SMTP->Settings, on the "Settings" page, on the "SMTP" tab, under "SMTP Protocol Settings", in the configuration section called "SMTP Greetings".

 

For example, these are some of the commands that show the exact error mentioned later in this article. They can be executed from the CLI when logged on as the "admin" user.

 

  • mta-control all queue-query
  • mta-control pause-mode status
  • mta-control pause-mode pause-deliver
  • mta-control pause-mode resume-deliver
  • mta-control delivery flush
  • mta-control outbound flush
  • mta-control inbound flush

 

Also, if the Inbound SMTP greeting is present, but the Outbound SMTP greeting is removed or is filled with nothing but one or more spaces, the error appears several times in a row after a command is executed.  If the Outbound SMTP greeting is present but the Inbound SMTP greeting is removed or is filled with nothing but one or more spaces, the error only appears once.

Use of uninitialized value in substitution (s///) at /opt/Symantec/Brightmail/mta/lib/perl/SMS/MTA.pm line 779.

Resolution

Symantec is currently looking into this issue and this article will be updated when more information is available.  There is no need to open a Support case for this issue.  

 

As a work-around, both SMTP greetings should contain some text.