Tuesday, July 1, 2014

Emails Displaying as www-data for Google Apps for Education

Recently I was working with Google Apps for Education and was transitioning an old PHP web application to deliver email using Google's servers. When the mail was being delivered, the name displayed was www-data. In order to change this I had to edit my sendmail_path in the php.ini file which was located at /etc/php5/apache2/php.ini
sendmail_path = '/usr/sbin/sendmail -t -i -fnoreply@joshwesley.com -Fnoreply'
Once the sendmail path was modified a quick reboot of apache was done and emails delivered with the proper name, not www-data, in the Google Apps for Education environment.

5 comments:

  1. class, did not know that this can be done! Now my problem is solved! Email displayed correctly

    ReplyDelete
  2. Such changes of the files require some operations. This is a rather lengthy process. However, each user will be able to evaluate these changes.

    ReplyDelete
  3. New technical capabilities make it possible to make the learning process more informative and interesting.

    ReplyDelete
  4. Thanks for the provided update! Google Apps for Education are a wonderful way to learn new things with the speed of the wind.

    ReplyDelete
  5. The using of the other servers to gain an access to e-mail can have other advantages. The users choose the most suitable option.

    ReplyDelete