Doesn't need a mail server to be installed?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
aiwata55's picture

Hi all,

I am new to Ubuntu, and have a question how to set up a Drupal on Ubuntu.

I have installed Apache, MySQL, PHP 5, phpmyadmin, etc, and they work fine. But one problem is left. Drupal warns me that there is no mail server working, when I finish setting up a new site with Drupal.

However, some say that installing a mail server is unnecessary, because Ubuntu sends e-mails out of the box. (http://groups.drupal.org/node/22401#comment-77421)

Is this true? If so, how can I take advantage of this feature?

Comments

Perhaps solved

aiwata55's picture

I asked the same question in #ubuntu chat room on freenode, and got an advice like the following:
- Drupal works just fine even if there is no mail server running.
- But, if you want to use the mail handling capability of Drupal (like Contact module, or Simplenews module, to list a few), then you need a mail server.

At this moment, I am satisfied with the advice, and am going to set up a Postfix or sendmail.

But still I am concerned with opening new port(s), if there is another way. If you have any suggestions, please let me know! I am still looking forward to inputs.


Aki Iwata
FOREST & trees

Exim

Yorgg's picture

I have heard that Exim is the default mail server for drupal but I may be wrong.
I found easier to tail the emails when I forget the password available offline in /var/mail

Best Wishes,
Jorge

I use postfix for Drupal

nenne's picture

I use postfix for Drupal sites and other webservices because its easy to install and setup.

It also works very good. :)

Easy mail server

juan_g's picture

Another possibility is Citadel, much easier than the traditional Postfix, Exim, etc.

Or SMTP module

juan_g's picture

Or you can use Drupal's SMTP module to send email through any external SMTP server, such as the one you use in your personal email client configuration (for example in Thunderbird, etc.).

uninstall phpmyadmin

Patrick_McMahon's picture

If your server is open to the world you should uninstall phpmyadmin. By checking my server logs it is often the case bots will check your server for phpmyadmin and if so will attack your server at that point. phpmyadmin should only be used if your running on your local computer and has no open ports to the web. I don't have phpmyadmin installed on my server so when the bots target my server for this they walk away unrewarded.