Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm setting up watchdog to monitor my RPi temperature. I would like to have e-mail messages sent out using alias forwarding. But how do I configure the smarthost on Raspbian/xbian?

share|improve this question
Is it different to doing it on any other distro? – Jivings Jan 27 '13 at 10:33
up vote 4 down vote accepted

I found the answer. I'm not sure about Raspbian but xbian version 1.0a4 doesn't have the mail utility installed. I first installed the mail utility as follows:

sudo apt-get install mailutils

Then I ran this command:

dpkg-reconfigure exim4-config

I selected "mail sent by smarthost; no local mail" and configured the SMTP server of my ISP.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.