All posts tagged: sendmail

Use external SMTP server for system mails on Linux

Leave a comment
Howtos / System Administration

To use an external SMTP for all system e-mails, you have to install these: Where msmtp-mta transform the external reference in the sendmail command usable by any application using sendmail. In this way you haven’t to install and configure Postfix since you’ll rely on an external SMTP service. Create the config file for msmtp This is an example based on the popular Gmail by Google: Replace these with the real data from your e-mail account. […]

Apache CentOS 6 cannot send email and Drupal get HTTP request status fails

comments 2
Drupal / Howtos / System Administration

I’m installing a Pressflow 6 on a new machine running CentOS 6. I’m using Apache MPM Worker with FastCGI. Then I get the classical e-mail error: Unable to send e-mail. Please contact the site administrator if the problem persists. Then I try to use sendmail: Where testmail is a file containing these lines: And i get the message. PHP cannot send email through apache! Trying a simple php script to send mail like drupal core […]