I am running a php-based forum (MyBB) which requires an email activation, but I am receiving emails from users (and have tested it myself) that the activation emails aren't being sent out. The forum is transferred from another host, and it worked fine there. MyBB is using the PHP mail function to send out the activation email, and that's the same setting as before. Existing users can log in just fine.
I have also fresh installs tested several CMSes (such as Drupal, WordPress, Joomla, etc.), and none of them send it out either. I tested the CMSes on a different domain from the one that was transferred.
The transferred site used to be on the same server as it's Postfix server (which was transferred to a different machine, NOT to my Linode, that's the decision of the project leader for the site), so that could explain why it quit sending. The domain I'm testing the CMSes on is configured for Google Apps. In order to use the SMTP server for the transferred site, I would need to use a self signed certificate, and AFAIK Google Apps would require Google's certificate be added. Since I'm not familiar with configuring PHP, and since my experience with mail servers is fairly minimal, I have no idea how I would do this.
(BTW, I already tried point MyBB to the SMTP server it's supposed to use, and since it doesn't have the cert, it can't connect since the cert is required to connect to SMTP on the mail server).
EDIT: I've installed php and required modules from the dotdeb repositories:
Code:
root@li283-45:~# dpkg -l php*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=================================-=================================-==================================================================================
ii php-auth-sasl 1.0.4-1 Abstraction of various SASL mechanism responses
ii php-mail 1.2.0-2 PHP PEAR module for sending email
ii php-mail-mime 1.8.0-2 PHP PEAR module for creating MIME messages
ii php-mail-mimedecode 1.5.0-3 PHP PEAR module to decode MIME messages
ii php-mime-type 1.2.0-1 Utility class for dealing with MIME types
ii php-net-imap 1:1.1.0-1 Provides an implementation of the IMAP protocol
ii php-net-smtp 1.4.2-3 PHP PEAR module implementing SMTP protocol
ii php-net-socket 1.0.9-2 PHP PEAR Network Socket Interface module
ii php-pear 5.3.8-1~dotdeb.2 PEAR - PHP Extension and Application Repository
un php4-pear <none> (no description available)
ii php5 5.3.8-1~dotdeb.2 server-side, HTML-embedded scripting language (metapackage)
ii php5-cgi 5.3.8-1~dotdeb.2 server-side, HTML-embedded scripting language (CGI binary)
ii php5-cli 5.3.8-1~dotdeb.2 command-line interpreter for the php5 scripting language
ii php5-common 5.3.8-1~dotdeb.2 Common files for packages built from the php5 source
ii php5-curl 5.3.8-1~dotdeb.2 CURL module for php5
un php5-dev <none> (no description available)
ii php5-fpm 5.3.8-1~dotdeb.2 server-side, HTML-embedded scripting language (FPM-CGI binary)
ii php5-gd 5.3.8-1~dotdeb.2 GD module for php5
ii php5-gmp 5.3.8-1~dotdeb.2 GMP module for php5
ii php5-http 5.3.8-1~dotdeb.2 http module for php5
ii php5-imagick 5.3.8-1~dotdeb.2 imagick module for php5
ii php5-imap 5.3.8-1~dotdeb.2 IMAP module for php5
un php5-json <none> (no description available)
un php5-mhash <none> (no description available)
ii php5-mysql 5.3.8-1~dotdeb.2 MySQL module for php5
un php5-mysqli <none> (no description available)
ii php5-suhosin 5.3.8-1~dotdeb.2 suhosin module for php5
un phpapi-20090626+lfs <none> (no description available
In case it matters, the site runs nginx 1.0.6 and php-fpm from dotdeb, and since all php-based software I've tried loads fine, I'm fairly certain my nginx/php-fpm config is fine. Just in case, my fastcgi_params (included in each vhost for the php location directive, with all settings specified only in fastcgi_params):
Code:
root@li283-45:~# cat /etc/nginx/fastcgi_params
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
# PHP only, required if PHP was built with --enable-force-cgi-redirect
#fastcgi_param REDIRECT_STATUS 200;