我正在Mac OS X 10.5 Leopard服务器文件服务器上configurationDrobo,并试图configuration电子邮件通知。 不幸的是,当这样做时,我们的主邮件服务器和服务器上的本地邮件服务在尝试发送testing消息时会抛出“502 5.5.2错误:command not recognized”错误。
我们的主邮件服务器和文件服务器上的本地邮件服务都是Mac OS X 10.5 Leopard Server,基于Postfix的也是如此。 主邮件服务器设置为允许从本地networking进行中继,本地邮件服务设置为仅允许从127.0.0.0/8及其IP地址中继并通过主邮件服务器进行中继。 到目前为止,这一切都运行良好。
Drobo Dashboard的电子邮件设置不能通过主邮件服务器或本地主机发送没有authentication没有得到上述错误,虽然我们在服务器上的所有其他脚本继续正常发送电子邮件。
我在文件服务器上的/etc/postfix/main.cf设置了debug_peer_level = 3 & debug_peer_list = 127.0.0.1 。 当试图从Drobo Dashboard发送testing消息时,我在/var/log/mail.log得到以下debugging信息:
May 10 13:32:58 eeg postfix/smtpd[7320]: connect from localhost[127.0.0.1] May 10 13:32:58 eeg postfix/smtpd[7320]: match_hostname: localhost ~? 127.0.0.0/8 May 10 13:32:58 eeg postfix/smtpd[7320]: match_hostaddr: 127.0.0.1 ~? 127.0.0.0/8 May 10 13:32:58 eeg postfix/smtpd[7320]: > localhost[127.0.0.1]: 220 host.domain.tld ESMTP Postfix May 10 13:32:58 eeg postfix/smtpd[7320]: watchdog_pat: 0x109998 May 10 13:32:58 eeg postfix/smtpd[7320]: vstream_fflush_some: fd 9 flush 36 May 10 13:32:58 eeg postfix/smtpd[7320]: vstream_buf_get_ready: fd 9 got 23 May 10 13:32:58 eeg postfix/smtpd[7320]: < localhost[127.0.0.1]: EHLO host.domain.tld May 10 13:32:58 eeg postfix/smtpd[7320]: > localhost[127.0.0.1]: 250-host.domain.tld May 10 13:32:58 eeg postfix/smtpd[7320]: > localhost[127.0.0.1]: 250-PIPELINING May 10 13:32:58 eeg postfix/smtpd[7320]: > localhost[127.0.0.1]: 250-SIZE May 10 13:32:58 eeg postfix/smtpd[7320]: > localhost[127.0.0.1]: 250-VRFY May 10 13:32:58 eeg postfix/smtpd[7320]: match_list_match: localhost: no match May 10 13:32:58 eeg postfix/smtpd[7320]: match_list_match: 127.0.0.1: no match May 10 13:32:58 eeg postfix/smtpd[7320]: > localhost[127.0.0.1]: 250-ETRN May 10 13:32:58 eeg postfix/smtpd[7320]: > localhost[127.0.0.1]: 250-ENHANCEDSTATUSCODES May 10 13:32:58 eeg postfix/smtpd[7320]: > localhost[127.0.0.1]: 250-8BITMIME May 10 13:32:58 eeg postfix/smtpd[7320]: > localhost[127.0.0.1]: 250 DSN May 10 13:32:58 eeg postfix/smtpd[7320]: watchdog_pat: 0x109998 May 10 13:32:58 eeg postfix/smtpd[7320]: vstream_fflush_some: fd 9 flush 116 May 10 13:32:58 eeg postfix/smtpd[7320]: vstream_buf_get_ready: fd 9 got 10 May 10 13:32:58 eeg postfix/smtpd[7320]: < localhost[127.0.0.1]: STARTTLS May 10 13:32:58 eeg postfix/smtpd[7320]: > localhost[127.0.0.1]: 502 5.5.1 Error: command not implemented May 10 13:32:58 eeg postfix/smtpd[7320]: watchdog_pat: 0x109998 May 10 13:32:58 eeg postfix/smtpd[7320]: vstream_fflush_some: fd 9 flush 42
是不是实施的“STARTTLS”命令? 任何想法为什么这两个邮件服务器都失败,而其他软件没有问题?
是的,这是SMTP服务器反对的STARTTLS。 它在EHLO响应中不公布STARTTLS的事实很好地表明它不支持它。
这表明你需要告诉Drobo不要尝试使用SSL安全的SMTP连接(但是如果你没有使用authentication,我不会认为你会的)。 如果有“使用ssl”checkbox,请尝试解除它。
这听起来像一个破损的SMTP客户端实现(尤其是考虑到Drobo支持的响应)。