Drupal email problems
In most of the time, there shouldn't be any mail problem with Drupal after the installation cause the installation process will configure the email automatically.
Today I 'm setting up another drupal site in another web hosting company, strange things happen after the drupal installation. although I have set the privilige that visitor could do self registration providing email address, I could not receive any mail doing my own registration testing. and there 's no errors at all in the log.
I do some research and found that someone had the same problems and solve the problem by switching to another web hosting company. Of couse this is not an solution at all.
And another solution provided by someone is more considerable:
"under mail server -> configuration -> tweak settings, there is an option to turn on or off : Prevent the user 'nobody' from sending out mail to remote addresses (PHP and CGI scripts generally run as nobody if you are not using PHPSuexec and Suexec respectively.)"
But I search my Cpanel and couldn't find this option anywhere.
So I turn to the web hosting company support for help and here 's their answer.
"Due to security reasons the mails from nobody users are not allowed to send emails from the server, please use smtp authentication scripts to overcome this issues."
It seems that some web hosting company does not allow the nobody user to send mail, I think there might be a lot of such hosting company out there and someone must have to face this situation.
So it seems the only availble solution is to use SMTP with drupal and fortunately there has already one drupal module SMTP Authentication Support doing this!
Setting up the SMTP module of drupal is tricky to do and I will write another article for it.
