CentOS 5上的sendmail问题

我使用Plesk 10.1.1(64位)在CentOS 5上运行服务器。 最近对系统的唯一更改是升级到Plesk。 我最近在做群发邮件时遇到了很多问题。

当我用简单的脚本使用php邮件function运行testing脚本时,需要5秒钟完成(发送一封邮件)。

当我testingsendmail

strace sendmail -t [email protected] < test.msg 

暂停似乎发生在wait4命令上。

 write(4, "Date: 16 Mar 2011 00:11:57 +0000"..., 190) = 190 close(4) = 0 write(6, "[email protected]"..., 62) = 62 close(6) = 0 wait4(25648, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 25648 --- SIGCHLD (Child exited) @ 0 (0) --- exit_group(0) = ? 

我对服务器的知识是相当有限的,有人可以指出问题可能在哪里?

邮件标题是

 Delivered-To: [email protected] Received: by 10.204.23.201 with SMTP id s9cs151609bkb; Tue, 15 Mar 2011 17:08:51 -0700 (PDT) Received: by 10.216.25.210 with SMTP id z60mr4210560wez.104.1300234130914; Tue, 15 Mar 2011 17:08:50 -0700 (PDT) Return-Path: <[email protected]> Received: from s15321728.onlinehome-server.info (s15321728.onlinehome-server.info [87.106.200.40]) by mx.google.com with ESMTPS id m29si630437wej.135.2011.03.15.17.08.49 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Mar 2011 17:08:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of [email protected] designates 87.106.200.40 as permitted sender) client-ip=87.106.200.40; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of [email protected] designates 87.106.200.40 as permitted sender) [email protected] Received: (qmail 23890 invoked by uid 0); 16 Mar 2011 00:08:42 +0000 Date: 16 Mar 2011 00:08:42 +0000 Message-ID: <[email protected]> From: [email protected] 

/ etc / hosts的内容是

 127.0.0.1 s15321728.onlinehome-server.info s15321728 localhost localhost.localdomain 

从/ etc / hosts中的127.0.0.1行删除主机名(s15321728.onlinehome-server.info)