Introduction
本文描述如何分析在Cisco电子邮件安全工具(ESA)上的断断续续的邮件发送问题。
Prerequisites
Requirements
Cisco 建议您了解以下主题:
Components Used
本文的信息根据AsyncOS的所有版本。
The information in this document was created from the devices in a specific lab environment.All of the devices used in this document started with a cleared (default) configuration.If your network is live, make sure that you understand the potential impact of any command.
如何分析在ESA的断断续续的邮件发送问题?
您能使用射入调试登录顺序跟踪在ESA和入站服务器连接之间的整个简单邮件传输协议(SMTP)会话。在射入调试内的每条线路记录分级显示在SMTP会话时被发送并且被接受的数据。
完成射入调试记录与GUI的这些步骤为了enable (event) :
- 连接对在GUI的系统管理>日志订阅。
- 选择添加日志订阅….
- 在日志类型字段,请选择射入调试日志并且输入适当的数据。
这是一些重要考虑,当您输入射入调试日志data&colon时;
- CIDR地址,例如10.1.1.0/24,允许。
- IP地址范围,例如10.1.1.10-20,允许。
- IP子网,例如10.2.3,允许。
- 主机名和通配符,例如crm.example.com,允许(但是不是example.com)。
- 应该表示通配符作为.example.com (没有星号)。
- 当您跟踪一个入站电子邮件时,主机名应该匹配发送方主机。
- 当您跟踪一个outbound电子邮件时,主机名应该匹配内部主机名字。
- SMTP会话的数量应该在一个和25之间。
完成射入调试记录与CLI的这些步骤为了enable (event) :
- 输入logconfig > new命令CLI。
- 选择射入调试日志。
- 输入一个名字对于日志,例如debugging_example。
- 输入主机名-,您要记录射入调试信息IP地址的IP地址或者块,例如mail1.example.com。
- 输入的SMTP会话的数量您要为此域记录。保证值在一个和25之间。
- 输入您要使用为了检索日志的方法,例如FTP轮询。
- 输入文件名。如果希望,您能使用默认文件名。
- 选择依然存在的默认值。
当ESA接受从服务器时的邮件此示例显示射入调试日志。
Note:射入调试日志和域调试日志类似于mail_logs,因此您能使用grep和尾标命令。
Sent to '10.251.21.203': '220 ironportappliance ESMTP\r\n'
Rcvd from '10.251.21.203': 'EHLO outgoing.example.com\r\n'
Sent to '10.251.21.203': '250-nibbles.run\r\n250-8BITMIME\r\n250
SIZE 104857600\r\n'
Rcvd from '10.251.21.203': 'MAIL FROM:<jsmith@example.com>\r\n'
Sent to '10.251.21.203': '250 sender <jsmith@example.com> ok\r\n'
Rcvd from '10.251.21.203': 'RCPT TO:<test@example.org>\r\n'
Sent to '10.251.21.203': '250 recipient <test@example.org>ok\r\n'
Rcvd from '10.251.21.203': 'DATA\r\n'
Sent to '10.251.21.203': '354 go ahead\r\n'
Rcvd from '10.251.21.203': 'To: "test@example.org" <test@example.org>
\r\nSubject: 12:14pm - test\r\nFrom: Hotel_Users <jsmith@example.com>
\r\nContent-Type: text/plain; format=flowed; delsp=yes;
charset=iso-8859-15\r\nMIME-Version: 1.0\r\nContent-Transfer-Encoding:
7bit\r\nDate: Tue, 09 Jan 2007 12:14:35 -0800\r\nMessage-ID:
<op.tlwk6lvgwomlp4@outgoing.example.com>\r\nUser-Agent: Opera Mail/9.10
(Win32)\r\n\r\ntest\r\n'
Rcvd from '10.251.21.203': '\r\n.\r\n'
Sent to '10.251.21.203': '250 ok: Message 270 accepted\r\n'
Rcvd from '10.251.21.203': 'QUIT\r\n'
Sent to '10.251.21.203': '221 nibbles.run\r\n'