I am running raspberry pi and raspbian with a logitech webcamera and the software motion, installed via apt-get install motion.It saves my pictures to a folder on the sd card but in motion.conf I have enabled
Code: Select all
on_picture_save mpack -s "Alert" /home/pi/pictures/%f recipient@gmail.comSince I can send the photos manually via
Code: Select all
mpack -s "Alert" /home/pi/pictures/filename recipient@gmail.com
Observing:
Code: Select all
cat /etc/passwd | grep motion
motion:x:107:110:/home/motion:/bin/falseCode: Select all
sudo usermod -s /bin/bash motionand then rerunning motion does not make any difference, i.e still no email with attachment is sent..
Does anybody have an idea what could be wrong?
regards
tim