I'm trying to configure a NetBotz appliance to deliver email through our Symantec Brightmail Gateway. The NetBotz is running OS version 3.3.0. When configuring the email server in Advanced View, and sending a test message, I receive an error that the message could not be delivered and to check the appliance log. I increased the logging level for the test message CGI script and received the following output:
Feb 16 12:58:48 probe1 daemon.info nbTestEmailCGI: READ :220 xxxsbg.domain.com ESMTP Symantec Brightmail Gateway
Feb 16 12:58:48 probe1 daemon.info nbTestEmailCGI: WRITE:EHLO probe1
Feb 16 12:58:48 probe1 daemon.info nbTestEmailCGI: READ :250-xxxxsbg.domain.com says EHLO to a.a.a.a:2943
Feb 16 12:58:48 probe1 daemon.info nbTestEmailCGI: READ :250-ENHANCEDSTATUSCODES
Feb 16 12:58:48 probe1 daemon.info nbTestEmailCGI: READ :250-PIPELINING
Feb 16 12:58:48 probe1 daemon.info nbTestEmailCGI: READ :250 8BITMIME
Feb 16 12:58:48 probe1 daemon.info nbTestEmailCGI: WRITE:MAIL FROM:<
probe1@domain.com>
Feb 16 12:58:48 probe1 daemon.info nbTestEmailCGI: READ :250 MAIL FROM accepted
Feb 16 12:58:48 probe1 daemon.info nbTestEmailCGI: WRITE:QUIT
Feb 16 12:58:48 probe1 daemon.info nbTestEmailCGI: READ :221 xxxxsbg.domain.com closing connection
A packet capture has confirmed what the log is telling me: The mail gateway is responding with "250 MAIL FROM accepted" and the NetBotz then sends a QUIT command to terminate the connection.
This gets more interesting when I send a message directly to our Microsoft Exchange 2007 server.
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :220 xxxxxxx.domain.com Microsoft ESMTP MAIL Service ready at Wed, 16 Feb 2011 11:58:59 -0800
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: WRITE:EHLO probe1
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250-xxxxxxx.domain.com Hello
http://b.b.b.b
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250-SIZE
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250-PIPELINING
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250-DSN
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250-ENHANCEDSTATUSCODES
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250-STARTTLS
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250-X-ANONYMOUSTLS
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250-AUTH NTLM
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250-X-EXPS GSSAPI NTLM
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250-8BITMIME
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250-BINARYMIME
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250-CHUNKING
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250-XEXCH50
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250 XRDST
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: WRITE:MAIL FROM:<
probe1@domain.com>
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250 2.1.0 Sender OK
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: WRITE:RCPT TO:<
first.last@domain.com>
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: WRITE:DATA
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :250 2.1.5 Recipient OK
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: READ :354 Start mail input; end with <CRLF>.<CRLF>
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: WRITE:Subject: NetBotz Test E-mail
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: WRITE:From:
probe1@domain.com
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: WRITE:To:
first.last@domain.com
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: WRITE:MIME-Version: 1.0
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: WRITE:Content-Type: text/plain; charset=UTF-8
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: WRITE:Content-Transfer-Encoding: 8bit
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: WRITE:Date: Wed, 16 Feb 2011 12:59:00 -0700
Feb 16 12:59:00 probe1 daemon.info nbTestEmailCGI: WRITE:Message-Id: <1297886340.12349@probe1>
I then receive the message normally.
What this is telling me is that the NetBotz appliance doesn't like the response from the mail server to its "MAIL FROM" command. The responses are:
Brightmail Gateway:
250 MAIL FROM accepted
Exchange Server:
250 2.1.0 Sender OK
My theory is that the NetBotz gateway is expecting an enhanced status code beyond the simple 250. Is there any way to modify this behaviour? I could investigate whether or not the Brightmail Gateway can send enhanced status codes, but I would prefer to reconfigure the NetBotz device as no other devices connecting to the gateway experience this problem. Also, I could send directly to the Exchange server, but I would prefer to route all my SMTP traffic through my mail gateway.
Any advice or guidance would be appreciated.
Thank you in advance,