我有一台 CentOS 5.6 虚拟机,直到两天前才能够从我的 PHP 应用程序发送电子邮件。
我试图在我的 sendmail 文件中的某处查找 SMTP 服务器配置详细信息,但找不到它。
难道不应该有一些引用 SMTP 服务器的东西吗?
这是我迄今为止最接近的:
[root@crmpicco mail]# sendmail -d0.1 -bv
Version 8.13.8
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS
TCPWRAPPERS USERDB USE_LDAP_INIT
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = localhost
(canonical domain name) $j = localhost.localdomain
(subdomain name) $m = localdomain
(node name) $k = dev53.localdomain
========================================================