Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.