我正在运行 exim4 作为我的 MTA,它非常适合将电子邮件发送到我的主机名以外的外部电子邮件。
当我通过命令行(sendmail forgedtuts@gmail.com 等)向我的 gmail 发送电子邮件时,它工作正常。
当我向我的网站域(也是服务器的主机名)发送电子邮件时,我假设它只是进行本地传送……这将不起作用,因为我的电子邮件已被另一台服务器(Google Apps)接收。
那么如何在 Exim4 中禁用本地交付?dpkg-reconfigure exim4-config 没有给出任何实际结果。
所以我运行这个命令:
/etc/init.d/apache2 start
Run Code Online (Sandbox Code Playgroud)
它说:
* Starting web server apache2 [ OK ]
Run Code Online (Sandbox Code Playgroud)
但!我的网站仍然没有拉起。和!
service --status-all
[ - ] apache2
Run Code Online (Sandbox Code Playgroud)
什么……?发生了什么事?;(
[Sat May 01 14:45:18 2010] [warn] pid file /var/run/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat May 01 14:45:18 2010] [notice] Apache/2.2.11 (Ubuntu) PHP/5.3.2 configured -- resuming normal operations
[Sat May 01 14:45:18 2010] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
[Sat May 01 14:45:18 2010] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker …
Run Code Online (Sandbox Code Playgroud)